UnauthorizedResponse

Response content with the 401 Unauthorized status code and the WWW-Authenticate header of supplied challenges.

Parameters

challenges

to be passed with the WWW-Authenticate header.

Constructors

Link copied to clipboard
constructor(vararg challenges: HttpAuthHeader)

Properties

Link copied to clipboard
Link copied to clipboard
open val contentLength: Long?
Link copied to clipboard
Link copied to clipboard
open override val headers: Headers
Link copied to clipboard
open override val status: 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?)
Link copied to clipboard
open fun trailers(): Headers?