Package com.ibm.cloud.sdk.core.http
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 Summary
Fields Modifier and Type Field Description static int
ACCEPTED
202 Accepted (HTTP/1.0 - RFC 1945).static int
BAD_GATEWAY
502 Bad Gateway (HTTP/1.0 - RFC 1945).static int
BAD_REQUEST
400 Bad Request (HTTP/1.1 - RFC 2616).static int
CONFLICT
409 Conflict (HTTP/1.1 - RFC 2616).static int
CONTINUE
100 Continue (HTTP/1.1 - RFC 2616).static int
CREATED
201 Created (HTTP/1.0 - RFC 1945).static int
EXPECTATION_FAILED
417 Expectation Failed (HTTP/1.1 - RFC 2616).static int
FAILED_DEPENDENCY
424 Failed Dependency (WebDAV - RFC 2518).static int
FORBIDDEN
403 Forbidden (HTTP/1.0 - RFC 1945).static int
GATEWAY_TIMEOUT
504 Gateway Timeout (HTTP/1.1 - RFC 2616).static int
GONE
410 Gone (HTTP/1.1 - RFC 2616).static int
HTTP_VERSION_NOT_SUPPORTED
505 HTTP Version Not Supported (HTTP/1.1 - RFC 2616).static int
INSUFFICIENT_STORAGE
507 Insufficient Storage (WebDAV - RFC 2518).static int
INTERNAL_SERVER_ERROR
500 Server Error (HTTP/1.0 - RFC 1945).static int
LENGTH_REQUIRED
411 Length Required (HTTP/1.1 - RFC 2616).static int
LOCKED
423 Locked (WebDAV - RFC 2518).static int
METHOD_NOT_ALLOWED
405 Method Not Allowed (HTTP/1.1 - RFC 2616).static int
MOVED_PERMANENTLY
301 Moved Permanently (HTTP/1.0 - RFC 1945).static int
MOVED_TEMPORARILY
302 Moved Temporarily (Sometimes Found) (HTTP/1.0 - RFC 1945).static int
MULTI_STATUS
207 Multi-Status (WebDAV - RFC 2518) or 207 Partial Update OK (HTTP/1.1 - draft-ietf-http-v11-spec-rev-01?).static int
MULTIPLE_CHOICES
300 Mutliple Choices (HTTP/1.1 - RFC 2616).static int
NO_CONTENT
204 No Content (HTTP/1.0 - RFC 1945).static int
NON_AUTHORITATIVE_INFORMATION
203 Non Authoritative Information (HTTP/1.1 - RFC 2616).static int
NOT_ACCEPTABLE
406 Not Acceptable (HTTP/1.1 - RFC 2616).static int
NOT_FOUND
404 Not Found (HTTP/1.0 - RFC 1945).static int
NOT_IMPLEMENTED
501 Not Implemented (HTTP/1.0 - RFC 1945).static int
NOT_MODIFIED
304 Not Modified (HTTP/1.0 - RFC 1945).static int
OK
200 OK (HTTP/1.0 - RFC 1945).static int
PARTIAL_CONTENT
206 Partial Content (HTTP/1.1 - RFC 2616).static int
PAYMENT_REQUIRED
402 Payment Required (HTTP/1.1 - RFC 2616).static int
PRECONDITION_FAILED
412 Precondition Failed (HTTP/1.1 - RFC 2616).static int
PROXY_AUTHENTICATION_REQUIRED
407 Proxy Authentication Required (HTTP/1.1 - RFC 2616).static int
REQUEST_TIMEOUT
408 Request Timeout (HTTP/1.1 - RFC 2616).static int
REQUEST_TOO_LONG
413 Request Entity Too Large (HTTP/1.1 - RFC 2616).static int
REQUEST_URI_TOO_LONG
414 Request-URI Too Long (HTTP/1.1 - RFC 2616).static int
REQUESTED_RANGE_NOT_SATISFIABLE
416 Requested Range Not Satisfiable (HTTP/1.1 - RFC 2616).static int
RESET_CONTENT
205 Reset Content (HTTP/1.1 - RFC 2616).static int
SEE_OTHER
303 See Other (HTTP/1.1 - RFC 2616).static int
SERVICE_UNAVAILABLE
503 Service Unavailable (HTTP/1.0 - RFC 1945).static int
TEMPORARY_REDIRECT
307 Temporary Redirect (HTTP/1.1 - RFC 2616).static int
TOO_MANY_REQUESTS
429 Too Many Requests.static int
UNAUTHORIZED
401 Unauthorized (HTTP/1.0 - RFC 1945).static int
UNPROCESSABLE_ENTITY
422 Unprocessable Entity (WebDAV - RFC 2518).static int
UNSUPPORTED_MEDIA_TYPE
415 Unsupported Media Type (HTTP/1.1 - RFC 2616).static int
USE_PROXY
305 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
-
-