Package org.apache.jackrabbit.webdav
Interface DavResourceFactory
-
- All Known Implementing Classes:
DavResourceFactoryImpl
,ResourceFactoryImpl
public interface DavResourceFactory
DavResourceFactory
interface defines a single method for creatingDavResource
objects.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DavResource
createResource(DavResourceLocator locator, DavServletRequest request, DavServletResponse response)
Create aDavResource
object from the given locator, request and response objects.DavResource
createResource(DavResourceLocator locator, DavSession session)
Create a newDavResource
object from the given locator and session.
-
-
-
Method Detail
-
createResource
DavResource createResource(DavResourceLocator locator, DavServletRequest request, DavServletResponse response) throws DavException
Create aDavResource
object from the given locator, request and response objects.- Parameters:
locator
- locator of the resourcerequest
-response
-- Returns:
- a new
DavResource
object. - Throws:
DavException
-
createResource
DavResource createResource(DavResourceLocator locator, DavSession session) throws DavException
Create a newDavResource
object from the given locator and session.- Parameters:
locator
-session
-- Returns:
- a new
DavResource
object. - Throws:
DavException
-
-