Package com.logicaldoc.webdav.resource
Class RangeResourceImpl
java.lang.Object
com.logicaldoc.webdav.resource.DavResourceImpl
com.logicaldoc.webdav.resource.RangeResourceImpl
- All Implemented Interfaces:
Serializable
,org.apache.jackrabbit.webdav.DavResource
- See Also:
-
Field Summary
Fields inherited from interface org.apache.jackrabbit.webdav.DavResource
METHODS
-
Constructor Summary
ConstructorDescriptionRangeResourceImpl
(org.apache.jackrabbit.webdav.DavResourceLocator locator, DavResourceFactory factory, WebdavSession session, ResourceConfig config, Resource resource, org.apache.commons.lang3.tuple.Pair<String, String> requestRange) -
Method Summary
Modifier and TypeMethodDescriptionvoid
spool
(org.apache.jackrabbit.webdav.io.OutputContext outputContext) If this resource exists and the specified context is notnull
this implementation build a newExportContext
based on the specified context and forwards the export to itsIOManager
.Methods inherited from class com.logicaldoc.webdav.resource.DavResourceImpl
addLockManager, addMember, alterProperties, alterProperties, copy, exists, getCollection, getComplianceClass, getDisplayName, getExportContext, getFactory, getHref, getLocator, getLock, getLocks, getMembers, getModificationTime, getProperties, getProperty, getPropertyNames, getResourcePath, getSession, getSupportedMethods, hasLock, isCollection, isLockable, lock, move, refreshLock, removeMember, removeProperty, setProperty, unlock
-
Constructor Details
-
RangeResourceImpl
public RangeResourceImpl(org.apache.jackrabbit.webdav.DavResourceLocator locator, DavResourceFactory factory, WebdavSession session, ResourceConfig config, Resource resource, org.apache.commons.lang3.tuple.Pair<String, String> requestRange)
-
-
Method Details
-
spool
Description copied from class:DavResourceImpl
If this resource exists and the specified context is notnull
this implementation build a newExportContext
based on the specified context and forwards the export to itsIOManager
. If theIOManager.exportContent(ExportContext, DavResource)
fails, anIOException
is thrown.- Specified by:
spool
in interfaceorg.apache.jackrabbit.webdav.DavResource
- Overrides:
spool
in classDavResourceImpl
- Throws:
IOException
- if the export fails- See Also:
-
DavResource.spool(OutputContext)
ResourceConfig.getIOManager()
-