BodyTooLarge

constructor(limit: Long, declared: Long?, cause: Throwable?)(source)

Parameters

limit

the transport's limit in bytes; not negative.

declared

the length the server declared, or null; not negative when present.

cause

the lower-level throwable, or null.


constructor(limit: Long, declared: Long?)(source)

Creates the failure without a cause.

Parameters

limit

the transport's limit in bytes; not negative.

declared

the length the server declared, or null.

Throws