Class ResourceFactoryImpl
- java.lang.Object
-
- org.apache.jackrabbit.webdav.simple.ResourceFactoryImpl
-
- All Implemented Interfaces:
DavResourceFactory
public class ResourceFactoryImpl extends Object implements DavResourceFactory
ResourceFactoryImpl implements a simple DavResourceFactory
-
-
Constructor Summary
Constructors Constructor Description ResourceFactoryImpl(LockManager lockMgr, ResourceConfig resourceConfig)
Create a newResourceFactory
that uses the given lock manager and resource filter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DavResource
createResource(DavResourceLocator locator, DavServletRequest request, DavServletResponse response)
Create a newDavResource
from the given locator and request.DavResource
createResource(DavResourceLocator locator, DavSession session)
Create a newDavResource
from the given locator and webdav session.
-
-
-
Constructor Detail
-
ResourceFactoryImpl
public ResourceFactoryImpl(LockManager lockMgr, ResourceConfig resourceConfig)
Create a newResourceFactory
that uses the given lock manager and resource filter.- Parameters:
lockMgr
-resourceConfig
-
-
-
Method Detail
-
createResource
public DavResource createResource(DavResourceLocator locator, DavServletRequest request, DavServletResponse response) throws DavException
Create a newDavResource
from the given locator and request.- Specified by:
createResource
in interfaceDavResourceFactory
- Parameters:
locator
-request
-response
-- Returns:
- DavResource
- Throws:
DavException
- See Also:
DavResourceFactory.createResource(DavResourceLocator, DavServletRequest, DavServletResponse)
-
createResource
public DavResource createResource(DavResourceLocator locator, DavSession session) throws DavException
Create a newDavResource
from the given locator and webdav session.- Specified by:
createResource
in interfaceDavResourceFactory
- Parameters:
locator
-session
-- Returns:
- Throws:
DavException
- See Also:
DavResourceFactory.createResource(DavResourceLocator, DavSession)
-
-