Codota Logo
Status.getUri
Code IndexAdd Codota to your IDE (free)

How to use
getUri
method
in
org.restlet.data.Status

Best Java code snippets using org.restlet.data.Status.getUri (Showing top 6 results out of 315)

  • Common ways to obtain Status
private void myMethod () {
Status s =
  • Codota Iconnew Status(code)
  • Codota IconClientCall clientCall;clientCall.sendRequest(request)
  • Codota IconString reasonPhrase;String description;String uri;new Status(code, reasonPhrase, description, uri)
  • Smart code suggestions by Codota
}
origin: org.restlet/org.restlet

/**
 * Constructor.
 * 
 * @param status
 *            The status to copy.
 * @param throwable
 *            The related error or exception.
 */
public Status(final Status status, final Throwable throwable) {
  this(status.getCode(), throwable, status.getName(),
      (throwable == null) ? null : throwable.getMessage(), status
          .getUri());
}
origin: org.restlet/org.restlet

/**
 * Constructor.
 * 
 * @param status
 *            The status to copy.
 * @param description
 *            The description to associate.
 */
public Status(final Status status, final String description) {
  this(status.getCode(), status.getName(), description, status.getUri());
}
origin: org.restlet/org.restlet

/**
 * Constructor.
 * 
 * @param status
 *            The status to copy.
 * @param throwable
 *            The related error or exception.
 * @param description
 *            The description to associate.
 */
public Status(final Status status, final Throwable throwable,
    final String description) {
  this(status.getCode(), throwable, status.getName(), description, status
      .getUri());
}
origin: org.restlet.osgi/org.restlet

/**
 * Constructor.
 * 
 * @param status
 *            The represented status.
 * @param contactEmail
 *            The email address of the administrator to contact in case of
 *            error.
 * @param homeRef
 *            The home URI to propose in case of error.
 */
public StatusInfo(Status status, String contactEmail, String homeRef) {
  this(status.getCode(), status.getDescription(), status
      .getReasonPhrase(), status.getUri(), contactEmail, homeRef);
}
origin: DeviceConnect/DeviceConnect-Android

/**
 * Constructor.
 * 
 * @param status
 *            The status to copy.
 * @param throwable
 *            The related error or exception.
 * @param description
 *            The description to associate.
 */
public Status(Status status, Throwable throwable, String description) {
  this(status.getCode(), (throwable == null) ? status.getThrowable()
      : throwable, status.getReasonPhrase(),
      (description == null) ? status.getDescription() : description,
      status.getUri());
}
origin: org.restlet.osgi/org.restlet

/**
 * Constructor.
 * 
 * @param status
 *            The status to copy.
 * @param throwable
 *            The related error or exception.
 * @param reasonPhrase
 *            The short reason phrase displayed next to the status code in a
 *            HTTP response.
 * @param description
 *            The description to associate.
 */
public Status(Status status, Throwable throwable, String reasonPhrase,
    String description) {
  this(status.getCode(), (throwable == null) ? status.getThrowable()
      : throwable, (reasonPhrase == null) ? status.getReasonPhrase()
      : reasonPhrase, (description == null) ? status.getDescription()
      : description, status.getUri());
}
org.restlet.dataStatusgetUri

Javadoc

Returns the URI of the specification describing the status.

Popular methods of Status

  • getCode
    Returns the corresponding code (HTTP or WebDAV or custom code).
  • isSuccess
    Indicates if the status is a success status, meaning "The action was successfully received, understo
  • equals
    Indicates if the status is equal to a given one.
  • isError
    Indicates if the status is an error (client or server) status.
  • getDescription
    Returns the description. This value is typically used by the org.restlet.service.StatusService to bu
  • <init>
    Constructor.
  • isClientError
    Indicates if the status is a client error status, meaning "The request contains bad syntax or cannot
  • valueOf
    Returns the status associated to a code. If an existing constant exists then it is returned, otherwi
  • getThrowable
    Returns the related error or exception.
  • toString
    Returns the reason phrase of the status followed by its HTTP code.
  • getReasonPhrase
    Returns the reason phrase of this status. When supported by the HTTP server connector, this is retur
  • isConnectorError
    Indicates if the status is a connector error status, meaning "The connector failed to send or receiv
  • getReasonPhrase,
  • isConnectorError,
  • getName,
  • isRedirection,
  • isServerError,
  • isInformational,
  • checkReasonPhrase,
  • isGlobalError,
  • checkDescription

Popular in Java

  • Finding current android device location
  • onRequestPermissionsResult (Fragment)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • IOException (java.io)
    Signals that an I/O exception of some sort has occurred. This class is the general class of exceptio
  • PrintStream (java.io)
    A PrintStream adds functionality to another output stream, namely the ability to print representatio
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • URI (java.net)
    Represents a Uniform Resource Identifier (URI) reference. Aside from some minor deviations noted bel
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now