public interface DavSessionProvider
DavSessionProvider
is an interface for components that
can initiate and complete DavSession
s. A provider is
responsible for supplying references from a WebdavRequest
to a DavSession
when acquired and removing the references
when released.Modifier and Type | Method and Description |
---|---|
boolean |
attachSession(WebdavRequest request)
Acquires a DavSession.
|
void |
releaseSession(WebdavRequest request)
Releases the reference from the request to the session.
|
boolean attachSession(WebdavRequest request) throws DavException
request
- true
if the session was attached to the request;
false
otherwise.DavException
- if a problem occurred while obtaining the sessionvoid releaseSession(WebdavRequest request)
request
- Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.