Package adams.flow.rest.echo
Class EchoClientTransformer
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.flow.rest.AbstractRESTClientTransformer<String,String>
-
- adams.flow.rest.echo.EchoClientTransformer
-
- 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>
,RESTClientProducer<String>
,Serializable
public class EchoClientTransformer extends AbstractRESTClientTransformer<String,String>
Transformer client for Echo REST service.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
m_RequestData
the request data.-
Fields inherited from class adams.flow.rest.AbstractRESTClientTransformer
m_AlternativeURL, m_ConnectionTimeout, m_LastError, m_Owner, m_ReceiveTimeout, m_ResponseData, m_ResponseDataListeners, m_UseAlternativeURL
-
-
Constructor Summary
Constructors Constructor Description EchoClientTransformer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class[]
accepts()
Returns the classes that are accepted input.protected void
doQuery()
Performs the actual webservice query.Class[]
generates()
Returns the classes that this client generates.String
globalInfo()
Returns a string describing the object.void
setRequestData(String value)
Sets the data for the request, if any.-
Methods inherited from class adams.flow.rest.AbstractRESTClientTransformer
addResponseDataListener, alternativeURLTipText, cleanUp, connectionTimeoutTipText, defineOptions, getAlternativeURL, getConnectionTimeout, getDefaultAlternativeURL, getLastError, getOwner, getQuickInfo, getReceiveTimeout, getResponseData, getUseAlternativeURL, hasLastError, hasResponseData, initialize, notifyResponseDataListeners, postQuery, preQuery, query, receiveTimeoutTipText, removeResponseDataListener, setAlternativeURL, setConnectionTimeout, setOwner, setReceiveTimeout, setResponseData, setUseAlternativeURL, useAlternativeURLTipText
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
-
-
-
Field Detail
-
m_RequestData
protected String m_RequestData
the request data.
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfo
in interfaceadams.core.GlobalInfoSupporter
- Specified by:
globalInfo
in classadams.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
-
generates
public Class[] generates()
Returns the classes that this client generates.- Returns:
- the classes
-
setRequestData
public void setRequestData(String value)
Sets the data for the request, if any.- Parameters:
value
- the request data
-
-