Package adams.flow.webservice
Interface WebServiceClientConsumer<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
,WebServiceClient
- All Known Implementing Classes:
AbstractWebServiceClientSink
,AbstractWebServiceClientSinkWithCallableTransformer
,AbstractWebServiceClientTransformer
,AbstractWebServiceClientTransformerWithCallableTransformer
,CustomersByName
,CustomersByNameCallableTransformer
,UpdateCustomer
,Upload
,Upload
public interface WebServiceClientConsumer<T> extends WebServiceClient
Interface for classes that use webservices, sending data to them.- Version:
- $Revision$
- 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.AbstractOutInterceptorGenerator
getOutInterceptor()
Returns the interceptor for outgoing messages (actually generator, since interceptors aren't serializable).void
setOutInterceptor(AbstractOutInterceptorGenerator value)
Sets the interceptor for outgoing messages (actually generator, since interceptors aren't serializable).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.webservice.WebServiceClient
getConnectionTimeout, getOwner, getReceiveTimeout, query, setConnectionTimeout, setOwner, setReceiveTimeout
-
-
-
-
Method Detail
-
accepts
Class[] accepts()
Returns the classes that are accepted input.- Returns:
- the classes that are accepted
-
setRequestData
void setRequestData(T value)
Sets the data for the request, if any.- Parameters:
value
- the request data
-
setOutInterceptor
void setOutInterceptor(AbstractOutInterceptorGenerator value)
Sets the interceptor for outgoing messages (actually generator, since interceptors aren't serializable).- Parameters:
value
- the interceptor
-
getOutInterceptor
AbstractOutInterceptorGenerator getOutInterceptor()
Returns the interceptor for outgoing messages (actually generator, since interceptors aren't serializable).- Returns:
- the interceptor
-
-