Interface TransactionDavServletRequest

All Superinterfaces:
DavServletRequest, HttpServletRequest, ServletRequest
All Known Subinterfaces:
WebdavRequest
All Known Implementing Classes:
WebdavRequestImpl

public interface TransactionDavServletRequest extends DavServletRequest
TransactionDavServletRequest provides extensions to the DavServletRequest interface used for dealing with transaction lock requests.
  • Method Details

    • getTransactionInfo

      TransactionInfo getTransactionInfo() throws DavException
      Retrieve the 'transactioninfo' request body that must be included with the UNLOCK request of a transaction lock. If the request body is does not provide the information required (either because it is missing or the Xml is not valid) null is returned.
      Returns:
      TransactionInfo object encapsulating the 'transactioninfo' Xml element present in the request body or null if no body is present or if it could not be parsed.
      Throws:
      DavException - if an invalid request body is present.
    • getTransactionId

      String getTransactionId()
      Retrieve the transaction id from the TransactionId header.
      Returns:
      transaction id as present in the TransactionId header or null.