| Modifier and Type | Field and Description |
|---|---|
| private static final ProblemDetail | |
| private final long |
| Access | Constructor and Description |
|---|---|
| public | MaxUploadSizeExceededException(long
the maximum upload size allowed,
or -1 if the size limit isn't known maxUploadSize)Constructor for MaxUploadSizeExceededException. |
| public | MaxUploadSizeExceededException(long
the maximum upload size allowed,
or -1 if the size limit isn't known maxUploadSize, Throwable root cause from multipart parsing API in use ex)Constructor for MaxUploadSizeExceededException. |
| Modifier and Type | Method and Description |
|---|---|
| public ProblemDetail | getBody()
Implements org. ProblemDetail whose status
should match the response status.
|
| public long | |
| public HttpStatusCode | getStatusCode()
Implements org. |
| body | back to summary |
|---|---|
| private static final ProblemDetail body | |
| maxUploadSize | back to summary |
|---|---|
| private final long maxUploadSize | |
| MaxUploadSizeExceededException | back to summary |
|---|---|
| public MaxUploadSizeExceededException(long maxUploadSize) Constructor for MaxUploadSizeExceededException.
| |
| MaxUploadSizeExceededException | back to summary |
|---|---|
| public MaxUploadSizeExceededException(long maxUploadSize, Throwable ex) Constructor for MaxUploadSizeExceededException.
| |
| getBody | back to summary |
|---|---|
| public ProblemDetail getBody() Implements org. Doc from org. Return the body for the response, formatted as an RFC 7807
| |
| getMaxUploadSize | back to summary |
|---|---|
| public long getMaxUploadSize() Return the maximum upload size allowed, or -1 if the size limit isn't known. | |
| getStatusCode | back to summary |
|---|---|
| public HttpStatusCode getStatusCode() Implements org. Doc from org. Return the HTTP status code to use for the response.
| |