Package com.ibm.cloud.sdk.core.http
Interface HttpStatus
-
public interface HttpStatusConstants 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 Summary
Fields Modifier and Type Field Description static intACCEPTED202 Accepted (HTTP/1.0 - RFC 1945).static intBAD_GATEWAY502 Bad Gateway (HTTP/1.0 - RFC 1945).static intBAD_REQUEST400 Bad Request (HTTP/1.1 - RFC 2616).static intCONFLICT409 Conflict (HTTP/1.1 - RFC 2616).static intCONTINUE100 Continue (HTTP/1.1 - RFC 2616).static intCREATED201 Created (HTTP/1.0 - RFC 1945).static intEXPECTATION_FAILED417 Expectation Failed (HTTP/1.1 - RFC 2616).static intFAILED_DEPENDENCY424 Failed Dependency (WebDAV - RFC 2518).static intFORBIDDEN403 Forbidden (HTTP/1.0 - RFC 1945).static intGATEWAY_TIMEOUT504 Gateway Timeout (HTTP/1.1 - RFC 2616).static intGONE410 Gone (HTTP/1.1 - RFC 2616).static intHTTP_VERSION_NOT_SUPPORTED505 HTTP Version Not Supported (HTTP/1.1 - RFC 2616).static intINSUFFICIENT_STORAGE507 Insufficient Storage (WebDAV - RFC 2518).static intINTERNAL_SERVER_ERROR500 Server Error (HTTP/1.0 - RFC 1945).static intLENGTH_REQUIRED411 Length Required (HTTP/1.1 - RFC 2616).static intLOCKED423 Locked (WebDAV - RFC 2518).static intMETHOD_NOT_ALLOWED405 Method Not Allowed (HTTP/1.1 - RFC 2616).static intMOVED_PERMANENTLY301 Moved Permanently (HTTP/1.0 - RFC 1945).static intMOVED_TEMPORARILY302 Moved Temporarily (Sometimes Found) (HTTP/1.0 - RFC 1945).static intMULTI_STATUS207 Multi-Status (WebDAV - RFC 2518) or 207 Partial Update OK (HTTP/1.1 - draft-ietf-http-v11-spec-rev-01?).static intMULTIPLE_CHOICES300 Mutliple Choices (HTTP/1.1 - RFC 2616).static intNO_CONTENT204 No Content (HTTP/1.0 - RFC 1945).static intNON_AUTHORITATIVE_INFORMATION203 Non Authoritative Information (HTTP/1.1 - RFC 2616).static intNOT_ACCEPTABLE406 Not Acceptable (HTTP/1.1 - RFC 2616).static intNOT_FOUND404 Not Found (HTTP/1.0 - RFC 1945).static intNOT_IMPLEMENTED501 Not Implemented (HTTP/1.0 - RFC 1945).static intNOT_MODIFIED304 Not Modified (HTTP/1.0 - RFC 1945).static intOK200 OK (HTTP/1.0 - RFC 1945).static intPARTIAL_CONTENT206 Partial Content (HTTP/1.1 - RFC 2616).static intPAYMENT_REQUIRED402 Payment Required (HTTP/1.1 - RFC 2616).static intPRECONDITION_FAILED412 Precondition Failed (HTTP/1.1 - RFC 2616).static intPROXY_AUTHENTICATION_REQUIRED407 Proxy Authentication Required (HTTP/1.1 - RFC 2616).static intREQUEST_TIMEOUT408 Request Timeout (HTTP/1.1 - RFC 2616).static intREQUEST_TOO_LONG413 Request Entity Too Large (HTTP/1.1 - RFC 2616).static intREQUEST_URI_TOO_LONG414 Request-URI Too Long (HTTP/1.1 - RFC 2616).static intREQUESTED_RANGE_NOT_SATISFIABLE416 Requested Range Not Satisfiable (HTTP/1.1 - RFC 2616).static intRESET_CONTENT205 Reset Content (HTTP/1.1 - RFC 2616).static intSEE_OTHER303 See Other (HTTP/1.1 - RFC 2616).static intSERVICE_UNAVAILABLE503 Service Unavailable (HTTP/1.0 - RFC 1945).static intTEMPORARY_REDIRECT307 Temporary Redirect (HTTP/1.1 - RFC 2616).static intTOO_MANY_REQUESTS429 Too Many Requests.static intUNAUTHORIZED401 Unauthorized (HTTP/1.0 - RFC 1945).static intUNPROCESSABLE_ENTITY422 Unprocessable Entity (WebDAV - RFC 2518).static intUNSUPPORTED_MEDIA_TYPE415 Unsupported Media Type (HTTP/1.1 - RFC 2616).static intUSE_PROXY305 Use Proxy (HTTP/1.1 - RFC 2616).
-
-
-
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
-
CREATED
static final int CREATED
201 Created (HTTP/1.0 - RFC 1945).- 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
-
GONE
static final int GONE
410 Gone (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
-
LOCKED
static final int LOCKED
423 Locked (WebDAV - RFC 2518).- 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
-
OK
static final int OK
200 OK (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
-
-