Interface ObservationDavServletRequest

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

public interface ObservationDavServletRequest extends DavServletRequest
ObservationDavServletRequest provides extensions to the DavServletRequest interface used for dealing with observation.
  • Method Details

    • getSubscriptionId

      String getSubscriptionId()
      Return the SubscriptionId header or null if no such header is present.
      Returns:
      the SubscriptionId header
    • getPollTimeout

      long getPollTimeout()
      Returns the PollTimeout header or 0 (zero) if no such header is present.
      Returns:
      milliseconds indicating length of the poll timeout.
    • getSubscriptionInfo

      SubscriptionInfo getSubscriptionInfo() throws DavException
      Return a SubscriptionInfo object representing the subscription info present in the SUBSCRIBE request body or null if retrieving the subscription info fails.
      Returns:
      subscription info object encapsulating the SUBSCRIBE request body or null if the subscription info cannot be built.
      Throws:
      DavException - if an invalid request body was encountered.