public class TableServiceConnector extends Object
| Modifier and Type | Field and Description |
|---|---|
protected HashMap<String,String> |
headers |
protected String |
serviceUrl |
protected int |
timeout |
| Constructor and Description |
|---|
TableServiceConnector() |
| Modifier and Type | Method and Description |
|---|---|
String |
call(String endpoint,
MultipartForm content) |
BumpStatusCollection |
getBumpStatusCollection() |
HashMap<String,String> |
getHeaders() |
String |
getLocationId() |
String |
getSecurityToken() |
String |
getServiceUrl() |
String |
getSessionId() |
int |
getTimeout() |
boolean |
isConfigured() |
protected com.global.api.gateways.GatewayResponse |
sendRequest(String endpoint,
org.apache.http.entity.mime.MultipartEntity content) |
protected com.global.api.gateways.GatewayResponse |
sendRequest(String verb,
String endpoint) |
protected com.global.api.gateways.GatewayResponse |
sendRequest(String verb,
String endpoint,
String data) |
protected com.global.api.gateways.GatewayResponse |
sendRequest(String verb,
String endpoint,
String data,
HashMap<String,String> queryStringParams) |
void |
setBumpStatusCollection(BumpStatusCollection bumpStatusCollection) |
void |
setEnableLogging(boolean enableLogging) |
void |
setHeaders(HashMap<String,String> headers) |
void |
setLocationId(String locationId) |
void |
setSecurityToken(String securityToken) |
void |
setServiceUrl(String serviceUrl) |
void |
setSessionId(String sessionId) |
void |
setTimeout(int timeout) |
protected int timeout
protected String serviceUrl
public boolean isConfigured()
public String getLocationId()
public String getSecurityToken()
public String getSessionId()
public BumpStatusCollection getBumpStatusCollection()
public void setLocationId(String locationId)
public void setSecurityToken(String securityToken)
public void setSessionId(String sessionId)
public void setBumpStatusCollection(BumpStatusCollection bumpStatusCollection)
public String call(String endpoint, MultipartForm content) throws GatewayException
GatewayExceptionpublic void setEnableLogging(boolean enableLogging)
public int getTimeout()
public void setTimeout(int timeout)
public String getServiceUrl()
public void setServiceUrl(String serviceUrl)
protected com.global.api.gateways.GatewayResponse sendRequest(String verb, String endpoint) throws GatewayException
GatewayExceptionprotected com.global.api.gateways.GatewayResponse sendRequest(String verb, String endpoint, String data) throws GatewayException
GatewayExceptionprotected com.global.api.gateways.GatewayResponse sendRequest(String verb, String endpoint, String data, HashMap<String,String> queryStringParams) throws GatewayException
GatewayExceptionprotected com.global.api.gateways.GatewayResponse sendRequest(String endpoint, org.apache.http.entity.mime.MultipartEntity content) throws GatewayException
GatewayExceptionCopyright © 2019. All rights reserved.