Package org.apache.jackrabbit.webdav
Interface DavSession
-
public interface DavSessionDavSessionallows to pass session information between request, response and resource(s).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddLockToken(java.lang.String token)Adds a lock token to thisDavSession.voidaddReference(java.lang.Object reference)Adds a reference to thisDavSessionindicating that this session must not be discarded after completion of the current request.java.lang.String[]getLockTokens()Returns the lock tokens of thisDavSession.voidremoveLockToken(java.lang.String token)Removes a lock token from thisDavSession.voidremoveReference(java.lang.Object reference)Releasing a reference to thisDavSession.
-
-
-
Method Detail
-
addReference
void addReference(java.lang.Object reference)
Adds a reference to thisDavSessionindicating that this session must not be discarded after completion of the current request.- Parameters:
reference- to be added.
-
removeReference
void removeReference(java.lang.Object reference)
Releasing a reference to thisDavSession. If no more references are present, this session may be discarded.- Parameters:
reference- to be removed.
-
addLockToken
void addLockToken(java.lang.String token)
Adds a lock token to thisDavSession.- Parameters:
token-
-
getLockTokens
java.lang.String[] getLockTokens()
Returns the lock tokens of thisDavSession.- Returns:
-
removeLockToken
void removeLockToken(java.lang.String token)
Removes a lock token from thisDavSession.- Parameters:
token-
-
-