ValidatedContent

class ValidatedContent(val text: String, val status: HttpStatusCode) : OutgoingContent.ByteArrayContent

Constructors

Link copied to clipboard
constructor(text: String, status: HttpStatusCode)

Properties

Link copied to clipboard
open override val contentLength: Long
Link copied to clipboard
open override val contentType: ContentType
Link copied to clipboard
open val headers: Headers
Link copied to clipboard
open override val status: HttpStatusCode
Link copied to clipboard

Functions

Link copied to clipboard
open override fun bytes(): ByteArray
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?