Class ForwardingHttpJsonClientCallListener<ResponseT>

    • Constructor Detail

      • ForwardingHttpJsonClientCallListener

        public ForwardingHttpJsonClientCallListener()
    • Method Detail

      • onClose

        public void onClose​(int statusCode,
                            HttpJsonMetadata trailers)
        Description copied from class: HttpJsonClientCall.Listener
        The ClientCall has been closed. Any additional calls to the ClientCall will not be processed by the server. No further receiving will occur and no further notifications will be made.

        This method should not throw. If this method throws, there is no way to be notified of the exception. Implementations should therefore be careful of exceptions which can accidentally leak resources.

        Overrides:
        onClose in class HttpJsonClientCall.Listener<ResponseT>
        Parameters:
        statusCode - the HTTP status code representing the result of the remote call
        trailers - metadata provided at call completion