|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OutputContext
OutputContext...
| Method Summary | |
|---|---|
OutputStream |
getOutputStream()
Return the output stream to be used for the export or null |
boolean |
hasStream()
Return true if the given export context can provide an output stream |
void |
setContentLanguage(String contentLanguage)
Sets the content language. |
void |
setContentLength(long contentLength)
Sets the length of the data. |
void |
setContentType(String contentType)
Set the content type for the resource content |
void |
setETag(String etag)
Sets the ETag of the resource. |
void |
setModificationTime(long modificationTime)
Sets the modification time of the resource |
void |
setProperty(String propertyName,
String propertyValue)
Allows to set additional properties that are not covered by an extra setter method. |
| Method Detail |
|---|
boolean hasStream()
OutputStream getOutputStream()
null
void setContentLanguage(String contentLanguage)
contentLanguage - void setContentLength(long contentLength)
contentLength - the content lengthvoid setContentType(String contentType)
contentType - void setModificationTime(long modificationTime)
modificationTime - the modification timevoid setETag(String etag)
etag - the ETag
void setProperty(String propertyName,
String propertyValue)
propertyName - propertyValue -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||