object Companion
source · line 39public
public companion
Construction and parsing of this structured HTTP field.
function parseFields
source · line 70public
public fun parseFields(fields: List<HttpField>, fieldName: String = "Authentication-Info"): HttpAuthenticationInfo
Parses selected authentication-information fields, validating the combined parameters.
parameter fieldName
source · line 70public
fieldName: String = "Authentication-Info"
parameter fields
source · line 70public
fields: List<HttpField>
function parseOrNone
source · line 65public
public fun parseOrNone(value: String, fieldName: String = "Authentication-Info"): HttpAuthenticationInfo?
Parses the complete value, returning None for HttpFieldParseException while propagating unrelated failures.
parameter fieldName
source · line 65public
fieldName: String = "Authentication-Info"
parameter value
source · line 65public
value: String
function parse
source · line 51public
public fun parse(value: String, fieldName: String = "Authentication-Info"): HttpAuthenticationInfo
Parses the complete field value, throwing HttpFieldParseException for malformed syntax.
parameter value
source · line 51public
value: String
parameter fieldName
source · line 51public
fieldName: String = "Authentication-Info"
function parseOrNone
source · line 57public
public fun parseOrNone(value: List<Byte>, fieldName: String = "Authentication-Info"): HttpAuthenticationInfo?
Parses the complete value, returning None for HttpFieldParseException while propagating unrelated failures.
parameter fieldName
source · line 57public
fieldName: String = "Authentication-Info"
parameter value
source · line 57public
value: List<Byte>
function parse
source · line 43public
public fun parse(value: List<Byte>, fieldName: String = "Authentication-Info"): HttpAuthenticationInfo
Parses the complete field value, throwing HttpFieldParseException for malformed syntax.
parameter fieldName
source · line 43public
fieldName: String = "Authentication-Info"
parameter value
source · line 43public
value: List<Byte>