ForbiddenResponse

class ForbiddenResponse(challenges: HttpAuthHeader) : OutgoingContent.NoContent

Response content with 403 Forbidden status code and WWW-Authenticate header of supplied challenges

Parameters

challenges

to be passed with WWW-Authenticate header

Constructors

Link copied to clipboard
fun ForbiddenResponse(challenge: HttpAuthHeader?)
Link copied to clipboard
fun ForbiddenResponse(vararg challenges: HttpAuthHeader)

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
val challenges: Array<out HttpAuthHeader>
Link copied to clipboard
open val contentLength: Long?
Link copied to clipboard
open val contentType: ContentType?
Link copied to clipboard
open override val headers: Headers
Link copied to clipboard
open override val status: HttpStatusCode?