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

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

Best Java code snippets using org.restlet.data.Status.isInformational (Showing top 10 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

/**
 * Indicates if the status is an information status.
 * 
 * @param code
 *            The code of the status.
 * @return True if the status is an information status.
 * @deprecated Use {@link #isInformational(int)} instead.
 */
@Deprecated
public static boolean isInfo(int code) {
  return isInformational(code);
}
origin: org.restlet.osgi/org.restlet

/**
 * Indicates if the status is an information status, meaning "request
 * received, continuing process".
 * 
 * @return True if the status is an information status.
 */
public boolean isInformational() {
  return isInformational(getCode());
}
origin: org.restlet.osgi/org.restlet

/**
 * Indicates if the response is provisional or final. It relies on the {@link Status#isInformational()} method.
 * 
 * @return True if the response is provisional.
 */
public boolean isProvisional() {
  return getStatus().isInformational();
}
origin: org.restlet/org.restlet

/**
 * Indicates if the status is an information status, meaning "request
 * received, continuing process".
 * 
 * @return True if the status is an information status.
 */
public boolean isInformational() {
  return isInformational(getCode());
}
origin: org.restlet.osgi/org.restlet

/**
 * Indicates if the response is final or provisional. It relies on the {@link Status#isInformational()} method.
 * 
 * @return True if the response is final.
 */
public boolean isFinal() {
  return !getStatus().isInformational();
}
origin: DeviceConnect/DeviceConnect-Android

/**
 * Indicates if the status is an information status, meaning "request
 * received, continuing process".
 * 
 * @return True if the status is an information status.
 */
public boolean isInformational() {
  return isInformational(getCode());
}
origin: org.restlet.jse/org.restlet.example

public void handle(Request req, Response resp) {
  SipResponse r = (SipResponse) resp;
  if (!resp.getStatus().isInformational()) {
origin: org.restlet.osgi/org.restlet

&& !response.getStatus().isInformational()
&& !response.getStatus().equals(REDIRECTION_NOT_MODIFIED)
&& !response.getStatus().equals(SUCCESS_NO_CONTENT)
origin: org.restlet.osgi/org.restlet

    response.setEntity(null);
} else if (response.getStatus().isInformational()) {
  if (response.isEntityAvailable()) {
    getLogger()
origin: org.restlet.osgi/org.restlet

    Status.REDIRECTION_NOT_MODIFIED)) {
  response.getEntity().release();
} else if (response.getStatus().isInformational()) {
  response.getEntity().release();
  response.setEntity(null);
org.restlet.dataStatusisInformational

Javadoc

Indicates if the status is an information status, meaning "request received, continuing process".

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,
  • getUri,
  • checkReasonPhrase,
  • isGlobalError,
  • checkDescription

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSupportFragmentManager (FragmentActivity)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • getContentResolver (Context)
  • BufferedReader (java.io)
    Reads text from a character-input stream, buffering characters so as to provide for the efficient re
  • PrintStream (java.io)
    A PrintStream adds functionality to another output stream, namely the ability to print representatio
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
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