| Modifier and Type | Field and Description |
|---|---|
static HttpStatus |
HttpStatus.ACCEPTED
202 Accepted |
static HttpStatus |
HttpStatus.ALREADY_REPORTED
208 Already Reported |
static HttpStatus |
HttpStatus.BAD_GATEWAY
502 Bad Gateway |
static HttpStatus |
HttpStatus.BAD_REQUEST
400 Bad Request |
static HttpStatus |
HttpStatus.CONFLICT
409 Conflict |
static HttpStatus |
HttpStatus.CONTINUE
100 Continue |
static HttpStatus |
HttpStatus.CREATED
201 Created |
static HttpStatus |
HttpStatus.EXPECTATION_FAILED
417 Expectation Failed |
static HttpStatus |
HttpStatus.FAILED_DEPENDENCY
424 Failed Dependency |
static HttpStatus |
HttpStatus.FORBIDDEN
403 Forbidden |
static HttpStatus |
HttpStatus.FOUND
302 Found |
static HttpStatus |
HttpStatus.GATEWAY_TIMEOUT
504 Gateway Timeout |
static HttpStatus |
HttpStatus.GONE
410 Gone |
static HttpStatus |
HttpStatus.HTTP_VERSION_NOT_SUPPORTED
505 HTTP Version Not Supported |
static HttpStatus |
HttpStatus.IM_USED
226 IM Used |
static HttpStatus |
HttpStatus.INSUFFICIENT_STORAGE
507 Insufficient Storage |
static HttpStatus |
HttpStatus.INTERNAL_SERVER_ERROR
500 Internal Server Error |
static HttpStatus |
HttpStatus.LENGTH_REQUIRED
411 Length Required |
static HttpStatus |
HttpStatus.LOCKED
423 Locked |
static HttpStatus |
HttpStatus.LOOP_DETECTED
508 Loop Detected |
static HttpStatus |
HttpStatus.METHOD_NOT_ALLOWED
405 Method Not Allowed |
static HttpStatus |
HttpStatus.MOVED_PERMANENTLY
301 Moved Permanently |
static HttpStatus |
HttpStatus.MULTI_STATUS
207 Multi-Status |
static HttpStatus |
HttpStatus.MULTIPLE_CHOICES
300 Multiple Choices |
static HttpStatus |
HttpStatus.NETWORK_AUTHENTICATION_REQUIRED
511 Network Authentication Required |
static HttpStatus |
HttpStatus.NO_CONTENT
204 No Content |
static HttpStatus |
HttpStatus.NON_AUTHORITATIVE_INFORMATION
203 Non-Authoritative Information |
static HttpStatus |
HttpStatus.NOT_ACCEPTABLE
406 Not Acceptable |
static HttpStatus |
HttpStatus.NOT_EXTENDED
510 Not Extended |
static HttpStatus |
HttpStatus.NOT_FOUND
404 Not Found |
static HttpStatus |
HttpStatus.NOT_IMPLEMENTED
501 Not Implemented |
static HttpStatus |
HttpStatus.NOT_MODIFIED
304 Not Modified |
static HttpStatus |
HttpStatus.OK
200 OK |
static HttpStatus |
HttpStatus.PARTIAL_CONTENT
206 Partial Content |
static HttpStatus |
HttpStatus.PAYMENT_REQUIRED
402 Payment Required |
static HttpStatus |
HttpStatus.PERMANENT_REDIRECT
308 Permanent Redirect |
static HttpStatus |
HttpStatus.PRECONDITION_FAILED
412 Precondition Failed |
static HttpStatus |
HttpStatus.PRECONDITION_REQUIRED
428 Precondition Required |
static HttpStatus |
HttpStatus.PROCESSING
102 Processing |
static HttpStatus |
HttpStatus.PROXY_AUTHENTICATION_REQUIRED
407 Proxy Authentication Required |
static HttpStatus |
HttpStatus.REQUEST_ENTITY_TOO_LARGE
413 Request Entity Too Large |
static HttpStatus |
HttpStatus.REQUEST_HEADER_FIELDS_TOO_LARGE
431 Request Header Fields Too Large |
static HttpStatus |
HttpStatus.REQUEST_TIMEOUT
408 Request Timeout |
static HttpStatus |
HttpStatus.REQUEST_URI_TOO_LONG
414 Request-URI Too Long |
static HttpStatus |
HttpStatus.REQUESTED_RANGE_NOT_SATISFIABLE
416 Requested Range Not Satisfiable |
static HttpStatus |
HttpStatus.RESERVED
306 Reserved |
static HttpStatus |
HttpStatus.RESET_CONTENT
205 Reset Content |
static HttpStatus |
HttpStatus.SEE_OTHER
303 See Other |
static HttpStatus |
HttpStatus.SERVICE_UNAVAILABLE
503 Service Unavailable |
static HttpStatus |
HttpStatus.SWITCHING_PROTOCOLS
101 Switching Protocols |
static HttpStatus |
HttpStatus.TEMPORARY_REDIRECT
307 Temporary Redirect |
static HttpStatus |
HttpStatus.TOO_MANY_REQUESTS
429 Too Many Requests |
static HttpStatus |
HttpStatus.UNAUTHORIZED
401 Unauthorized |
static HttpStatus |
HttpStatus.UNPROCESSABLE_ENTITY
422 Unprocessable Entity |
static HttpStatus |
HttpStatus.UNSUPPORTED_MEDIA_TYPE
415 Unsupported Media Type |
static HttpStatus |
HttpStatus.UPGRADE_REQUIRED
426 Upgrade Required |
static HttpStatus |
HttpStatus.USE_PROXY
305 Use Proxy |
static HttpStatus |
HttpStatus.VARIANT_ALSO_NEGOTIATES
506 Variant Also Negotiates (Experimental) |
| Modifier and Type | Method and Description |
|---|---|
HttpStatus |
HttpStatus.newReason(String reason)
Creates a status with new reason.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
AbstractServerHttpExchange.doSetStatus(HttpStatus status) |
ServerHttpExchange |
AbstractServerHttpExchange.setStatus(HttpStatus status) |
ServerHttpExchange |
ServerHttpExchange.setStatus(HttpStatus status)
Sets the HTTP status for the response.
|
Copyright © 2015–2018. All rights reserved.