Interface ObservationDavServletResponse

All Superinterfaces:
DavServletResponse, HttpServletResponse, ServletResponse
All Known Subinterfaces:
WebdavResponse
All Known Implementing Classes:
WebdavResponseImpl

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

    • sendSubscriptionResponse

      void sendSubscriptionResponse(Subscription subscription) throws IOException
      Send the response to a successful SUBSCRIBE request.
      Parameters:
      subscription - that needs to be represented in the response body.
      Throws:
      IOException
    • sendPollResponse

      void sendPollResponse(EventDiscovery eventDiscovery) throws IOException
      Send the response to a successful POLL request.
      Parameters:
      eventDiscovery - EventDiscovery object to be returned in the response body.
      Throws:
      IOException