|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.webdav.io.OutputContextImpl
OutputContextImpl
...
Constructor Summary | |
OutputContextImpl(javax.servlet.http.HttpServletResponse response,
OutputStream out)
|
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OutputContextImpl(javax.servlet.http.HttpServletResponse response, OutputStream out)
Method Detail |
public boolean hasStream()
OutputContext
hasStream
in interface OutputContext
public OutputStream getOutputStream()
OutputContext
null
getOutputStream
in interface OutputContext
public void setContentLanguage(String contentLanguage)
OutputContext
setContentLanguage
in interface OutputContext
contentLanguage
- public void setContentLength(long contentLength)
OutputContext
setContentLength
in interface OutputContext
contentLength
- the content lengthpublic void setContentType(String contentType)
OutputContext
setContentType
in interface OutputContext
contentType
- public void setModificationTime(long modificationTime)
OutputContext
setModificationTime
in interface OutputContext
modificationTime
- the modification timepublic void setETag(String etag)
OutputContext
setETag
in interface OutputContext
etag
- the ETagpublic void setProperty(String propertyName, String propertyValue)
OutputContext
setProperty
in interface OutputContext
propertyName
- propertyValue
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |