public class DavResourceFactoryImpl extends Object implements DavResourceFactory
DavResourceFactoryImpl...| Constructor and Description | 
|---|
DavResourceFactoryImpl(TxLockManagerImpl txMgr,
                      SubscriptionManager subsMgr)
Create a new  
DavResourceFactoryImpl. | 
| Modifier and Type | Method and Description | 
|---|---|
DavResource | 
createResource(DavResourceLocator locator,
              DavServletRequest request,
              DavServletResponse response)
Create a new  
DavResource from the specified locator and request
 objects. | 
DavResource | 
createResource(DavResourceLocator locator,
              DavSession session)
Create a new  
DavResource from the given locator and session. | 
protected Item | 
getItem(JcrDavSession sessionImpl,
       DavResourceLocator locator)  | 
public DavResourceFactoryImpl(TxLockManagerImpl txMgr, SubscriptionManager subsMgr)
DavResourceFactoryImpl.txMgr - subsMgr - public DavResource createResource(DavResourceLocator locator, DavServletRequest request, DavServletResponse response) throws DavException
DavResource from the specified locator and request
 objects. Note, that in contrast to
 createResource(DavResourceLocator, DavSession) the locator may
 point to a non-existing resource.
 
 If the request contains a Label header, the resource is build from the indicated
 version instead.
createResource in interface DavResourceFactorylocator - request - response - DavExceptionDavResourceFactory.createResource(org.apache.jackrabbit.webdav.DavResourceLocator, org.apache.jackrabbit.webdav.DavServletRequest, org.apache.jackrabbit.webdav.DavServletResponse)public DavResource createResource(DavResourceLocator locator, DavSession session) throws DavException
DavResource from the given locator and session.createResource in interface DavResourceFactorylocator - session - RootCollection.DavException - if the given locator does neither refer to a repository item
 nor does represent the root location.protected Item getItem(JcrDavSession sessionImpl, DavResourceLocator locator) throws PathNotFoundException, RepositoryException
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.