Package org.springframework.web.server
Class UnsatisfiedRequestParameterException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.web.ErrorResponseException
org.springframework.web.server.ResponseStatusException
org.springframework.web.server.ServerWebInputException
org.springframework.web.server.UnsatisfiedRequestParameterException
- All Implemented Interfaces:
Serializable
,ErrorResponse
ServerWebInputException
subclass that indicates an unsatisfied
parameter condition, as typically expressed using an @RequestMapping
annotation at the @Controller
type level.- Since:
- 6.0
- Author:
- Rossen Stoyanchev
- See Also:
-
Constructor Summary
ConstructorDescriptionUnsatisfiedRequestParameterException
(List<String> conditions, MultiValueMap<String, String> requestParams) -
Method Summary
Modifier and TypeMethodDescriptionReturn String representations of the unsatisfied condition(s).Return the actual request parameters.Methods inherited from class org.springframework.web.server.ServerWebInputException
getMethodParameter
Methods inherited from class org.springframework.web.server.ResponseStatusException
getHeaders, getMessage, getReason, getResponseHeaders
Methods inherited from class org.springframework.web.ErrorResponseException
getBody, getStatusCode, setDetail, setInstance, setTitle, setType
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnsatisfiedRequestParameterException
public UnsatisfiedRequestParameterException(List<String> conditions, MultiValueMap<String, String> requestParams)
-
-
Method Details
-
getConditions
Return String representations of the unsatisfied condition(s). -
getRequestParams
Return the actual request parameters.
-