类 ContentDisposition.Builder
java.lang.Object
cn.taketoday.http.ContentDisposition.Builder
- 封闭类:
- ContentDisposition
A mutable builder for
ContentDisposition.-
字段概要
字段修饰符和类型字段说明private Charsetprivate ZonedDateTimeprivate Stringprivate ZonedDateTimeprivate Stringprivate ZonedDateTimeprivate Longprivate final String -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明build()Build the content disposition.creationDate(ZonedDateTime creationDate) Set the value of the creation-date parameter.Set the value of the filename parameter.Set the value of thefilenamethat will be encoded as defined in RFC 5987.modificationDate(ZonedDateTime modificationDate) Set the value of the modification-date parameter.Set the value of the name parameter.readDate(ZonedDateTime readDate) Set the value of the read-date parameter.Set the value of the size parameter.
-
字段详细资料
-
type
-
name
-
filename
-
charset
-
size
-
creationDate
-
modificationDate
-
readDate
-
-
构造器详细资料
-
Builder
-
-
方法详细资料
-
name
Set the value of the name parameter. -
filename
Set the value of the filename parameter. The given filename will be formatted as quoted-string, as defined in RFC 2616, section 2.2, and any quote characters within the filename value will be escaped with a backslash, e.g."foo\"bar.txt"becomes"foo\\\"bar.txt". -
filename
Set the value of thefilenamethat will be encoded as defined in RFC 5987. Only the US-ASCII, UTF-8, and ISO-8859-1 charsets are supported.Note: Do not use this for a
"multipart/form-data"request since RFC 7578, Section 4.2 and also RFC 5987 mention it does not apply to multipart requests. -
size
Set the value of the size parameter. -
creationDate
Set the value of the creation-date parameter. -
modificationDate
Set the value of the modification-date parameter. -
readDate
Set the value of the read-date parameter. -
build
Build the content disposition.
-