NoContent
abstract class NoContent : OutgoingContent
Variant of a OutgoingContent without a payload
Constructors
NoContent() Variant of a OutgoingContent without a payload |
Inherited Properties
open val contentLength: Long? Specifies content length in bytes for this resource. |
|
open val contentType: ContentType? Specifies ContentType for this resource. |
|
open val headers: Headers Headers to set when sending this content |
|
open val status: HttpStatusCode? Status code to set when sending this content |
Inherited Functions
open fun <T : Any> getProperty(key: AttributeKey<T>): T? Gets an extension property for this content |
|
open fun <T : Any> setProperty( Sets an extension property for this content |
Inheritors
abstract class ClientUpgradeContent : NoContent |
|
object EmptyContent : NoContent Concrete OutgoingContent without a payload. |
|
class ForbiddenResponse : NoContent Response content with |
|
class HttpStatusCodeContent : NoContent Represents a simple status code response with no content |
|
class UnauthorizedResponse : NoContent Response content with |