Interface RESTClientProducer<T>

    • Method Detail

      • removeResponseDataListener

        void removeResponseDataListener​(RESTClientProducerResponseDataListener l)
        Removes the listener for response data being received.
        Parameters:
        l - the listener to remove
      • generates

        Class[] generates()
        Returns the classes that this client generates.
        Returns:
        the classes
      • hasResponseData

        boolean hasResponseData()
        Checks whether there is any response data to be collected.
        Returns:
        true if data can be collected
        See Also:
        getResponseData()
      • setResponseData

        void setResponseData​(T value)
        Sets the response data.
        Parameters:
        value - the response data
      • getResponseData

        T getResponseData()
        Returns the response data, if any.
        Returns:
        the response data