Java org.springframework.http HttpStatus fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.http HttpStatus fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.http HttpStatus.

The text is from its open source code.

Field

HttpStatusCONTINUE
100 Continue .
HttpStatusSWITCHING_PROTOCOLS
101 Switching Protocols .
HttpStatusPROCESSING
102 Processing .
HttpStatusOK
200 OK .
HttpStatusCREATED
201 Created .
HttpStatusACCEPTED
202 Accepted .
HttpStatusNON_AUTHORITATIVE_INFORMATION
203 Non-Authoritative Information .
HttpStatusNO_CONTENT
204 No Content .
HttpStatusPARTIAL_CONTENT
206 Partial Content .
HttpStatusMULTI_STATUS
207 Multi-Status .
HttpStatusALREADY_REPORTED
208 Already Reported .
HttpStatusMULTIPLE_CHOICES
300 Multiple Choices .
HttpStatusMOVED_PERMANENTLY
301 Moved Permanently .
HttpStatusFOUND
302 Found .
HttpStatusMOVED_TEMPORARILY
302 Moved Temporarily .
HttpStatusSEE_OTHER
303 See Other .
HttpStatusNOT_MODIFIED
304 Not Modified .
HttpStatusTEMPORARY_REDIRECT
307 Temporary Redirect .
HttpStatusPERMANENT_REDIRECT
308 Permanent Redirect .
HttpStatusBAD_REQUEST
400 Bad Request .
HttpStatusUNAUTHORIZED
401 Unauthorized .
HttpStatusPAYMENT_REQUIRED
402 Payment Required .
HttpStatusFORBIDDEN
403 Forbidden .
HttpStatusNOT_FOUND
404 Not Found .
HttpStatusMETHOD_NOT_ALLOWED
405 Method Not Allowed .
HttpStatusNOT_ACCEPTABLE
406 Not Acceptable .
HttpStatusPROXY_AUTHENTICATION_REQUIRED
407 Proxy Authentication Required .
HttpStatusREQUEST_TIMEOUT
408 Request Timeout .
HttpStatusCONFLICT
409 Conflict .
HttpStatusGONE
410 Gone .
HttpStatusPRECONDITION_FAILED
412 Precondition failed .
HttpStatusPAYLOAD_TOO_LARGE
413 Payload Too Large .
HttpStatusREQUEST_ENTITY_TOO_LARGE
413 Request Entity Too Large .
HttpStatusREQUEST_URI_TOO_LONG
414 Request-URI Too Long .
HttpStatusUNSUPPORTED_MEDIA_TYPE
415 Unsupported Media Type .
HttpStatusREQUESTED_RANGE_NOT_SATISFIABLE
416 Requested Range Not Satisfiable .
HttpStatusEXPECTATION_FAILED
417 Expectation Failed .
HttpStatusI_AM_A_TEAPOT
418 I'm a teapot .
HttpStatusMETHOD_FAILURE
HttpStatusUNPROCESSABLE_ENTITY
422 Unprocessable Entity .
HttpStatusLOCKED
423 Locked .
HttpStatusFAILED_DEPENDENCY
424 Failed Dependency .
HttpStatusUPGRADE_REQUIRED
426 Upgrade Required .
HttpStatusTOO_MANY_REQUESTS
429 Too Many Requests .
HttpStatusINTERNAL_SERVER_ERROR
500 Internal Server Error .
HttpStatusNOT_IMPLEMENTED
501 Not Implemented .
HttpStatusBAD_GATEWAY
502 Bad Gateway .
HttpStatusSERVICE_UNAVAILABLE
503 Service Unavailable .
HttpStatusGATEWAY_TIMEOUT
504 Gateway Timeout .
HttpStatusINSUFFICIENT_STORAGE
507 Insufficient Storage
HttpStatusBANDWIDTH_LIMIT_EXCEEDED
509 Bandwidth Limit Exceeded
HttpStatusNETWORK_AUTHENTICATION_REQUIRED
511 Network Authentication Required .
intvalue

Method

booleanequals(Object obj)
Indicates whether some other object is "equal to" this one.
StringgetReasonPhrase()
Return the reason phrase of this status code.
booleanis1xxInformational()
Whether this status code is in the HTTP series org.springframework.http.HttpStatus.Series#INFORMATIONAL .
booleanis2xxSuccessful()
Whether this status code is in the HTTP series org.springframework.http.HttpStatus.Series#SUCCESSFUL .
booleanis3xxRedirection()
Whether this status code is in the HTTP series org.springframework.http.HttpStatus.Series#REDIRECTION .
booleanis4xxClientError()
Whether this status code is in the HTTP series org.springframework.http.HttpStatus.Series#CLIENT_ERROR .
booleanis5xxServerError()
Whether this status code is in the HTTP series org.springframework.http.HttpStatus.Series#SERVER_ERROR .
HttpStatusresolve(int statusCode)
Resolve the given status code to an HttpStatus , if possible.
Seriesseries()
Return the HTTP status series of this status code.
StringtoString()
Return a string representation of this status code.
HttpStatusvalueOf(int statusCode)
Return the enum constant of this type with the specified numeric value.