ProxyAuthenticationRequired

data class ProxyAuthenticationRequired(val title: String = "Proxy authentication is required", val detail: String? = null, val instance: String? = null) : Problem(source)

Constructors

Link copied to clipboard
constructor(title: String = "Proxy authentication is required", detail: String? = null, instance: String? = null)

Properties

Link copied to clipboard
open override val detail: String? = null

A human-readable explanation specific to this occurrence of the problem.

Link copied to clipboard
open override val instance: String? = null

A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.

Link copied to clipboard
open override val status: Int

The HTTP status code (RFC7231, Section 6) generated by the origin server for this occurrence of the problem.

Link copied to clipboard
open override val title: String

A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see RFC7231, Section 3.4).

Link copied to clipboard
open override val type: String

A URI reference RFC3986 that identifies the problem type. This specification encourages that, when dereferenced, it provide human-readable documentation for the problem type (e.g., using HTML W3C.REC-html5-20141028). When this member is not present, its value is assumed to be "about:blank".

Functions

Link copied to clipboard
fun toJson(pretty: Boolean = false): String

Creates a JSON string representation of the problem