MultipartResolver.Note
This exception does not extend from
org. because
it can also be raised at a lower level, i.e. from this package which does
low level multipart request parsing, independent of higher level request
binding features.
| Modifier and Type | Field and Description |
|---|---|
| private final ProblemDetail | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | MissingServletRequestPartException(String
the name of the missing part of the multipart request requestPartName)Constructor for MissingServletRequestPartException. |
| Modifier and Type | Method and Description |
|---|---|
| public ProblemDetail | getBody()
Implements org. ProblemDetail whose status
should match the response status.
|
| public Object[] | getDetailMessageArguments()
Overrides default org. message code to resolve the problem "detail" for this exception
through a MessageSource.
|
| public String | |
| public HttpStatusCode | getStatusCode()
Implements org. |
| body | back to summary |
|---|---|
| private final ProblemDetail body | |
| requestPartName | back to summary |
|---|---|
| private final String requestPartName | |
| MissingServletRequestPartException | back to summary |
|---|---|
| public MissingServletRequestPartException(String requestPartName) Constructor for MissingServletRequestPartException.
| |
| getBody | back to summary |
|---|---|
| public ProblemDetail getBody() Implements org. Return the body for the response, formatted as an RFC 7807
| |
| getDetailMessageArguments | back to summary |
|---|---|
| public Object[] getDetailMessageArguments() Overrides default org. Doc from org. Return arguments to use along with a
| |
| getRequestPartName | back to summary |
|---|---|
| public String getRequestPartName() Return the name of the offending part of the multipart request. | |
| getStatusCode | back to summary |
|---|---|
| public HttpStatusCode getStatusCode() Implements org. Return the HTTP status code to use for the response.
| |