T
- the builder type.V
- the content disposition type.public static class ContentDisposition.ContentDispositionBuilder<T extends ContentDisposition.ContentDispositionBuilder<T,V>,V extends ContentDisposition>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.Date |
creationDate |
protected java.lang.String |
fileName |
protected java.util.Date |
modificationDate |
protected java.util.Date |
readDate |
protected long |
size |
protected java.lang.String |
type |
Modifier and Type | Method and Description |
---|---|
V |
build()
Build the content disposition.
|
T |
creationDate(java.util.Date creationDate)
Add the "creation-date" parameter.
|
T |
fileName(java.lang.String fileName)
Add the "file-name" parameter.
|
T |
modificationDate(java.util.Date modificationDate)
Add the "modification-date" parameter.
|
T |
readDate(java.util.Date readDate)
Add the "read-date" parameter.
|
T |
size(long size)
Add the "size" parameter.
|
protected java.lang.String type
protected java.lang.String fileName
protected java.util.Date creationDate
protected java.util.Date modificationDate
protected java.util.Date readDate
protected long size
public T fileName(java.lang.String fileName)
fileName
- the "file-name" parameter. If null the value
is removedpublic T creationDate(java.util.Date creationDate)
creationDate
- the "creation-date" parameter. If null the value
is removedpublic T modificationDate(java.util.Date modificationDate)
modificationDate
- the "modification-date" parameter. If null the value
is removedpublic T readDate(java.util.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 © 2016 Oracle Corporation. All Rights Reserved.