object Companion
source · line 85public
public companion
Construction and parsing of this structured HTTP field.
function parseOrNone
source · line 104public
public fun parseOrNone(value: List<Byte>): HttpContentDisposition?
Parses the complete value, returning None for HttpFieldParseException while propagating unrelated failures.
parameter value
source · line 104public
value: List<Byte>
function parse
source · line 89public
public fun parse(value: List<Byte>): HttpContentDisposition
Parses the complete field value, throwing HttpFieldParseException for malformed syntax.
parameter value
source · line 89public
value: List<Byte>
function parseOrNone
source · line 112public
public fun parseOrNone(value: String): HttpContentDisposition?
Parses the complete value, returning None for HttpFieldParseException while propagating unrelated failures.
parameter value
source · line 112public
value: String
function parse
source · line 99public
public fun parse(value: String): HttpContentDisposition
Parses the complete field value, throwing HttpFieldParseException for malformed syntax.
parameter value
source · line 99public
value: String