public static interface ContentDisposition.Builder
ContentDisposition
.Modifier and Type | Method and Description |
---|---|
ContentDisposition |
build()
Build the content disposition.
|
ContentDisposition.Builder |
creationDate(ZonedDateTime creationDate)
Set the value of the creation-date parameter.
|
ContentDisposition.Builder |
filename(String filename)
Set the value of the filename parameter.
|
ContentDisposition.Builder |
filename(String filename,
Charset charset)
Set the value of the filename* that will be encoded as
defined in the RFC 5987.
|
ContentDisposition.Builder |
modificationDate(ZonedDateTime modificationDate)
Set the value of the modification-date parameter.
|
ContentDisposition.Builder |
name(String name)
Set the value of the name parameter.
|
ContentDisposition.Builder |
readDate(ZonedDateTime readDate)
Set the value of the read-date parameter.
|
ContentDisposition.Builder |
size(Long size)
Set the value of the size parameter.
|
ContentDisposition.Builder name(String name)
ContentDisposition.Builder filename(String filename)
ContentDisposition.Builder filename(String filename, Charset charset)
Note: Do not use this for a
"multipart/form-data"
requests as per
RFC 7578, Section 4.2
and also RFC 5987 itself mentions it does not apply to multipart
requests.
ContentDisposition.Builder size(Long size)
ContentDisposition.Builder creationDate(ZonedDateTime creationDate)
ContentDisposition.Builder modificationDate(ZonedDateTime modificationDate)
ContentDisposition.Builder readDate(ZonedDateTime readDate)
ContentDisposition build()