public class AbstractRestClient
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
API_HOST |
static java.lang.String |
BASE_API_URL |
static java.lang.String |
SCHEME |
Constructor and Description |
---|
AbstractRestClient() |
Modifier and Type | Method and Description |
---|---|
<T> T |
request(java.lang.Class<T> retType,
org.apache.http.client.methods.HttpRequestBase req) |
<T> T |
send(GenericRequest genericReq) |
public static final java.lang.String API_HOST
public static final java.lang.String SCHEME
public static final java.lang.String BASE_API_URL
public <T> T send(GenericRequest genericReq)
public <T> T request(java.lang.Class<T> retType, org.apache.http.client.methods.HttpRequestBase req)