EmptyContent

Concrete OutgoingContent without a payload.

Functions

Link copied to clipboard
open fun <T : Any> getProperty(key: AttributeKey<T>): T?
Link copied to clipboard
open fun <T : Any> setProperty(key: AttributeKey<T>, value: T?)
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open fun trailers(): Headers?

Properties

Link copied to clipboard
open override val contentLength: Long = 0
Link copied to clipboard
Link copied to clipboard
open val headers: Headers
Link copied to clipboard

Extensions

Link copied to clipboard

Generates a new OutgoingContent of the same abstract type but with OutgoingContent.headers transformed by the specified block.