public class RequestBodyTooLargeException extends IOException
Extends IOException so that it propagates through the existing
request-handling signatures. Request handlers translate this into an HTTP 413
(Request Entity Too Large) response, or, for push messages, into a refresh
and disconnect.
| Constructor and Description |
|---|
RequestBodyTooLargeException(long maxBodySize)
Creates a new exception for a request body that exceeded the given
maximum size.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getMaxBodySize()
Gets the configured maximum request body size, in characters, that was
exceeded.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringCopyright © 2000–2026 Vaadin Ltd. All rights reserved.