|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.webdav.jcr.DavResourceFactoryImpl
public class DavResourceFactoryImpl
DavResourceFactoryImpl
...
Constructor Summary | |
---|---|
DavResourceFactoryImpl(TxLockManagerImpl txMgr,
SubscriptionManager subsMgr)
Create a new DavResourceFactoryImpl . |
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DavResourceFactoryImpl(TxLockManagerImpl txMgr, SubscriptionManager subsMgr)
DavResourceFactoryImpl
.
txMgr
- subsMgr
- Method Detail |
---|
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 DavResourceFactory
locator
- request
- response
-
DavException
DavResourceFactory.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 DavResourceFactory
locator
- 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
PathNotFoundException
RepositoryException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |