Interface ObservationDavServletResponse

    • Method Detail

      • sendSubscriptionResponse

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

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