Interface Request.Content.Subscription

    • Method Detail

      • fail

        default void fail​(java.lang.Throwable failure)

        Fails the subscription, notifying the content producer to stop producing content.

        Typical failure: a proxy consumer waiting for more content (or waiting to demand content) that is failed by an error response from the server.

        Parameters:
        failure - the reason of the failure