Package | Description |
---|---|
org.springframework.web.bind.support |
Support classes for web data binding.
|
org.springframework.web.server |
Core interfaces and classes for Spring's generic, reactive web support.
|
org.springframework.web.servlet.mvc.annotation |
Support package for annotation-based Servlet MVC controllers.
|
Modifier and Type | Class and Description |
---|---|
class |
WebExchangeBindException
A specialization of
ServerWebInputException thrown when after data
binding and validation failure. |
Modifier and Type | Class and Description |
---|---|
class |
MediaTypeNotSupportedStatusException
Exception for errors that fit response status 415 (unsupported media type).
|
class |
MethodNotAllowedException
Exception for errors that fit response status 405 (method not allowed).
|
class |
NotAcceptableStatusException
Exception for errors that fit response status 406 (not acceptable).
|
class |
ServerErrorException
Exception for an
HttpStatus.INTERNAL_SERVER_ERROR that exposes extra
information about a controller method that failed, or a controller method
argument that could not be resolved. |
class |
ServerWebInputException
Exception for errors that fit response status 400 (bad request) for use in
Spring Web applications.
|
class |
UnsupportedMediaTypeStatusException
Exception for errors that fit response status 416 (unsupported media type).
|
Modifier and Type | Method and Description |
---|---|
protected ModelAndView |
ResponseStatusExceptionResolver.resolveResponseStatusException(ResponseStatusException ex,
HttpServletRequest request,
HttpServletResponse response,
Object handler)
Template method that handles an
ResponseStatusException . |