class ObservableContent : ReadChannelContent
ObservableContent(delegate: OutgoingContent, callContext: <ERROR CLASS>, listener: ProgressListener) |
val contentLength: Long? |
|
val contentType: ContentType? |
|
val headers: Headers |
|
val status: HttpStatusCode? |
fun <T : Any> getProperty(key: AttributeKey<T>): T? |
|
fun readFrom(): ByteReadChannel |
|
fun <T : Any> setProperty(key: AttributeKey<T>, value: T?): Unit |
fun OutgoingContent.wrapHeaders(block: (Headers) -> Headers): OutgoingContent
Generates a new OutgoingContent of the same abstract type but with OutgoingContent.headers transformed by the specified block. |