Uses of Class
org.restlet.data.Status
Packages that use Status
Package
Description
Core classes of the Restlet API.
Information exchanged by components.
Adapters between low-level HTTP calls and high-level Restlet Request and
Response objects.
Supports Restlet applications.
Integration with Java URLConnection class.
Supports resources.
Client and server resource classes.
Services used by applications and components.
Various utility classes.
-
Uses of Status in org.restlet
Methods in org.restlet that return StatusMethods in org.restlet with parameters of type StatusModifier and TypeMethodDescriptionvoidSets the status.voidSets the status.voidSets the status.voidSets the status. -
Uses of Status in org.restlet.data
Fields in org.restlet.data declared as StatusModifier and TypeFieldDescriptionstatic final StatusStatus.CLIENT_ERROR_BAD_REQUESTThe request could not be understood by the server due to malformed syntax.static final StatusStatus.CLIENT_ERROR_CONFLICTThe request could not be completed due to a conflict with the current state of the resource (as experienced in a version control system).static final StatusThe user agent expects some behavior of the server (given in an Expect request-header field), but this expectation could not be met by this server.static final StatusStatus.CLIENT_ERROR_FORBIDDENThe server understood the request, but is refusing to fulfill it as it could be explained in the entity.static final StatusStatus.CLIENT_ERROR_GONEThe requested resource is no longer available at the server and no forwarding address is known.static final StatusStatus.CLIENT_ERROR_LENGTH_REQUIREDThe server refuses to accept the request without a defined Content-Length.static final StatusThe method specified in the Request-Line is not allowed for the resource identified by the Request-URI.static final StatusStatus.CLIENT_ERROR_NOT_ACCEPTABLEThe resource identified by the request is only capable of generating response entities whose content characteristics do not match the user's requirements (in Accept* headers).static final StatusStatus.CLIENT_ERROR_NOT_FOUNDThe server has not found anything matching the Request-URI or the server does not wish to reveal exactly why the request has been refused, or no other response is applicable.static final StatusThis code is reserved for future use.static final StatusSent by the server when the user agent asks the server to carry out a request under certain conditions that are not met.static final StatusThis code is similar to 401 (Unauthorized), but indicates that the client must first authenticate itself with the proxy.static final StatusThe server is refusing to process a request because the request entity is larger than the server is willing or able to process.static final StatusStatus.CLIENT_ERROR_REQUEST_TIMEOUTSent by the server when an HTTP client opens a connection, but has never sent a request (or never sent the blank line that signals the end of the request).static final StatusThe server is refusing to service the request because the Request-URI is longer than the server is willing to interpret.static final StatusThe request includes a Range request-header field and the selected resource is too small for any of the byte-ranges to apply.static final StatusThe server refuses to accept the request because the user has sent too many requests in a given amount of time.static final StatusStatus.CLIENT_ERROR_UNAUTHORIZEDThe request requires user authentication.static final StatusThe server is refusing to service the request because the entity of the request is in a format not supported by the requested resource for the requested method.static final StatusThe client connector faced an error during the communication with the remote server (interruption, timeout, etc.).static final StatusStatus.CONNECTOR_ERROR_CONNECTIONThe client connector could not connect to the remote server.static final StatusStatus.CONNECTOR_ERROR_INTERNALThe client connector faced an internal error during the process of a request to its server or the process of a response to its client.static final StatusStatus.INFO_CONTINUEThis interim response (the client has to wait for the final response) is used to inform the client that the initial part of the request has been received and has not yet been rejected or completed by the server.static final StatusStatus.INFO_DISCONNECTED_OPERATIONWarning status code, typically returned by a cache, indicating that it is intentionally disconnected from the rest of the network for a period of time.static final StatusStatus.INFO_HEURISTIC_EXPIRATIONWarning status code, typically returned by a cache, indicating that it heuristically chose a freshness lifetime greater than 24 hours and the response's age is greater than 24 hours.static final StatusStatus.INFO_MISC_WARNINGWarning status code, optionally including arbitrary information to be presented to a human user, typically returned by a cache.static final StatusStatus.INFO_REVALIDATION_FAILEDWarning status code, typically returned by a cache, indicating that the response is stale because an attempt to revalidate the response failed, due to an inability to reach the server.static final StatusStatus.INFO_STALE_RESPONSEWarning status code, typically returned by a cache, indicating that the response is stale.static final StatusStatus.INFO_SWITCHING_PROTOCOLThe server understands and is willing to comply with the client's request, via the Upgrade message header field, for a change in the application protocol being used on this connection.static final StatusStatus.REDIRECTION_FOUNDThe requested resource resides temporarily under a different URI which should not be used for future requests by the client (use status codes 303 or 307 instead since this status has been manifestly misused).static final StatusStatus.REDIRECTION_MULTIPLE_CHOICESThe server lets the user agent choosing one of the multiple representations of the requested resource, each representation having its own specific location provided in the response entity.static final StatusStatus.REDIRECTION_NOT_MODIFIEDStatus code sent by the server in response to a conditional GET request in case the document has not been modified.static final StatusStatus.REDIRECTION_PERMANENTThe requested resource has been assigned a new permanent URI and any future references to this resource SHOULD use one of the returned URIs.static final StatusStatus.REDIRECTION_SEE_OTHERThe response to the request can be found under a different URI and SHOULD be retrieved using a GET method on that resource.static final StatusStatus.REDIRECTION_TEMPORARYThe requested resource resides temporarily under a different URI which should not be used for future requests by the client.static final StatusStatus.REDIRECTION_USE_PROXYThe requested resource MUST be accessed through the proxy given by the Location field.static final StatusStatus.SERVER_ERROR_BAD_GATEWAYThe server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request.static final StatusStatus.SERVER_ERROR_GATEWAY_TIMEOUTThe server, while acting as a gateway or proxy, could not connect to the upstream server.static final StatusStatus.SERVER_ERROR_INTERNALThe server encountered an unexpected condition which prevented it from fulfilling the request.static final StatusStatus.SERVER_ERROR_NOT_IMPLEMENTEDThe server does not support the functionality required to fulfill the request.static final StatusThe server is currently unable to handle the request due to a temporary overloading or maintenance of the server.static final StatusThe server does not support, or refuses to support, the HTTP protocol version that was used in the request message.static final StatusStatus.SUCCESS_ACCEPTEDThe request has been accepted for processing, but the processing has not been completed.static final StatusStatus.SUCCESS_CREATEDThe request has been fulfilled and resulted in a new resource being created.static final StatusWarning status code, optionally including arbitrary information to be presented to a human user, typically returned by a cache.static final StatusStatus.SUCCESS_NO_CONTENTThe server has fulfilled the request but does not need to return an entity-body (for example after a DELETE), and might want to return updated meta-information.static final StatusStatus.SUCCESS_NON_AUTHORITATIVEThe request has succeeded but the returned meta-information in the entity-header does not come from the origin server, but is gathered from a local or a third-party copy.static final StatusStatus.SUCCESS_OKThe request has succeeded.static final StatusStatus.SUCCESS_PARTIAL_CONTENTThe server has fulfilled the partial GET request for the resource assuming the request has included a Range header field indicating the desired range.static final StatusStatus.SUCCESS_RESET_CONTENTThe server has fulfilled the request, and the user agent SHOULD reset the document view which caused the request to be sent.static final StatusWarning status code, typically returned by a cache or a proxy, indicating that the response has been transformed.Methods in org.restlet.data that return StatusModifier and TypeMethodDescriptionConditions.getRangeStatus(Tag tag, Date modificationDate) Returns the range conditional status of an entity.Conditions.getRangeStatus(RepresentationInfo representationInfo) Returns the range conditional status of an entity.Returns the conditional status of a variant using a given method.Conditions.getStatus(Method method, RepresentationInfo representationInfo) Returns the conditional status of a variant using a given method.Warning.getStatus()Returns the special status.static StatusStatus.valueOf(int code) Returns the status associated to a code.Methods in org.restlet.data with parameters of type StatusConstructors in org.restlet.data with parameters of type StatusModifierConstructorDescriptionConstructor.Constructor.Constructor.Constructor.Constructor. -
Uses of Status in org.restlet.engine.adapter
Methods in org.restlet.engine.adapter that return StatusModifier and TypeMethodDescriptionClientCall.sendRequest(Request request) Sends the request to the client.Methods in org.restlet.engine.adapter with parameters of type StatusModifier and TypeMethodDescriptionvoidClientAdapter.updateResponse(Response response, Status status, ClientCall httpCall) Updates the response with information from the lower-level HTTP client call. -
Uses of Status in org.restlet.engine.application
Constructors in org.restlet.engine.application with parameters of type StatusModifierConstructorDescriptionStatusInfo(Status status) Constructor.StatusInfo(Status status, String contactEmail, String homeRef) Constructor. -
Uses of Status in org.restlet.engine.connector
Methods in org.restlet.engine.connector that return StatusModifier and TypeMethodDescriptionHttpUrlConnectionCall.sendRequest(Request request) Deprecated.Sends the request to the client. -
Uses of Status in org.restlet.engine.resource
Methods in org.restlet.engine.resource that return Status -
Uses of Status in org.restlet.resource
Methods in org.restlet.resource that return StatusModifier and TypeMethodDescriptionResource.getStatus()Returns the status.ResourceException.getStatus()Returns the status associated to this exception.Methods in org.restlet.resource with parameters of type StatusModifier and TypeMethodDescriptionvoidBy default, it throws a new resource exception.voidBy default, it throws a new resource exception.protected voidInvoked when an error response status is received.protected final voidInvoked when an error response status is received.protected voidBy default, it sets the status on the response.voidSets the status.voidSets the status.voidSets the status.voidSets the status.Constructors in org.restlet.resource with parameters of type StatusModifierConstructorDescriptionResourceException(Status status) Constructor.ResourceException(Status status, String description) Constructor.ResourceException(Status status, String description, Throwable cause) Constructor.ResourceException(Status status, Throwable cause) Constructor.ResourceException(Status status, Throwable cause, Request request, Response response) Constructor.ResourceException(Status status, Request request, Response response) Constructor. -
Uses of Status in org.restlet.service
Methods in org.restlet.service that return StatusModifier and TypeMethodDescriptionReturns a status for a given exception or error.Returns a status for a given exception or error.Methods in org.restlet.service with parameters of type StatusModifier and TypeMethodDescriptionStatusService.toRepresentation(Status status, Request request, Response response) Returns a representation for the given status.StatusService.toRepresentation(Status status, Resource resource) Returns a representation for the given status.
In order to customize the default representation, this method can be overridden. -
Uses of Status in org.restlet.util
Methods in org.restlet.util that return StatusMethods in org.restlet.util with parameters of type StatusModifier and TypeMethodDescriptionvoidSets the status.voidSets the status.voidvoid