Uses of Class
org.forgerock.http.protocol.Status
Packages that use Status
Package
Description
This package provides APIs for OAuth 2.0 services implementations.
Models and manages elements of the Hypertext Transfer Protocol.
-
Uses of Status in org.forgerock.http.oauth2
Methods in org.forgerock.http.oauth2 with parameters of type StatusModifier and TypeMethodDescriptionstatic OAuth2ErrorOAuth2Error.bestEffortResourceServerError(Status status, OAuth2Error incomplete) Returns an OAuth 2.0 resource server error whose values are determined on a best-effort basis from the provided incomplete error and HTTP status code. -
Uses of Status in org.forgerock.http.protocol
Fields in org.forgerock.http.protocol declared as StatusModifier and TypeFieldDescriptionstatic final StatusStatus.ACCEPTEDThe 202 (Accepted) status code indicates that the request has been accepted for processing, but the processing has not been completed.static final StatusStatus.BAD_GATEWAYThe 502 (Bad Gateway) status code indicates that the server, while acting as a gateway or proxy, received an invalid response from an inbound server it accessed while attempting to fulfill the request.static final StatusStatus.BAD_REQUESTThe 400 (Bad Request) status code indicates that the server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).static final StatusStatus.CONFLICTThe 409 (Conflict) status code indicates that the request could not be completed due to a conflict with the current state of the target resource.static final StatusStatus.CONTINUEThe 100 (Continue) status code indicates that the initial part of a request has been received and has not yet been rejected by the server.static final StatusStatus.CREATEDThe 201 (Created) status code indicates that the request has been fulfilled and has resulted in one or more new resources being created.static final StatusStatus.EXPECTATION_FAILEDThe 417 (Expectation Failed) status code indicates that the expectation given in the request's Expect header field (Section 5.1.1) could not be met by at least one of the inbound servers.static final StatusStatus.FORBIDDENThe 403 (Forbidden) status code indicates that the server understood the request but refuses to authorize it.static final StatusStatus.FOUNDThe 302 (Found) status code indicates that the target resource resides temporarily under a different URI.static final StatusStatus.GATEWAY_TIMEOUTThe 504 (Gateway Timeout) status code indicates that the server, while acting as a gateway or proxy, did not receive a timely response from an upstream server it needed to access in order to complete the request.static final StatusStatus.GONEThe 410 (Gone) status code indicates that access to the target resource is no longer available at the origin server and that this condition is likely to be permanent.static final StatusStatus.HTTP_VERSION_NOT_SUPPORTEDThe 505 (HTTP Version Not Supported) status code indicates that the server does not support, or refuses to support, the major version of HTTP that was used in the request message.static final StatusStatus.INTERNAL_SERVER_ERRORThe 500 (Internal Server Error) status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.static final StatusStatus.LENGTH_REQUIREDThe 411 (Length Required) status code indicates that the server refuses to accept the request without a defined Content-Length (Section 3.3.2 of [RFC7230]).static final StatusStatus.METHOD_NOT_ALLOWEDThe 405 (Method Not Allowed) status code indicates that the method received in the request-line is known by the origin server but not supported by the target resource.static final StatusStatus.MOVED_PERMANENTLYThe 301 (Moved Permanently) status code indicates that the target resource has been assigned a new permanent URI and any future references to this resource ought to use one of the enclosed URIs.static final StatusStatus.MULTIPLE_CHOICESThe 300 (Multiple Choices) status code indicates that the target resource has more than one representation, each with its own more specific identifier, and information about the alternatives is being provided so that the user (or user agent) can select a preferred representation by redirecting its request to one or more of those identifiers.static final StatusStatus.NO_CONTENTThe 204 (No Content) status code indicates that the server has successfully fulfilled the request and that there is no additional content to send in the response payload body.static final StatusStatus.NON_AUTHORITATIVE_INFOThe 203 (Non-Authoritative Information) status code indicates that the request was successful but the enclosed payload has been modified from that of the origin server's 200 (OK) response by a transforming proxy (Section 5.7.2 of [RFC7230]).static final StatusStatus.NOT_ACCEPTABLEThe 406 (Not Acceptable) status code indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request (Section 5.3), and the server is unwilling to supply a default representation.static final StatusStatus.NOT_FOUNDThe 404 (Not Found) status code indicates that the origin server did not find a current representation for the target resource or is not willing to disclose that one exists.static final StatusStatus.NOT_IMPLEMENTEDThe 501 (Not Implemented) status code indicates that the server does not support the functionality required to fulfill the request.static final StatusStatus.OKThe 200 (OK) status code indicates that the request has succeeded.static final StatusStatus.PAYLOAD_TOO_LARGEThe 413 (Payload Too Large) status code indicates that the server is refusing to process a request because the request payload is larger than the server is willing or able to process.static final StatusStatus.PAYMENT_REQUIREDThe 402 (Payment Required) status code is reserved for future use.static final StatusThe 407 (Proxy Authentication Required) status code is similar to 401 (Unauthorized), but it indicates that the client needs to authenticate itself in order to use a proxy.static final StatusThe 431 status code indicates that the server is unwilling to process the request because its header fields are too large.static final StatusStatus.REQUEST_TIMEOUTThe 408 (Request Timeout) status code indicates that the server did not receive a complete request message within the time that it was prepared to wait.static final StatusStatus.RESET_CONTENTThe 205 (Reset Content) status code indicates that the server has fulfilled the request and desires that the user agent reset the "document view", which caused the request to be sent, to its original state as received from the origin server.static final StatusStatus.SEE_OTHERThe 303 (See Other) status code indicates that the server is redirecting the user agent to a different resource, as indicated by a URI in the Location header field, which is intended to provide an indirect response to the original request.static final StatusStatus.SERVICE_UNAVAILABLEThe 503 (Service Unavailable) status code indicates that the server is currently unable to handle the request due to a temporary overload or scheduled maintenance, which will likely be alleviated after some delay.static final StatusStatus.SWITCHING_PROTOCOLSThe 101 (Switching Protocols) status code indicates that the server understands and is willing to comply with the client's request, via the Upgrade header field (Section 6.7 of [RFC7230]), for a change in the application protocol being used on this connection.static final StatusStatus.TEAPOTAny attempt to brew coffee with a teapot should result in the error code "418 I'm a teapot".static final StatusStatus.TEMPORARY_REDIRECTThe 307 (Temporary Redirect) status code indicates that the target resource resides temporarily under a different URI and the user agent MUST NOT change the request method if it performs an automatic redirection to that URI.static final StatusStatus.TOO_MANY_REQUESTSThe 429 status code indicates that the user has sent too many requests in a given amount of time ("rate limiting").static final StatusStatus.UNAUTHORIZEDThe request requires user authentication.static final StatusStatus.UNSUPPORTED_MEDIA_TYPEThe 415 (Unsupported Media Type) status code indicates that the origin server is refusing to service the request because the payload is in a format not supported by this method on the target resource.static final StatusStatus.UNUSEDThe 306 status code was defined in a previous version of this specification, is no longer used, and the code is reserved.static final StatusStatus.UPGRADE_REQUIREDThe 426 (Upgrade Required) status code indicates that the server refuses to perform the request using the current protocol but might be willing to do so after the client upgrades to a different protocol.static final StatusStatus.URI_TOO_LONGThe 414 (URI Too Long) status code indicates that the server is refusing to service the request because the request-target (Section 5.3 of [RFC7230]) is longer than the server is willing to interpret.static final StatusStatus.USE_PROXYThe 305 (Use Proxy) status code was defined in a previous version of this specification and is now deprecated (Appendix B).Methods in org.forgerock.http.protocol that return StatusModifier and TypeMethodDescriptionResponse.getStatus()Returns the response status.static StatusStatus.valueOf(int code) Get aStatusfrom the given integer.static StatusGet aStatusfrom the given integer.Methods in org.forgerock.http.protocol with parameters of type StatusModifier and TypeMethodDescriptionSets the response status code.Constructors in org.forgerock.http.protocol with parameters of type Status