Uses of Enum Class
org.springframework.http.HttpStatus
Package
Description
Contains a basic abstraction over client/server-side HTTP.
AssertJ support for MockMvc.
Provides generic filter base classes allowing for bean-style configuration.
Infrastructure for annotation-based handler method processing.
MVC infrastructure for annotation-based handler method processing, building on the
org.springframework.web.method.annotation
package.-
Uses of HttpStatus in org.springframework.http
Modifier 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.Modifier and TypeMethodDescriptionvoid
ProblemDetail.setStatus
(HttpStatus httpStatus) Setter for theproblem status
.static HttpStatus.Series
HttpStatus.Series.valueOf
(HttpStatus status) Deprecated. -
Uses of HttpStatus in org.springframework.test.web.servlet.assertj
Modifier and TypeMethodDescriptionAbstractHttpServletResponseAssert.hasStatus
(HttpStatus status) Verify that the HTTP status is equal to the specified status. -
Uses of HttpStatus in org.springframework.web.filter
Modifier and TypeMethodDescriptionUrlHandlerFilter.Builder.TrailingSlashSpec.redirect
(HttpStatus status) Handle requests by sending a redirect to the same URL but the trailing slash trimmed. -
Uses of HttpStatus in org.springframework.web.reactive.result.method.annotation
Modifier and TypeMethodDescriptionprotected reactor.core.publisher.Mono<ResponseEntity<Object>>
ResponseEntityExceptionHandler.handleMethodValidationException
(MethodValidationException ex, HttpStatus status, ServerWebExchange exchange) Customize the handling ofMethodValidationException
. -
Uses of HttpStatus in org.springframework.web.servlet.mvc.method.annotation
Modifier and TypeMethodDescriptionprotected ResponseEntity<Object>
ResponseEntityExceptionHandler.handleMethodValidationException
(MethodValidationException ex, HttpHeaders headers, HttpStatus status, WebRequest request) Customize the handling ofMethodValidationException
.
series()
directly