T
- the builder type.V
- the content disposition type.public static class ContentDisposition.ContentDispositionBuilder<T extends ContentDisposition.ContentDispositionBuilder,V extends ContentDisposition> extends Object
Modifier and Type | Field and Description |
---|---|
protected Date |
creationDate |
protected String |
fileName |
protected Date |
modificationDate |
protected Date |
readDate |
protected long |
size |
protected String |
type |
Modifier and Type | Method and Description |
---|---|
V |
build()
Build the content disposition.
|
T |
creationDate(Date creationDate)
Add the "creation-date" parameter.
|
T |
fileName(String fileName)
Add the "file-name" parameter.
|
T |
modificationDate(Date modificationDate)
Add the "modification-date" parameter.
|
T |
readDate(Date readDate)
Add the "read-date" parameter.
|
T |
size(long size)
Add the "size" parameter.
|
protected String type
protected String fileName
protected Date creationDate
protected Date modificationDate
protected Date readDate
protected long size
public T fileName(String fileName)
fileName
- the "file-name" parameter. If null the value
is removedpublic T creationDate(Date creationDate)
creationDate
- the "creation-date" parameter. If null the value
is removedpublic T modificationDate(Date modificationDate)
modificationDate
- the "modification-date" parameter. If null the value
is removedpublic T readDate(Date readDate)
readDate
- the "read-date" parameter. If null the value
is removedpublic T size(long size)
size
- the "size" parameter. If -1 the value is removed.public V build()
Copyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.