Package ratpack.core.http
Class RequestBodyTooLargeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- ratpack.core.http.ClientErrorException
-
- ratpack.core.http.RequestBodyTooLargeException
-
- All Implemented Interfaces:
Serializable
public class RequestBodyTooLargeException extends ClientErrorException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RequestBodyTooLargeException(long maxContentLength, long receivedContentLength)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getClientErrorCode()
long
getMaxContentLength()
long
getReceivedContentLength()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getMaxContentLength
public long getMaxContentLength()
-
getReceivedContentLength
public long getReceivedContentLength()
-
getClientErrorCode
public int getClientErrorCode()
- Specified by:
getClientErrorCode
in classClientErrorException
-
-