|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
DavSession wraps a repository session
object, that is obtained on
login to
the underlaying repository.
| Method Summary | |
void |
addLockToken(String token)
Adds a lock token to this DavSession. |
void |
addReference(Object reference)
Adds a reference to this DavSession indicating that
the underlaying Session object is needed for actions spanning over
multiple requests. |
String[] |
getLockTokens()
Returns the lock tokens of this DavSession. |
Session |
getRepositorySession()
Unwrap the repository session object. |
void |
removeLockToken(String token)
Removes a lock token from this DavSession. |
void |
removeReference(Object reference)
Releasing a reference to this DavSession. |
| Method Detail |
public void addReference(Object reference)
DavSession indicating that
the underlaying Session object is needed for actions spanning over
multiple requests.
reference - to be added.public void removeReference(Object reference)
DavSession. If no more
references are present, the underlaying Session may be discarded
(e.g by calling Session.logout().
reference - to be removed.public Session getRepositorySession()
repository session object.
DavSessionpublic void addLockToken(String token)
DavSession.
token - public String[] getLockTokens()
DavSession.
public void removeLockToken(String token)
DavSession.
token -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||