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
public class RangeResourceImpl extends DavResourceImpl
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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 Detail
-
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 Detail
-
spool
public void spool(org.apache.jackrabbit.webdav.io.OutputContext outputContext) throws IOException
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()
-
-