public class SRestInvocationHelper
extends java.lang.Object
Constructor and Description |
---|
SRestInvocationHelper() |
Modifier and Type | Method and Description |
---|---|
static IFuture<java.lang.String> |
invokeJson(IInternalAccess component,
java.lang.String uri,
java.lang.String path,
java.util.Map<java.lang.String,java.lang.Object> headers,
java.util.Map<java.lang.String,java.lang.Object> params,
java.lang.Class<?> resttype)
Invokes the REST service for a JSON response.
|
static IFuture<java.lang.String> |
invokeJson(IInternalAccess component,
java.lang.String uri,
java.lang.String path,
java.util.Map<java.lang.String,java.lang.Object> headers,
java.util.Map<java.lang.String,java.lang.Object> params,
java.lang.Class<?> resttype,
boolean inurlparams)
Invokes the REST service for a JSON response.
|
public static final IFuture<java.lang.String> invokeJson(IInternalAccess component, java.lang.String uri, java.lang.String path, java.util.Map<java.lang.String,java.lang.Object> headers, java.util.Map<java.lang.String,java.lang.Object> params, java.lang.Class<?> resttype)
uri
- URI to invoke.path
- Path to invoke.headers
- Header fields.params
- Parameters.public static final IFuture<java.lang.String> invokeJson(IInternalAccess component, java.lang.String uri, java.lang.String path, java.util.Map<java.lang.String,java.lang.Object> headers, java.util.Map<java.lang.String,java.lang.Object> params, java.lang.Class<?> resttype, boolean inurlparams)
uri
- URI to invoke.path
- Path to invoke.headers
- Header fields.params
- Parameters.