public class BaseClient extends Object
| Constructor and Description |
|---|
BaseClient(String sessionIdentifier,
String baseUrl) |
| Modifier and Type | Method and Description |
|---|---|
String |
buildUrl(String path) |
String |
getBaseUrl() |
String |
getSessionIdentifier() |
Object |
makeCall(String url,
HttpMethod httpMethod,
Map<String,String> headers,
String queryString,
String payload,
DataType responseDataType,
Class typeReference) |
Object |
makeCall(String url,
HttpMethod httpMethod,
Map<String,String> headers,
String queryString,
String payload,
DataType responseDataType,
com.fasterxml.jackson.core.type.TypeReference typeReference) |
void |
setBaseUrl(String baseUrl) |
void |
setSessionIdentifier(String sessionIdentifier) |
public String getSessionIdentifier()
public void setSessionIdentifier(String sessionIdentifier)
public String getBaseUrl()
public void setBaseUrl(String baseUrl)
public Object makeCall(String url, HttpMethod httpMethod, Map<String,String> headers, String queryString, String payload, DataType responseDataType, Class typeReference) throws Exception
Exceptionpublic Object makeCall(String url, HttpMethod httpMethod, Map<String,String> headers, String queryString, String payload, DataType responseDataType, com.fasterxml.jackson.core.type.TypeReference typeReference) throws Exception
ExceptionCopyright © 2016. All rights reserved.