public final class HttpStatus
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
static HttpStatus |
of(int value)
Returns the
HttpStatus instance for the given value . |
int |
value()
Returns the
int representation of the HTTP status code. |
public static final HttpStatus CONTINUE
public static final HttpStatus SWITCHING_PROTOCOLS
public static final HttpStatus OK
public static final HttpStatus CREATED
public static final HttpStatus ACCEPTED
public static final HttpStatus NON_AUTHORITATIVE_INFORMATION
public static final HttpStatus NO_CONTENT
public static final HttpStatus RESET_CONTENT
public static final HttpStatus PARTIAL_CONTENT
public static final HttpStatus MULTIPLE_CHOICES
public static final HttpStatus MOVED_P
public static final HttpStatus FOUND
public static final HttpStatus SEE_OTHER
public static final HttpStatus NOT_MODIFIED
public static final HttpStatus USE_PROXY
public static final HttpStatus TEMPORARY_REDIRECT
public static final HttpStatus PERMANENT_REDIRECT
public static final HttpStatus BAD_REQUEST
public static final HttpStatus UNAUTHORIZED
public static final HttpStatus PAYMENT_REQUIRED
public static final HttpStatus FORBIDDEN
public static final HttpStatus NOT_FOUND
public static final HttpStatus METHOD_NOT_ALLOW
public static final HttpStatus NOT_ACCEPTABLE
public static final HttpStatus PROXY_AUTHENTICATION_REQUIRED
public static final HttpStatus REQUEST_TIMEOUT
public static final HttpStatus CONFLICT
public static final HttpStatus GONE
public static final HttpStatus LENGTH_REQUIRED
public static final HttpStatus PRECONDITION_FAILED
public static final HttpStatus REQUEST_ENTITY_TOO_LARGE
public static final HttpStatus REQUEST_URI_TOO_LONG
public static final HttpStatus UNSUPPORTED_MEDIA_TYPE
public static final HttpStatus REQUESTED_RANGE_NOT_SATISFIABLE
public static final HttpStatus EXPECTATION_FAILED
public static final HttpStatus INVALID_XPRIVET_TOKEN
public static final HttpStatus TOO_EARLY
public static final HttpStatus INTERNAL_SERVER_ERROR
public static final HttpStatus NOT_IMPLEMENTED
public static final HttpStatus BAD_GATEWAY
public static final HttpStatus SERVICE_UNAVAILABLE
public static final HttpStatus GATEWAY_TIMEOUT
public static final HttpStatus VERSION_NOT_SUPPORTED
public static HttpStatus of(int value)
HttpStatus
instance for the given value
.value
- the HTTP response status code. For example, 200, 201, 404public int value()
int
representation of the HTTP status code.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object