Class EchoClientSink

  • All Implemented Interfaces:
    adams.core.CleanUpHandler, adams.core.Destroyable, adams.core.ErrorProvider, adams.core.GlobalInfoSupporter, adams.core.logging.LoggingLevelHandler, adams.core.logging.LoggingSupporter, adams.core.option.OptionHandler, adams.core.QuickInfoSupporter, adams.core.SizeOfHandler, AlternativeUrlSupporter, RESTClient, RESTClientConsumer<String>, Serializable

    public class EchoClientSink
    extends AbstractRESTClientSink<String>
    Sink client for Echo REST service.
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Detail

      • m_RequestData

        protected String m_RequestData
        the request data.
    • Constructor Detail

      • EchoClientSink

        public EchoClientSink()
    • Method Detail

      • globalInfo

        public String globalInfo()
        Returns a string describing the object.
        Specified by:
        globalInfo in interface adams.core.GlobalInfoSupporter
        Specified by:
        globalInfo in class adams.core.option.AbstractOptionHandler
        Returns:
        a description suitable for displaying in the gui
      • accepts

        public Class[] accepts()
        Returns the classes that are accepted input.
        Returns:
        the classes that are accepted
      • setRequestData

        public void setRequestData​(String value)
        Sets the data for the request, if any.
        Parameters:
        value - the request data