ServletRequestBindingException subclass that indicates an unsatisfied
parameter condition, as typically expressed using an @RequestMapping
annotation at the @Controller type level.
org.springframework.web.bind.annotation.RequestMapping#params()
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private final List |
| Access | Constructor and Description |
|---|---|
| public | UnsatisfiedServletRequestParameterException(String[]
the parameter conditions that have been violated paramConditions, Map<String, String[]> the actual parameter Map associated with the ServletRequest actualParams)Create a new UnsatisfiedServletRequestParameterException. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final Map | |
| public String | getMessage()
Overrides java. Returns the detail message string of this throwable. |
| public final List | |
| public final String[] | getParamConditions()
Return the parameter conditions that have been violated or the first group in case of multiple groups. |
| private static List | |
| private static String |
| actualParams | back to summary |
|---|---|
| private final Map<String, String[]> actualParams | |
| paramConditions | back to summary |
|---|---|
| private final List<String[]> paramConditions | |
| UnsatisfiedServletRequestParameterException | back to summary |
|---|---|
| public UnsatisfiedServletRequestParameterException(String[] paramConditions, Map<String, String[]> actualParams) Create a new UnsatisfiedServletRequestParameterException. | |
| UnsatisfiedServletRequestParameterException | back to summary |
|---|---|
| public UnsatisfiedServletRequestParameterException(List<String[]> paramConditions, Map<String, String[]> actualParams) Create a new UnsatisfiedServletRequestParameterException. | |
| getActualParams | back to summary |
|---|---|
| public final Map Return the actual parameter Map associated with the ServletRequest. | |
| getMessage | back to summary |
|---|---|
| public String getMessage() Overrides java. Doc from java. Returns the detail message string of this throwable. | |
| getParamConditionGroups | back to summary |
|---|---|
| public final List Return all parameter condition groups that have been violated.
| |
| getParamConditions | back to summary |
|---|---|
| public final String[] getParamConditions() Return the parameter conditions that have been violated or the first group in case of multiple groups. | |
| paramsToStringList | back to summary |
|---|---|
| private static List | |
| requestParameterMapToString | back to summary |
|---|---|
| private static String requestParameterMapToString(Map<String, String[]> actualParams) | |