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 voidspool(org.apache.jackrabbit.webdav.io.OutputContext outputContext)If this resource exists and the specified context is notnullthis implementation build a newExportContextbased 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 IOExceptionDescription copied from class:DavResourceImplIf this resource exists and the specified context is notnullthis implementation build a newExportContextbased on the specified context and forwards the export to itsIOManager. If theIOManager.exportContent(ExportContext, DavResource)fails, anIOExceptionis thrown.- Specified by:
spoolin interfaceorg.apache.jackrabbit.webdav.DavResource- Overrides:
spoolin classDavResourceImpl- Throws:
IOException- if the export fails- See Also:
DavResource.spool(OutputContext),ResourceConfig.getIOManager()
-
-