Package org.jboss.resteasy.reactive
Class RestResponse.StatusCode
java.lang.Object
org.jboss.resteasy.reactive.RestResponse.StatusCode
- Enclosing class:
- RestResponse<T>
Commonly used status codes defined by HTTP, see
{@link <a href="https://tools.ietf.org/html/rfc7231#section-6.2">HTTP/1.1 documentation}
for the complete list.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
202 Accepted, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.3.3">HTTP/1.1 documentation}.static final int
502 Bad Gateway, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.6.3">HTTP/1.1 documentation}.static final int
400 Bad Request, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.5.1">HTTP/1.1 documentation}.static final int
409 Conflict, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.5.8">HTTP/1.1 documentation}.static final int
100 Continue, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.2.1">HTTP/1.1 documentation}.static final int
201 Created, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.3.2">HTTP/1.1 documentation}.static final int
417 Expectation Failed, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.5.14">HTTP/1.1 documentation}.static final int
403 Forbidden, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.5.3">HTTP/1.1 documentation}.static final int
302 Found, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.4.3">HTTP/1.1 documentation}.static final int
504 Gateway Timeout, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.6.5">HTTP/1.1 documentation}.static final int
410 Gone, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.5.9">HTTP/1.1 documentation}.static final int
505 HTTP Version Not Supported, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.6.6">HTTP/1.1 documentation}.static final int
500 Internal Server Error, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.6.1">HTTP/1.1 documentation}.static final int
411 Length Required, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.5.10">HTTP/1.1 documentation}.static final int
405 Method Not Allowed, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.5.5">HTTP/1.1 documentation}.static final int
301 Moved Permanently, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.4.2">HTTP/1.1 documentation}.static final int
300 Multiple Choices, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.4.1">HTTP/1.1 documentation}.static final int
511 Network Authentication Required, see {@link <a href="https://tools.ietf.org/html/rfc6585#section-6">RFC 6585: Additional HTTP Status Codes}.static final int
204 No Content, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.3.5">HTTP/1.1 documentation}.static final int
203 Non-Authoritative Information, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.3.4">HTTP/1.1 documentation}.static final int
406 Not Acceptable, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.5.6">HTTP/1.1 documentation}.static final int
404 Not Found, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.5.4">HTTP/1.1 documentation}.static final int
501 Not Implemented, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.6.2">HTTP/1.1 documentation}.static final int
304 Not Modified, see {@link <a href="https://tools.ietf.org/html/rfc7232#section-4.1">HTTP/1.1 documentation}.static final int
200 OK, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.3.1">HTTP/1.1 documentation}.static final int
206 Reset Content, see {@link <a href="https://tools.ietf.org/html/rfc7233#section-4.1">HTTP/1.1 documentation}.static final int
413 Payload Too Large, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.5.11">HTTP/1.1 documentation}.static final int
402 Payment Required, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.5.2">HTTP/1.1 documentation}.static final int
308 Permanent Redirect, see {@link <a href="https://tools.ietf.org/html/rfc7238#section-3">HTTP/1.1 documentation}.static final int
412 Precondition Failed, see {@link <a href="https://tools.ietf.org/html/rfc7232#section-4.2">HTTP/1.1 documentation}.static final int
428 Precondition required, see {@link <a href="https://tools.ietf.org/html/rfc6585#section-3">RFC 6585: Additional HTTP Status Codes}.static final int
407 Proxy Authentication Required, see {@link <a href="https://tools.ietf.org/html/rfc7235#section-3.2">HTTP/1.1 documentation}.static final int
431 Request Header Fields Too Large, see {@link <a href="https://tools.ietf.org/html/rfc6585#section-5">RFC 6585: Additional HTTP Status Codes}.static final int
408 Request Timeout, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.5.7">HTTP/1.1 documentation}.static final int
416 Requested Range Not Satisfiable, see {@link <a href="https://tools.ietf.org/html/rfc7233#section-4.4">HTTP/1.1 documentation}.static final int
205 Reset Content, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.3.5">HTTP/1.1 documentation}.static final int
303 See Other, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.4.4">HTTP/1.1 documentation}.static final int
503 Service Unavailable, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.6.4">HTTP/1.1 documentation}.static final int
101 Switching Protocols, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.2.2">HTTP/1.1 documentation}.static final int
307 Temporary Redirect, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.4.7">HTTP/1.1 documentation}.static final int
429 Too Many Requests, see {@link <a href="https://tools.ietf.org/html/rfc6585#section-4">RFC 6585: Additional HTTP Status Codes}.static final int
401 Unauthorized, see {@link <a href="https://tools.ietf.org/html/rfc7235#section-3.1">HTTP/1.1 documentation}.static final int
415 Unsupported Media Type, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.5.13">HTTP/1.1 documentation}.static final int
426 Upgrade Required, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.5.15">HTTP/1.1 documentation}.static final int
414 URI Too Long, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.5.12">HTTP/1.1 documentation}.static final int
305 Use Proxy, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.4.5">HTTP/1.1 documentation}. -
Constructor Summary
-
Method Summary
-
Field Details
-
CONTINUE
public static final int CONTINUE100 Continue, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.2.1">HTTP/1.1 documentation}.- See Also:
-
SWITCHING_PROTOCOLS
public static final int SWITCHING_PROTOCOLS101 Switching Protocols, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.2.2">HTTP/1.1 documentation}.- See Also:
-
OK
public static final int OK200 OK, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.3.1">HTTP/1.1 documentation}.- See Also:
-
CREATED
public static final int CREATED201 Created, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.3.2">HTTP/1.1 documentation}.- See Also:
-
ACCEPTED
public static final int ACCEPTED202 Accepted, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.3.3">HTTP/1.1 documentation}.- See Also:
-
NON_AUTHORITATIVE_INFORMATION
public static final int NON_AUTHORITATIVE_INFORMATION203 Non-Authoritative Information, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.3.4">HTTP/1.1 documentation}.- See Also:
-
NO_CONTENT
public static final int NO_CONTENT204 No Content, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.3.5">HTTP/1.1 documentation}.- See Also:
-
RESET_CONTENT
public static final int RESET_CONTENT205 Reset Content, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.3.5">HTTP/1.1 documentation}.- See Also:
-
PARTIAL_CONTENT
public static final int PARTIAL_CONTENT206 Reset Content, see {@link <a href="https://tools.ietf.org/html/rfc7233#section-4.1">HTTP/1.1 documentation}.- See Also:
-
MULTIPLE_CHOICES
public static final int MULTIPLE_CHOICES300 Multiple Choices, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.4.1">HTTP/1.1 documentation}.- See Also:
-
MOVED_PERMANENTLY
public static final int MOVED_PERMANENTLY301 Moved Permanently, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.4.2">HTTP/1.1 documentation}.- See Also:
-
FOUND
public static final int FOUND302 Found, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.4.3">HTTP/1.1 documentation}.- See Also:
-
SEE_OTHER
public static final int SEE_OTHER303 See Other, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.4.4">HTTP/1.1 documentation}.- See Also:
-
NOT_MODIFIED
public static final int NOT_MODIFIED304 Not Modified, see {@link <a href="https://tools.ietf.org/html/rfc7232#section-4.1">HTTP/1.1 documentation}.- See Also:
-
USE_PROXY
public static final int USE_PROXY305 Use Proxy, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.4.5">HTTP/1.1 documentation}.- See Also:
-
TEMPORARY_REDIRECT
public static final int TEMPORARY_REDIRECT307 Temporary Redirect, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.4.7">HTTP/1.1 documentation}.- See Also:
-
PERMANENT_REDIRECT
public static final int PERMANENT_REDIRECT308 Permanent Redirect, see {@link <a href="https://tools.ietf.org/html/rfc7238#section-3">HTTP/1.1 documentation}.- See Also:
-
BAD_REQUEST
public static final int BAD_REQUEST400 Bad Request, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.5.1">HTTP/1.1 documentation}.- See Also:
-
UNAUTHORIZED
public static final int UNAUTHORIZED401 Unauthorized, see {@link <a href="https://tools.ietf.org/html/rfc7235#section-3.1">HTTP/1.1 documentation}.- See Also:
-
PAYMENT_REQUIRED
public static final int PAYMENT_REQUIRED402 Payment Required, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.5.2">HTTP/1.1 documentation}.- See Also:
-
FORBIDDEN
public static final int FORBIDDEN403 Forbidden, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.5.3">HTTP/1.1 documentation}.- See Also:
-
NOT_FOUND
public static final int NOT_FOUND404 Not Found, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.5.4">HTTP/1.1 documentation}.- See Also:
-
METHOD_NOT_ALLOWED
public static final int METHOD_NOT_ALLOWED405 Method Not Allowed, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.5.5">HTTP/1.1 documentation}.- See Also:
-
NOT_ACCEPTABLE
public static final int NOT_ACCEPTABLE406 Not Acceptable, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.5.6">HTTP/1.1 documentation}.- See Also:
-
PROXY_AUTHENTICATION_REQUIRED
public static final int PROXY_AUTHENTICATION_REQUIRED407 Proxy Authentication Required, see {@link <a href="https://tools.ietf.org/html/rfc7235#section-3.2">HTTP/1.1 documentation}.- See Also:
-
REQUEST_TIMEOUT
public static final int REQUEST_TIMEOUT408 Request Timeout, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.5.7">HTTP/1.1 documentation}.- See Also:
-
CONFLICT
public static final int CONFLICT409 Conflict, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.5.8">HTTP/1.1 documentation}.- See Also:
-
GONE
public static final int GONE410 Gone, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.5.9">HTTP/1.1 documentation}.- See Also:
-
LENGTH_REQUIRED
public static final int LENGTH_REQUIRED411 Length Required, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.5.10">HTTP/1.1 documentation}.- See Also:
-
PRECONDITION_FAILED
public static final int PRECONDITION_FAILED412 Precondition Failed, see {@link <a href="https://tools.ietf.org/html/rfc7232#section-4.2">HTTP/1.1 documentation}.- See Also:
-
PAYLOAD_TOO_LARGE
public static final int PAYLOAD_TOO_LARGE413 Payload Too Large, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.5.11">HTTP/1.1 documentation}.- See Also:
-
URI_TOO_LONG
public static final int URI_TOO_LONG414 URI Too Long, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.5.12">HTTP/1.1 documentation}.- See Also:
-
UNSUPPORTED_MEDIA_TYPE
public static final int UNSUPPORTED_MEDIA_TYPE415 Unsupported Media Type, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.5.13">HTTP/1.1 documentation}.- See Also:
-
REQUESTED_RANGE_NOT_SATISFIABLE
public static final int REQUESTED_RANGE_NOT_SATISFIABLE416 Requested Range Not Satisfiable, see {@link <a href="https://tools.ietf.org/html/rfc7233#section-4.4">HTTP/1.1 documentation}.- See Also:
-
EXPECTATION_FAILED
public static final int EXPECTATION_FAILED417 Expectation Failed, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.5.14">HTTP/1.1 documentation}.- See Also:
-
UPGRADE_REQUIRED
public static final int UPGRADE_REQUIRED426 Upgrade Required, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.5.15">HTTP/1.1 documentation}.- See Also:
-
PRECONDITION_REQUIRED
public static final int PRECONDITION_REQUIRED428 Precondition required, see {@link <a href="https://tools.ietf.org/html/rfc6585#section-3">RFC 6585: Additional HTTP Status Codes}.- See Also:
-
TOO_MANY_REQUESTS
public static final int TOO_MANY_REQUESTS429 Too Many Requests, see {@link <a href="https://tools.ietf.org/html/rfc6585#section-4">RFC 6585: Additional HTTP Status Codes}.- See Also:
-
REQUEST_HEADER_FIELDS_TOO_LARGE
public static final int REQUEST_HEADER_FIELDS_TOO_LARGE431 Request Header Fields Too Large, see {@link <a href="https://tools.ietf.org/html/rfc6585#section-5">RFC 6585: Additional HTTP Status Codes}.- See Also:
-
INTERNAL_SERVER_ERROR
public static final int INTERNAL_SERVER_ERROR500 Internal Server Error, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.6.1">HTTP/1.1 documentation}.- See Also:
-
NOT_IMPLEMENTED
public static final int NOT_IMPLEMENTED501 Not Implemented, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.6.2">HTTP/1.1 documentation}.- See Also:
-
BAD_GATEWAY
public static final int BAD_GATEWAY502 Bad Gateway, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.6.3">HTTP/1.1 documentation}.- See Also:
-
SERVICE_UNAVAILABLE
public static final int SERVICE_UNAVAILABLE503 Service Unavailable, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.6.4">HTTP/1.1 documentation}.- See Also:
-
GATEWAY_TIMEOUT
public static final int GATEWAY_TIMEOUT504 Gateway Timeout, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.6.5">HTTP/1.1 documentation}.- See Also:
-
HTTP_VERSION_NOT_SUPPORTED
public static final int HTTP_VERSION_NOT_SUPPORTED505 HTTP Version Not Supported, see {@link <a href="https://tools.ietf.org/html/rfc7231#section-6.6.6">HTTP/1.1 documentation}.- See Also:
-
NETWORK_AUTHENTICATION_REQUIRED
public static final int NETWORK_AUTHENTICATION_REQUIRED511 Network Authentication Required, see {@link <a href="https://tools.ietf.org/html/rfc6585#section-6">RFC 6585: Additional HTTP Status Codes}.- See Also:
-
-
Constructor Details
-
StatusCode
public StatusCode()
-