Package jadex.extension.rs.invoke
Class RestInvocationAgent
- java.lang.Object
-
- jadex.extension.rs.invoke.RestInvocationAgent
-
public class RestInvocationAgent extends java.lang.Object
Alternative to threaded execution for RestInvocationHelper, useful for simulation.
-
-
Field Summary
Fields Modifier and Type Field Description protected IInternalAccess
agent
The agent.protected java.lang.String
json
Receive json.protected java.util.Map<java.lang.String,java.lang.Object>
restargs
Arguments for the REST call.protected java.lang.Exception
resultexception
Exception if it occurred.
-
Constructor Summary
Constructors Constructor Description RestInvocationAgent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IFuture<java.lang.Void>
execute()
Performs the call.
-
-
-
Field Detail
-
agent
protected IInternalAccess agent
The agent.
-
restargs
protected java.util.Map<java.lang.String,java.lang.Object> restargs
Arguments for the REST call.
-
json
protected java.lang.String json
Receive json.
-
resultexception
protected java.lang.Exception resultexception
Exception if it occurred.
-
-
Method Detail
-
execute
public IFuture<java.lang.Void> execute()
Performs the call.
-
-