Interface HttpStatus


  • public interface HttpStatus
    Constants enumerating the HTTP status codes. All status codes defined in RFC1945 (HTTP/1.0), RFC2616 (HTTP/1.1), and RFC2518 (WebDAV) are listed. Adapted from the Apache Software Foundation
    • Field Detail

      • ACCEPTED

        static final int ACCEPTED
        202 Accepted (HTTP/1.0 - RFC 1945).
        See Also:
        Constant Field Values
      • BAD_GATEWAY

        static final int BAD_GATEWAY
        502 Bad Gateway (HTTP/1.0 - RFC 1945).
        See Also:
        Constant Field Values
      • BAD_REQUEST

        static final int BAD_REQUEST
        400 Bad Request (HTTP/1.1 - RFC 2616).
        See Also:
        Constant Field Values
      • CONFLICT

        static final int CONFLICT
        409 Conflict (HTTP/1.1 - RFC 2616).
        See Also:
        Constant Field Values
      • CONTINUE

        static final int CONTINUE
        100 Continue (HTTP/1.1 - RFC 2616).
        See Also:
        Constant Field Values
      • EXPECTATION_FAILED

        static final int EXPECTATION_FAILED
        417 Expectation Failed (HTTP/1.1 - RFC 2616).
        See Also:
        Constant Field Values
      • FAILED_DEPENDENCY

        static final int FAILED_DEPENDENCY
        424 Failed Dependency (WebDAV - RFC 2518).
        See Also:
        Constant Field Values
      • FORBIDDEN

        static final int FORBIDDEN
        403 Forbidden (HTTP/1.0 - RFC 1945).
        See Also:
        Constant Field Values
      • GATEWAY_TIMEOUT

        static final int GATEWAY_TIMEOUT
        504 Gateway Timeout (HTTP/1.1 - RFC 2616).
        See Also:
        Constant Field Values
      • HTTP_VERSION_NOT_SUPPORTED

        static final int HTTP_VERSION_NOT_SUPPORTED
        505 HTTP Version Not Supported (HTTP/1.1 - RFC 2616).
        See Also:
        Constant Field Values
      • INSUFFICIENT_STORAGE

        static final int INSUFFICIENT_STORAGE
        507 Insufficient Storage (WebDAV - RFC 2518).
        See Also:
        Constant Field Values
      • INTERNAL_SERVER_ERROR

        static final int INTERNAL_SERVER_ERROR
        500 Server Error (HTTP/1.0 - RFC 1945).
        See Also:
        Constant Field Values
      • LENGTH_REQUIRED

        static final int LENGTH_REQUIRED
        411 Length Required (HTTP/1.1 - RFC 2616).
        See Also:
        Constant Field Values
      • METHOD_NOT_ALLOWED

        static final int METHOD_NOT_ALLOWED
        405 Method Not Allowed (HTTP/1.1 - RFC 2616).
        See Also:
        Constant Field Values
      • MOVED_PERMANENTLY

        static final int MOVED_PERMANENTLY
        301 Moved Permanently (HTTP/1.0 - RFC 1945).
        See Also:
        Constant Field Values
      • MOVED_TEMPORARILY

        static final int MOVED_TEMPORARILY
        302 Moved Temporarily (Sometimes Found) (HTTP/1.0 - RFC 1945).
        See Also:
        Constant Field Values
      • MULTI_STATUS

        static final int MULTI_STATUS
        207 Multi-Status (WebDAV - RFC 2518) or 207 Partial Update OK (HTTP/1.1 - draft-ietf-http-v11-spec-rev-01?).
        See Also:
        Constant Field Values
      • MULTIPLE_CHOICES

        static final int MULTIPLE_CHOICES
        300 Mutliple Choices (HTTP/1.1 - RFC 2616).
        See Also:
        Constant Field Values
      • NO_CONTENT

        static final int NO_CONTENT
        204 No Content (HTTP/1.0 - RFC 1945).
        See Also:
        Constant Field Values
      • NON_AUTHORITATIVE_INFORMATION

        static final int NON_AUTHORITATIVE_INFORMATION
        203 Non Authoritative Information (HTTP/1.1 - RFC 2616).
        See Also:
        Constant Field Values
      • NOT_ACCEPTABLE

        static final int NOT_ACCEPTABLE
        406 Not Acceptable (HTTP/1.1 - RFC 2616).
        See Also:
        Constant Field Values
      • NOT_FOUND

        static final int NOT_FOUND
        404 Not Found (HTTP/1.0 - RFC 1945).
        See Also:
        Constant Field Values
      • NOT_IMPLEMENTED

        static final int NOT_IMPLEMENTED
        501 Not Implemented (HTTP/1.0 - RFC 1945).
        See Also:
        Constant Field Values
      • NOT_MODIFIED

        static final int NOT_MODIFIED
        304 Not Modified (HTTP/1.0 - RFC 1945).
        See Also:
        Constant Field Values
      • PARTIAL_CONTENT

        static final int PARTIAL_CONTENT
        206 Partial Content (HTTP/1.1 - RFC 2616).
        See Also:
        Constant Field Values
      • PAYMENT_REQUIRED

        static final int PAYMENT_REQUIRED
        402 Payment Required (HTTP/1.1 - RFC 2616).
        See Also:
        Constant Field Values
      • PRECONDITION_FAILED

        static final int PRECONDITION_FAILED
        412 Precondition Failed (HTTP/1.1 - RFC 2616).
        See Also:
        Constant Field Values
      • PROXY_AUTHENTICATION_REQUIRED

        static final int PROXY_AUTHENTICATION_REQUIRED
        407 Proxy Authentication Required (HTTP/1.1 - RFC 2616).
        See Also:
        Constant Field Values
      • REQUEST_TIMEOUT

        static final int REQUEST_TIMEOUT
        408 Request Timeout (HTTP/1.1 - RFC 2616).
        See Also:
        Constant Field Values
      • REQUEST_TOO_LONG

        static final int REQUEST_TOO_LONG
        413 Request Entity Too Large (HTTP/1.1 - RFC 2616).
        See Also:
        Constant Field Values
      • REQUEST_URI_TOO_LONG

        static final int REQUEST_URI_TOO_LONG
        414 Request-URI Too Long (HTTP/1.1 - RFC 2616).
        See Also:
        Constant Field Values
      • REQUESTED_RANGE_NOT_SATISFIABLE

        static final int REQUESTED_RANGE_NOT_SATISFIABLE
        416 Requested Range Not Satisfiable (HTTP/1.1 - RFC 2616).
        See Also:
        Constant Field Values
      • RESET_CONTENT

        static final int RESET_CONTENT
        205 Reset Content (HTTP/1.1 - RFC 2616).
        See Also:
        Constant Field Values
      • SEE_OTHER

        static final int SEE_OTHER
        303 See Other (HTTP/1.1 - RFC 2616).
        See Also:
        Constant Field Values
      • SERVICE_UNAVAILABLE

        static final int SERVICE_UNAVAILABLE
        503 Service Unavailable (HTTP/1.0 - RFC 1945).
        See Also:
        Constant Field Values
      • TEMPORARY_REDIRECT

        static final int TEMPORARY_REDIRECT
        307 Temporary Redirect (HTTP/1.1 - RFC 2616).
        See Also:
        Constant Field Values
      • TOO_MANY_REQUESTS

        static final int TOO_MANY_REQUESTS
        429 Too Many Requests.
        See Also:
        Constant Field Values
      • UNAUTHORIZED

        static final int UNAUTHORIZED
        401 Unauthorized (HTTP/1.0 - RFC 1945).
        See Also:
        Constant Field Values
      • UNPROCESSABLE_ENTITY

        static final int UNPROCESSABLE_ENTITY
        422 Unprocessable Entity (WebDAV - RFC 2518).
        See Also:
        Constant Field Values
      • UNSUPPORTED_MEDIA_TYPE

        static final int UNSUPPORTED_MEDIA_TYPE
        415 Unsupported Media Type (HTTP/1.1 - RFC 2616).
        See Also:
        Constant Field Values
      • USE_PROXY

        static final int USE_PROXY
        305 Use Proxy (HTTP/1.1 - RFC 2616).
        See Also:
        Constant Field Values