Package adams.flow.rest
Interface RESTClientConsumer<T>
-
- Type Parameters:
T
- the type of input data to use
- All Superinterfaces:
adams.core.CleanUpHandler
,adams.core.Destroyable
,adams.core.ErrorProvider
,adams.core.option.OptionHandler
,RESTClient
- All Known Implementing Classes:
AbstractRESTClientSink
,AbstractRESTClientTransformer
,EchoClientSink
,EchoClientTransformer
public interface RESTClientConsumer<T> extends RESTClient
Interface for classes that use REST, sending data to them.- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Class[]
accepts()
Returns the classes that are accepted input.void
setRequestData(T value)
Sets the data for the request, if any.-
Methods inherited from interface adams.core.option.OptionHandler
cleanUpOptions, defineOptions, getOptionManager, toCommandLine
-
Methods inherited from interface adams.flow.rest.RESTClient
getConnectionTimeout, getOwner, getReceiveTimeout, query, setConnectionTimeout, setOwner, setReceiveTimeout
-
-