|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 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
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Method Detail |
---|
public T fileName(java.lang.String fileName)
fileName
- the "file-name" parameter. If null the value
is removed
public T creationDate(java.util.Date creationDate)
creationDate
- the "creation-date" parameter. If null the value
is removed
public T modificationDate(java.util.Date modificationDate)
modificationDate
- the "modification-date" parameter. If null the value
is removed
public T readDate(java.util.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 |