Package com.logicaldoc.webdav.context
Class ExportContextImpl
java.lang.Object
com.logicaldoc.webdav.context.AbstractExportContext
com.logicaldoc.webdav.context.ExportContextImpl
- All Implemented Interfaces:
ExportContext
,org.apache.jackrabbit.server.io.IOContext
For more informations, please visit
ExportContextImpl
- Author:
- Sebastian Wenzky
-
Constructor Summary
ConstructorDescriptionExportContextImpl
(Resource resource, org.apache.jackrabbit.webdav.io.OutputContext outputCtx) -
Method Summary
Modifier and TypeMethodDescriptionvoid
informCompleted
(boolean success) void
setContentLanguage
(String contentLanguage) void
setContentLength
(long contentLength) void
setContentType
(String mimeType, String encoding) void
setCreationTime
(long creationTime) void
void
setModificationTime
(long modificationTime) void
setProperty
(Object propertyName, Object propertyValue) Methods inherited from class com.logicaldoc.webdav.context.AbstractExportContext
getIOListener, getResource, hasStream, isCompleted
-
Constructor Details
-
ExportContextImpl
public ExportContextImpl(Resource resource, org.apache.jackrabbit.webdav.io.OutputContext outputCtx) throws IOException - Throws:
IOException
-
-
Method Details
-
getOutputStream
-
setContentLanguage
-
setContentLength
public void setContentLength(long contentLength) -
setContentType
-
setCreationTime
public void setCreationTime(long creationTime) -
setModificationTime
public void setModificationTime(long modificationTime) -
setETag
-
setProperty
-
informCompleted
public void informCompleted(boolean success) - Specified by:
informCompleted
in interfaceorg.apache.jackrabbit.server.io.IOContext
- Overrides:
informCompleted
in classAbstractExportContext
-