public class RestExecution extends ExtensibleModel
| Modifier and Type | Class and Description |
|---|---|
static class |
RestExecution.RestMethod |
| Modifier and Type | Field and Description |
|---|---|
protected String |
data |
protected String |
endpoint |
protected RestExecution.RestMethod |
method |
| Constructor and Description |
|---|
RestExecution() |
RestExecution(String endpoint,
RestExecution.RestMethod method,
String data) |
| Modifier and Type | Method and Description |
|---|---|
String |
getData() |
String |
getEndpoint() |
RestExecution.RestMethod |
getMethod() |
fromJson, getClazz, readFromJson, writeToJsonprotected String endpoint
protected RestExecution.RestMethod method
protected String data
public RestExecution()
public RestExecution(String endpoint, RestExecution.RestMethod method, String data)
endpoint - URL of the REST servicemethod - the HTTP methoddata - the possible data to send to the RESTpublic String getEndpoint()
public RestExecution.RestMethod getMethod()
public String getData()
Copyright © 2016. All Rights Reserved.