final case classEntityStreamSizeException(limit: Long, actualSize: Option[Long] = None) extends RuntimeException with Product with Serializable
This exception is thrown when the size of the HTTP Entity exceeds the configured limit.
It is possible to configure the limit using configuration options akka.http.parsing.max-content-length
or specifically for the server or client side by setting akka.http.[server|client].parsing.max-content-length.
The limit can also be configured in code, by calling HttpEntity#withSizeLimit
on the entity before materializing its dataBytes stream.
This exception is thrown when the size of the HTTP Entity exceeds the configured limit. It is possible to configure the limit using configuration options
akka.http.parsing.max-content-length
or specifically for the server or client side by settingakka.http.[server|client].parsing.max-content-length
.The limit can also be configured in code, by calling HttpEntity#withSizeLimit on the entity before materializing its
dataBytes
stream.