HeaderValueWithParameters
abstract class HeaderValueWithParameters
Represents a header value that consist of content followed by parameters.
Useful for headers such as Content-Type
, Content-Disposition
and so on.
Constructors
HeaderValueWithParameters( Represents a header value that consist of content followed by parameters.
Useful for headers such as |
Properties
val content: String header’s content without parameters |
|
val parameters: List<HeaderValueParam> |
Functions
The first value for the parameter with name comparing case-insensitively or |
|
open fun toString(): String |
Companion Object Functions
Parse header with parameter and pass it to init function to instantiate particular type |
Extension Functions
fun HeaderValueWithParameters.charset(): Charset? Extracts a Charset value from the given |
Inheritors
class ContentDisposition : HeaderValueWithParameters Represents |
|
class ContentType : HeaderValueWithParameters Represents a value for a |
|
class LinkHeader : HeaderValueWithParameters Represents a |