Package jadex.extension.rs.invoke
Class RestInvocationAgent
- java.lang.Object
- 
- jadex.extension.rs.invoke.RestInvocationAgent
 
- 
 public class RestInvocationAgent extends java.lang.ObjectAlternative to threaded execution for RestInvocationHelper, useful for simulation.
- 
- 
Field SummaryFields Modifier and Type Field Description protected IInternalAccessagentThe agent.protected java.lang.StringjsonReceive json.protected java.util.Map<java.lang.String,java.lang.Object>restargsArguments for the REST call.protected java.lang.ExceptionresultexceptionException if it occurred.
 - 
Constructor SummaryConstructors Constructor Description RestInvocationAgent()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description IFuture<java.lang.Void>execute()Performs the call.
 
- 
- 
- 
Field Detail- 
agentprotected IInternalAccess agent The agent.
 - 
restargsprotected java.util.Map<java.lang.String,java.lang.Object> restargs Arguments for the REST call.
 - 
jsonprotected java.lang.String json Receive json.
 - 
resultexceptionprotected java.lang.Exception resultexception Exception if it occurred.
 
- 
 - 
Method Detail- 
executepublic IFuture<java.lang.Void> execute() Performs the call.
 
- 
 
-