| Modifier and Type | Field and Description |
|---|---|
| private final long | actual
The actual size of the request. |
| private final long | permitted
The maximum permitted size of the request. |
| private static final long | serialVersionUID
Hides org. |
| Access | Constructor and Description |
|---|---|
| protected | SizeException(final String
The detail message. message, final long The actual number of bytes in the request. actual, final long The requests size limit, in bytes. permitted)Creates a new instance. |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public long | Returns: The permitted size of the request.Retrieves the permitted size of the request. |
| actual | back to summary |
|---|---|
| private final long actual The actual size of the request. | |
| permitted | back to summary |
|---|---|
| private final long permitted The maximum permitted size of the request. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides org. Serial version UID, being used, if serialized. | |
| SizeException | back to summary |
|---|---|
| protected SizeException(final String message, final long actual, final long permitted) Creates a new instance.
| |
| getActualSize | back to summary |
|---|---|
| public long getActualSize() Retrieves the actual size of the request.
| |
| getPermittedSize | back to summary |
|---|---|
| public long getPermittedSize() Retrieves the permitted size of the request.
| |