public class ResourceFactoryImpl extends Object implements DavResourceFactory
Constructor and Description |
---|
ResourceFactoryImpl(LockManager lockMgr,
ResourceConfig resourceConfig)
Create a new
ResourceFactory that uses the given lock
manager and resource filter. |
Modifier and Type | Method and Description |
---|---|
DavResource |
createResource(DavResourceLocator locator,
DavServletRequest request,
DavServletResponse response)
Create a new
DavResource from the given locator and
request. |
DavResource |
createResource(DavResourceLocator locator,
DavSession session)
Create a new
DavResource from the given locator and webdav
session. |
public ResourceFactoryImpl(LockManager lockMgr, ResourceConfig resourceConfig)
ResourceFactory
that uses the given lock
manager and resource filter.lockMgr
- resourceConfig
- public DavResource createResource(DavResourceLocator locator, DavServletRequest request, DavServletResponse response) throws DavException
DavResource
from the given locator and
request.createResource
in interface DavResourceFactory
locator
- request
- response
- DavException
DavResourceFactory.createResource(DavResourceLocator,
DavServletRequest, DavServletResponse)
public DavResource createResource(DavResourceLocator locator, DavSession session) throws DavException
DavResource
from the given locator and webdav
session.createResource
in interface DavResourceFactory
locator
- session
- DavException
DavResourceFactory.createResource(DavResourceLocator, DavSession)
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.