Uses of Class
org.springframework.web.server.ResponseStatusException
Packages that use ResponseStatusException 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.Uses of ResponseStatusException in org.springframework.web.bind.support
Subclasses of ResponseStatusException in org.springframework.web.bind.support Modifier and Type Class Description class
WebExchangeBindException
A specialization ofServerWebInputException
thrown when after data binding and validation failure.Uses of ResponseStatusException in org.springframework.web.server
Subclasses of ResponseStatusException in org.springframework.web.server Modifier and Type Class Description class
MediaTypeNotSupportedStatusException
Deprecated.in favor ofUnsupportedMediaTypeStatusException
, with this class never thrown by Spring code and to be removed in 5.3class
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 anHttpStatus.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 415 (unsupported media type).Uses of ResponseStatusException in org.springframework.web.servlet.mvc.annotation
Methods in org.springframework.web.servlet.mvc.annotation with parameters of type ResponseStatusException Modifier and Type Method Description protected ModelAndView
ResponseStatusExceptionResolver. resolveResponseStatusException(ResponseStatusException ex, HttpServletRequest request, HttpServletResponse response, Object handler)
Template method that handles anResponseStatusException
.