public class JCRWebdavServer extends Object implements DavSessionProvider
JCRWebdavServer
...Constructor and Description |
---|
JCRWebdavServer(Repository repository,
SessionProvider sessionProvider)
Creates a new JCRWebdavServer that operates on the given repository.
|
JCRWebdavServer(Repository repository,
SessionProvider sessionProvider,
int concurrencyLevel)
Creates a new JCRWebdavServer that operates on the given repository.
|
Modifier and Type | Method and Description |
---|---|
boolean |
attachSession(WebdavRequest request)
Acquires a DavSession either from the session cache or creates a new
one by login to the repository.
|
void |
releaseSession(WebdavRequest request)
Releases the reference from the request to the session.
|
public JCRWebdavServer(Repository repository, SessionProvider sessionProvider)
repository
- public JCRWebdavServer(Repository repository, SessionProvider sessionProvider, int concurrencyLevel)
repository
- concurrencyLevel
- public boolean attachSession(WebdavRequest request) throws DavException
attachSession
in interface DavSessionProvider
request
- true
if the session was attached to the request;
false
otherwise.DavException
- if no session could be obtained.DavSessionProvider.attachSession(org.apache.jackrabbit.webdav.WebdavRequest)
public void releaseSession(WebdavRequest request)
releaseSession
in interface DavSessionProvider
request
- DavSessionProvider.releaseSession(org.apache.jackrabbit.webdav.WebdavRequest)
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.