public interface DavSession
DavSession
allows to pass session information between request,
response and resource(s).-
Method Summary
Modifier and TypeMethodDescriptionvoid
addLockToken
(String token) Adds a lock token to thisDavSession
.void
addReference
(Object reference) Adds a reference to thisDavSession
indicating that this session must not be discarded after completion of the current request.String[]
Returns the lock tokens of thisDavSession
.void
removeLockToken
(String token) Removes a lock token from thisDavSession
.void
removeReference
(Object reference) Releasing a reference to thisDavSession
.
-
Method Details
-
addReference
Adds a reference to thisDavSession
indicating that this session must not be discarded after completion of the current request.- Parameters:
reference
- to be added.
-
removeReference
Releasing a reference to thisDavSession
. If no more references are present, this session may be discarded.- Parameters:
reference
- to be removed.
-
addLockToken
Adds a lock token to thisDavSession
.- Parameters:
token
-
-
getLockTokens
String[] getLockTokens()Returns the lock tokens of thisDavSession
.- Returns:
-
removeLockToken
Removes a lock token from thisDavSession
.- Parameters:
token
-
-