|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.webdav.io.OutputContextImpl
public class 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 OutputContextpublic OutputStream getOutputStream()
OutputContextnull
getOutputStream in interface OutputContextpublic void setContentLanguage(String contentLanguage)
OutputContext
setContentLanguage in interface OutputContextpublic void setContentLength(long contentLength)
OutputContext
setContentLength in interface OutputContextcontentLength - the content lengthpublic void setContentType(String contentType)
OutputContext
setContentType in interface OutputContextpublic void setModificationTime(long modificationTime)
OutputContext
setModificationTime in interface OutputContextmodificationTime - the modification timepublic void setETag(String etag)
OutputContext
setETag in interface OutputContextetag - the ETag
public void setProperty(String propertyName,
String propertyValue)
OutputContext
setProperty in interface OutputContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||