object Companion
source · line 44public
public companion
Construction and parsing of this structured HTTP field.
function unsatisfied
source · line 48public
public fun unsatisfied(completeLength: Long): HttpContentRange
Constructs an unsatisfied bytes range with the known complete length.
parameter completeLength
source · line 48public
completeLength: Long
function parse
source · line 56public
public fun parse(value: List<Byte>): HttpContentRange
Parses the complete field value, throwing HttpFieldParseException for malformed syntax.
parameter value
source · line 56public
value: List<Byte>
function parseOrNone
source · line 104public
public fun parseOrNone(value: String): HttpContentRange?
Parses the complete value, returning None for HttpFieldParseException while propagating unrelated failures.
parameter value
source · line 104public
value: String
function parse
source · line 91public
public fun parse(value: String): HttpContentRange
Parses the complete field value, throwing HttpFieldParseException for malformed syntax.
parameter value
source · line 91public
value: String
function parseOrNone
source · line 96public
public fun parseOrNone(value: List<Byte>): HttpContentRange?
Parses the complete value, returning None for HttpFieldParseException while propagating unrelated failures.
parameter value
source · line 96public
value: List<Byte>