open class ContentDisposition
Represent the Content-Disposition type and parameters as defined in RFC 2183.
Author
Sebastien Deleuze
Author
Juergen Hoeller
Since
5.0
See Also
<a href="https://tools.ietf.org/html/rfc2183">RFC 2183</a>
open static fun builder(type: String): Builder
Return a builder for a |
|
open static fun empty(): ContentDisposition
Return an empty content disposition. |
|
open fun equals(other: Any?): Boolean |
|
open fun getCharset(): Charset
Return the charset defined in filename* parameter, or |
|
open fun getCreationDate(): ZonedDateTime
Return the value of the creation-date parameter, or |
|
open fun getFilename(): String
Return the value of the filename parameter (or the value of the filename* one decoded as defined in the RFC 5987), or |
|
open fun getModificationDate(): ZonedDateTime
Return the value of the modification-date parameter, or |
|
open fun getName(): String
Return the value of the name parameter, or |
|
open fun getReadDate(): ZonedDateTime
Return the value of the read-date parameter, or |
|
open fun getSize(): Long
Return the value of the size parameter, or |
|
open fun getType(): String
Return the disposition type, like for example inline, attachment, form-data, or |
|
open fun hashCode(): Int |
|
open static fun parse(contentDisposition: String): ContentDisposition
Parse a Content-Disposition header value as defined in RFC 2183. |
|
open fun toString(): String
Return the header value for this content disposition as defined in RFC 2183. |