ContentDisposition
class ContentDisposition : HeaderValueWithParameters
Represents Content-Disposition
header value
Types
object Parameters Frequently used content disposition parameter names |
Constructors
ContentDisposition( Represents |
Properties
val disposition: String Content disposition value without parameters |
|
val name: String? Content disposition name (from parameter named |
Inherited Properties
val content: String header’s content without parameters |
|
val parameters: List<HeaderValueParam> |
Functions
fun hashCode(): Int |
|
fun withParameter( Creates new with parameter appended |
|
fun withParameters( Creates new with parameters appended |
Inherited Functions
The first value for the parameter with name comparing case-insensitively or |
|
open fun toString(): String |
Companion Object Properties
val Attachment: ContentDisposition
|
|
val File: ContentDisposition
|
|
val Inline: ContentDisposition
|
|
val Mixed: ContentDisposition
|
Companion Object Functions
fun parse(value: String): ContentDisposition Parse |
Extension Functions
fun HeaderValueWithParameters.charset(): Charset? Extracts a Charset value from the given |