ServerWebInputException subclass that indicates a missing request
value such as a request header, cookie value, query parameter, etc.
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final String | |
| private final Class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getLabel()
Return a label that describes the request value, e.g. "request header", "cookie value", etc. Use this to create a custom message. |
| public String | getName()
Return the name of the missing value, e.g. the name of the missing request header, or cookie, etc. |
| public Class |
| label | back to summary |
|---|---|
| private final String label | |
| name | back to summary |
|---|---|
| private final String name | |
| type | back to summary |
|---|---|
| private final Class<?> type | |
| MissingRequestValueException | back to summary |
|---|---|
| public MissingRequestValueException(String name, Class<?> type, String label, MethodParameter parameter) | |
| getLabel | back to summary |
|---|---|
| public String getLabel() Return a label that describes the request value, e.g. "request header", "cookie value", etc. Use this to create a custom message. | |
| getName | back to summary |
|---|---|
| public String getName() Return the name of the missing value, e.g. the name of the missing request header, or cookie, etc. | |
| getType | back to summary |
|---|---|
| public Class Return the target type the value is converted when present. | |