HttpStatusCodeContent

class HttpStatusCodeContent(value: HttpStatusCode) : OutgoingContent.NoContent

Represents a simple status code response with no content

Parameters

value
  • status code to be sent

Constructors

Link copied to clipboard
fun HttpStatusCodeContent(value: HttpStatusCode)

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?)

Properties

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