Interface DavSession


public interface DavSession
DavSession allows to pass session information between request, response and resource(s).
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Adds a lock token to this DavSession.
    void
    addReference(Object reference)
    Adds a reference to this DavSession indicating that this session must not be discarded after completion of the current request.
    Returns the lock tokens of this DavSession.
    void
    Removes a lock token from this DavSession.
    void
    Releasing a reference to this DavSession.
  • Method Details

    • addReference

      void addReference(Object reference)
      Adds a reference to this DavSession indicating that this session must not be discarded after completion of the current request.
      Parameters:
      reference - to be added.
    • removeReference

      void removeReference(Object reference)
      Releasing a reference to this DavSession. If no more references are present, this session may be discarded.
      Parameters:
      reference - to be removed.
    • addLockToken

      void addLockToken(String token)
      Adds a lock token to this DavSession.
      Parameters:
      token -
    • getLockTokens

      String[] getLockTokens()
      Returns the lock tokens of this DavSession.
      Returns:
    • removeLockToken

      void removeLockToken(String token)
      Removes a lock token from this DavSession.
      Parameters:
      token -