public class IntegralClient2 extends Object
Modifier and Type | Field and Description |
---|---|
private String |
clientId |
private String |
host |
private org.apache.http.impl.nio.client.CloseableHttpAsyncClient |
httpAsyncClient |
Constructor and Description |
---|
IntegralClient2(String host,
String clientId) |
IntegralClient2(String host,
String clientId,
int maxConnPerRoute) |
Modifier and Type | Method and Description |
---|---|
Future<org.apache.http.HttpResponse> |
send(String dataMethod,
String url,
ResultListener resultListener) |
void |
shutdown() |
private final String clientId
private final String host
private org.apache.http.impl.nio.client.CloseableHttpAsyncClient httpAsyncClient
public Future<org.apache.http.HttpResponse> send(String dataMethod, String url, ResultListener resultListener)
public void shutdown()