Uses of Enum Class
org.springframework.http.HttpStatus
Packages that use HttpStatus
Package
Description
Contains a basic abstraction over client/server-side HTTP.
-
Uses of HttpStatus in org.springframework.http
Methods in org.springframework.http that return HttpStatusModifier and TypeMethodDescriptionstatic HttpStatus
HttpStatus.resolve
(int statusCode) Resolve the given status code to anHttpStatus
, if possible.static HttpStatus
HttpStatus.valueOf
(int statusCode) Return theHttpStatus
enum constant with the specified numeric value.static HttpStatus
Returns the enum constant of this class with the specified name.static HttpStatus[]
HttpStatus.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.springframework.http with parameters of type HttpStatusModifier and TypeMethodDescriptionvoid
ProblemDetail.setStatus
(HttpStatus httpStatus) Setter for theproblem status
.static HttpStatus.Series
HttpStatus.Series.valueOf
(HttpStatus status) Deprecated.
series()
directly