BaseApplicationResponse
Constructors
Types
Link copied to clipboard
class BodyLengthIsTooLong(expected: Long) : IllegalStateException, CopyableThrowable<BaseApplicationResponse.BodyLengthIsTooLong>
Content's body size doesn't match the provided one in Content-Length
header
Link copied to clipboard
class BodyLengthIsTooSmall(expected: Long, actual: Long) : IllegalStateException, CopyableThrowable<BaseApplicationResponse.BodyLengthIsTooSmall>
Content's body size doesn't match the provided one in Content-Length
header
Link copied to clipboard
class InvalidHeaderForContent(name: String, content: String) : IllegalStateException, CopyableThrowable<BaseApplicationResponse.InvalidHeaderForContent>
OutgoingContent is trying to set some header that is not allowed for this content type. For example, only upgrade content can set Upgrade
header.
Link copied to clipboard
Thrown when there was already response sent but we are trying to respond again