public final class EntityStreamSizeException
extends java.lang.RuntimeException
implements scala.Product, java.io.Serializable
pekko.http.parsing.max-content-length
or specifically for the server or client side by setting pekko.http.[server|client].parsing.max-content-length
.
The limit can also be configured in code, by calling HttpEntity.withSizeLimit(long)
on the entity before materializing its dataBytes
stream.
Constructor and Description |
---|
EntityStreamSizeException(long limit,
scala.Option<java.lang.Object> actualSize) |
Modifier and Type | Method and Description |
---|---|
scala.Option<java.lang.Object> |
actualSize() |
abstract static R |
apply(T1 v1,
T2 v2) |
java.lang.String |
getMessage() |
long |
limit() |
java.lang.String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public EntityStreamSizeException(long limit, scala.Option<java.lang.Object> actualSize)
public abstract static R apply(T1 v1, T2 v2)
public long limit()
public scala.Option<java.lang.Object> actualSize()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.String toString()
toString
in class java.lang.Throwable