final
case class
EntityStreamSizeException(limit: Long, actualSize: Option[Long] = None) extends RuntimeException with Product with Serializable
Instance Constructors
-
new
EntityStreamSizeException(limit: Long, actualSize: Option[Long] = None)
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
-
final
def
==(arg0: Any): Boolean
-
-
final
def
addSuppressed(arg0: Throwable): Unit
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
-
-
-
-
def
fillInStackTrace(): Throwable
-
def
finalize(): Unit
-
def
formatted(fmtstr: String): String
-
-
final
def
getClass(): Class[_]
-
def
getLocalizedMessage(): String
-
def
getMessage(): String
-
-
final
def
getSuppressed(): Array[Throwable]
-
-
final
def
isInstanceOf[T0]: Boolean
-
val
limit: Long
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
-
-
def
printStackTrace(): Unit
-
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
Deprecated Value Members
-
def
getStackTraceString: String
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.