BaseApplicationResponse

expect abstract class BaseApplicationResponse(call: <ERROR CLASS>)

Base class for implementing an ApplicationResponse

actual abstract class BaseApplicationResponse : ApplicationResponse

Base class for implementing an ApplicationResponse

actual abstract class BaseApplicationResponse(call: <ERROR CLASS>)

Constructors

Link copied to clipboard
expect fun BaseApplicationResponse(call: <ERROR CLASS>)
actual fun BaseApplicationResponse(call: <ERROR CLASS>)

Types

Link copied to clipboard
expect class BodyLengthIsTooLong(expected: Long) : IllegalStateException, CopyableThrowable<BaseApplicationResponse.BodyLengthIsTooLong>
actual class BodyLengthIsTooLong(expected: Long) : IllegalStateException, CopyableThrowable<BaseApplicationResponse.BodyLengthIsTooLong>

Content's actual body size doesn't match the provided one in Content-Length header

actual class BodyLengthIsTooLong(expected: Long)

Content's actual body size doesn't match the provided one in Content-Length header

Link copied to clipboard
expect class BodyLengthIsTooSmall(expected: Long, actual: Long) : IllegalStateException, CopyableThrowable<BaseApplicationResponse.BodyLengthIsTooSmall>

Content's actual body size doesn't match the provided one in Content-Length header

actual class BodyLengthIsTooSmall(expected: Long, actual: Long) : IllegalStateException, CopyableThrowable<BaseApplicationResponse.BodyLengthIsTooSmall>

Content's actual body size doesn't match the provided one in Content-Length header

actual class BodyLengthIsTooSmall(expected: Long, actual: Long)

Content's actual body size doesn't match the provided one in Content-Length header

Link copied to clipboard
expect object Companion
actual object Companion
actual object Companion
Link copied to clipboard
expect 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.

actual 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.

actual class InvalidHeaderForContent(name: String, content: String)

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
expect class ResponseAlreadySentException : IllegalStateException

Thrown when there was already response sent but we are trying to respond again

actual class ResponseAlreadySentException : IllegalStateException

Thrown when there was already response sent, but we are trying to respond again

actual class ResponseAlreadySentException

Thrown when there was already response sent but we are trying to respond again

Functions

Link copied to clipboard
expect open fun push(builder: <ERROR CLASS>)
actual open fun push(builder: <ERROR CLASS>)
Link copied to clipboard
expect open fun status(): <ERROR CLASS>?
expect open fun status(value: <ERROR CLASS>)
actual open override fun status(): <ERROR CLASS>?
actual open fun status(): <ERROR CLASS>?
actual open fun status(value: <ERROR CLASS>)

Properties

Link copied to clipboard
expect val call: <ERROR CLASS>
actual override val call: <ERROR CLASS>
actual val call: <ERROR CLASS>
Link copied to clipboard
expect open val cookies: <ERROR CLASS>
actual open override val cookies: <ERROR CLASS>
actual open val cookies: <ERROR CLASS>
Link copied to clipboard
abstract val headers: ResponseHeaders
Link copied to clipboard
expect open val isCommitted: Boolean
actual open override val isCommitted: Boolean
actual open val isCommitted: Boolean
Link copied to clipboard
expect val pipeline: <ERROR CLASS>
actual override val pipeline: <ERROR CLASS>
actual val pipeline: <ERROR CLASS>