Package org.springframework.http
Interface ContentDisposition.Builder
- Enclosing class:
- ContentDisposition
public static interface ContentDisposition.Builder
A mutable builder for 
ContentDisposition.- 
Method SummaryModifier and TypeMethodDescriptionbuild()Build the content disposition.creationDate(ZonedDateTime creationDate) Deprecated.since 5.2.3 as per RFC 6266, Appendix B, to be removed in a future release.Set the value of the filename parameter.Set the value of thefilenamethat will be encoded as defined in RFC 5987.modificationDate(ZonedDateTime modificationDate) Deprecated.since 5.2.3 as per RFC 6266, Appendix B, to be removed in a future release.Set the value of the name parameter.readDate(ZonedDateTime readDate) Deprecated.since 5.2.3 as per RFC 6266, Appendix B, to be removed in a future release.Deprecated.since 5.2.3 as per RFC 6266, Appendix B, to be removed in a future release.
- 
Method Details- 
nameSet the value of the name parameter.
- 
filenameSet 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, for example,"foo\"bar.txt"becomes"foo\\\"bar.txt".
- 
filenameSet 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.
- 
sizeDeprecated.since 5.2.3 as per RFC 6266, Appendix B, to be removed in a future release.Set the value of the size parameter.
- 
creationDateDeprecated.since 5.2.3 as per RFC 6266, Appendix B, to be removed in a future release.Set the value of the creation-date parameter.
- 
modificationDateDeprecated.since 5.2.3 as per RFC 6266, Appendix B, to be removed in a future release.Set the value of the modification-date parameter.
- 
readDateDeprecated.since 5.2.3 as per RFC 6266, Appendix B, to be removed in a future release.Set the value of the read-date parameter.
- 
buildContentDisposition build()Build the content disposition.
 
-