Interface TransportResponseHandler<T extends TransportResponse>

    • Method Detail

      • newInstance

        @Deprecated
        default T newInstance()
        Deprecated.
        Implement read(StreamInput) instead.
      • read

        default T read​(StreamInput in)
                throws java.io.IOException
        deserializes a new instance of the return type from the stream. called by the infra when de-serializing the response.
        Specified by:
        read in interface Writeable.Reader<T extends TransportResponse>
        Parameters:
        in - Input to read the value from
        Returns:
        the deserialized response.
        Throws:
        java.io.IOException
      • handleResponse

        void handleResponse​(T response)
      • executor

        java.lang.String executor()