|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jersey.core.header.ContentDisposition.ContentDispositionBuilder<T,V>
T
- the builder type.V
- the content disposition type.public static class ContentDisposition.ContentDispositionBuilder<T extends ContentDisposition.ContentDispositionBuilder,V extends ContentDisposition>
Builder to build content disposition.
Field Summary | |
---|---|
protected Date |
creationDate
|
protected String |
fileName
|
protected Date |
modificationDate
|
protected Date |
readDate
|
protected long |
size
|
protected String |
type
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String type
protected String fileName
protected Date creationDate
protected Date modificationDate
protected Date readDate
protected long size
Method Detail |
---|
public T fileName(String fileName)
fileName
- the "file-name" parameter. If null the value
is removed
public T creationDate(Date creationDate)
creationDate
- the "creation-date" parameter. If null the value
is removed
public T modificationDate(Date modificationDate)
modificationDate
- the "modification-date" parameter. If null the value
is removed
public T readDate(Date readDate)
readDate
- the "read-date" parameter. If null the value
is removed
public T size(long size)
size
- the "size" parameter. If -1 the value is removed.
public V build()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |