Package nl.colorize.util.http
Interface HttpStatus
public interface HttpStatus
HTTP response status codes, as defined by the HTTP/1.1 standard, as defined
in RFC 2616.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isClientError
(int status) static boolean
isError
(int status) static boolean
isRedirect
(int status) static boolean
isServerError
(int status)
-
Field Details
-
CONTINUE
static final int CONTINUE- See Also:
-
SWITCHING_PROTOCOLS
static final int SWITCHING_PROTOCOLS- See Also:
-
OK
static final int OK- See Also:
-
CREATED
static final int CREATED- See Also:
-
ACCEPTED
static final int ACCEPTED- See Also:
-
NON_AUTHORITATIVE_INFORMATION
static final int NON_AUTHORITATIVE_INFORMATION- See Also:
-
NO_CONTENT
static final int NO_CONTENT- See Also:
-
RESET_CONTENT
static final int RESET_CONTENT- See Also:
-
PARTIAL_CONTENT
static final int PARTIAL_CONTENT- See Also:
-
MULTIPLE_CHOICES
static final int MULTIPLE_CHOICES- See Also:
-
MOVED_PERMANENTLY
static final int MOVED_PERMANENTLY- See Also:
-
FOUND
static final int FOUND- See Also:
-
SEE_OTHER
static final int SEE_OTHER- See Also:
-
NOT_MODIFIED
static final int NOT_MODIFIED- See Also:
-
USE_PROXY
static final int USE_PROXY- See Also:
-
TEMPORARY_REDIRECT
static final int TEMPORARY_REDIRECT- See Also:
-
PERMANENT_REDIRECT
static final int PERMANENT_REDIRECT- See Also:
-
BAD_REQUEST
static final int BAD_REQUEST- See Also:
-
UNAUTHORIZED
static final int UNAUTHORIZED- See Also:
-
PAYMENT_REQUIRED
static final int PAYMENT_REQUIRED- See Also:
-
FORBIDDEN
static final int FORBIDDEN- See Also:
-
NOT_FOUND
static final int NOT_FOUND- See Also:
-
METHOD_NOT_ALLOWED
static final int METHOD_NOT_ALLOWED- See Also:
-
NOT_ACCEPTABLE
static final int NOT_ACCEPTABLE- See Also:
-
PROXY_AUTHENTICATION_REQUIRED
static final int PROXY_AUTHENTICATION_REQUIRED- See Also:
-
REQUEST_TIMEOUT
static final int REQUEST_TIMEOUT- See Also:
-
CONFLICT
static final int CONFLICT- See Also:
-
GONE
static final int GONE- See Also:
-
LENGTH_REQUIRED
static final int LENGTH_REQUIRED- See Also:
-
PRECONDITION_FAILED
static final int PRECONDITION_FAILED- See Also:
-
PAYLOAD_TOO_LARGE
static final int PAYLOAD_TOO_LARGE- See Also:
-
URI_TOO_LONG
static final int URI_TOO_LONG- See Also:
-
UNSUPPORTED_MEDIA_TYPE
static final int UNSUPPORTED_MEDIA_TYPE- See Also:
-
RANGE_NOT_SATISFIABLE
static final int RANGE_NOT_SATISFIABLE- See Also:
-
EXPECTATION_FAILED
static final int EXPECTATION_FAILED- See Also:
-
IM_A_TEAPOT
static final int IM_A_TEAPOT- See Also:
-
TOO_EARLY
static final int TOO_EARLY- See Also:
-
UPGRADE_REQUIRED
static final int UPGRADE_REQUIRED- See Also:
-
PRECONDITION_REQUIRED
static final int PRECONDITION_REQUIRED- See Also:
-
TOO_MANY_REQUESTS
static final int TOO_MANY_REQUESTS- See Also:
-
REQUEST_HEADER_FIELDS_TOO_LARGE
static final int REQUEST_HEADER_FIELDS_TOO_LARGE- See Also:
-
UNAVAILABLE_FOR_LEGAL_REASONS
static final int UNAVAILABLE_FOR_LEGAL_REASONS- See Also:
-
INTERNAL_SERVER_ERROR
static final int INTERNAL_SERVER_ERROR- See Also:
-
NOT_IMPLEMENTED
static final int NOT_IMPLEMENTED- See Also:
-
BAD_GATEWAY
static final int BAD_GATEWAY- See Also:
-
SERVICE_UNAVAILABLE
static final int SERVICE_UNAVAILABLE- See Also:
-
GATEWAY_TIMEOUT
static final int GATEWAY_TIMEOUT- See Also:
-
HTTP_VERSION_NOT_SUPPORTED
static final int HTTP_VERSION_NOT_SUPPORTED- See Also:
-
VARIANT_ALSO_NEGOTATES
static final int VARIANT_ALSO_NEGOTATES- See Also:
-
NOT_EXTENDED
static final int NOT_EXTENDED- See Also:
-
NETWORK_AUTHENTICATION_REQUIRED
static final int NETWORK_AUTHENTICATION_REQUIRED- See Also:
-
-
Method Details
-
isRedirect
static boolean isRedirect(int status) -
isClientError
static boolean isClientError(int status) -
isServerError
static boolean isServerError(int status) -
isError
static boolean isError(int status)
-