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.
Handles HTTP requests by generating responses.
Identity Gateway SAML support.
  • Uses of Status in org.forgerock.http.oauth2

    Methods in org.forgerock.http.oauth2 with parameters of type Status
    Modifier and Type
    Method
    Description
    OAuth2Error.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 Status
    Modifier and Type
    Field
    Description
    static final Status
    Status.ACCEPTED
    The 202 (Accepted) status code indicates that the request has been accepted for processing, but the processing has not been completed.
    static final Status
    The 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 Status
    The 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 Status
    Status.CONFLICT
    The 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 Status
    Status.CONTINUE
    The 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 Status
    Status.CREATED
    The 201 (Created) status code indicates that the request has been fulfilled and has resulted in one or more new resources being created.
    static final Status
    The 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 Status
    Status.FORBIDDEN
    The 403 (Forbidden) status code indicates that the server understood the request but refuses to authorize it.
    static final Status
    Status.FOUND
    The 302 (Found) status code indicates that the target resource resides temporarily under a different URI.
    static final Status
    The 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 Status
    Status.GONE
    The 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 Status
    The 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 Status
    The 500 (Internal Server Error) status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.
    static final Status
    The 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 Status
    The 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 Status
    The 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 Status
    The 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 Status
    Status.NO_CONTENT
    The 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 Status
    The 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 Status
    The 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 Status
    Status.NOT_FOUND
    The 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 Status
    The 501 (Not Implemented) status code indicates that the server does not support the functionality required to fulfill the request.
    static final Status
    Status.OK
    The 200 (OK) status code indicates that the request has succeeded.
    static final Status
    The 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 Status
    The 402 (Payment Required) status code is reserved for future use.
    static final Status
    The 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 Status
    The 431 status code indicates that the server is unwilling to process the request because its header fields are too large.
    static final Status
    The 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 Status
    The 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 Status
    Status.SEE_OTHER
    The 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 Status
    The 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 Status
    The 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 Status
    Status.TEAPOT
    Any attempt to brew coffee with a teapot should result in the error code "418 I'm a teapot".
    static final Status
    The 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 Status
    The 429 status code indicates that the user has sent too many requests in a given amount of time ("rate limiting").
    static final Status
    The request requires user authentication.
    static final Status
    The 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 Status
    Status.UNUSED
    The 306 status code was defined in a previous version of this specification, is no longer used, and the code is reserved.
    static final Status
    The 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 Status
    The 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 Status
    Status.USE_PROXY
    The 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 Status
    Modifier and Type
    Method
    Description
    Response.getStatus()
    Returns the response status.
    static Status
    Status.valueOf(int code)
    Get a Status from the given integer.
    static Status
    Status.valueOf(int code, String reason)
    Get a Status from the given integer.
    Methods in org.forgerock.http.protocol with parameters of type Status
    Modifier and Type
    Method
    Description
    Response.setStatus(Status status)
    Sets the response status code.
    Constructors in org.forgerock.http.protocol with parameters of type Status
    Modifier
    Constructor
    Description
     
    Response(Status status)
    Creates a new response with a default status.
  • Uses of Status in org.forgerock.openig.handler

    Constructors in org.forgerock.openig.handler with parameters of type Status
    Modifier
    Constructor
    Description
     
    Constructor.
     
    Constructor.
  • Uses of Status in org.forgerock.openig.handler.saml

    Modifier and Type
    Method
    Description
    SamlFailureContext.getStatus()
    The Status of the failed response.