public interface ApacheSender
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MAX_CONNECTIONS_PER_ROUTE |
static int |
DEFAULT_MAX_TOTAL_CONNECTIONS |
static int |
REQUEST_TIMEOUT_IN_MILLIS |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
dispose(org.apache.http.HttpResponse response) |
void |
enhanceRequest(org.apache.http.client.methods.HttpPost request) |
org.apache.http.client.HttpClient |
getHttpClient() |
org.apache.http.HttpResponse |
sendPostRequest(org.apache.http.client.methods.HttpPost post) |
static final int DEFAULT_MAX_TOTAL_CONNECTIONS
static final int REQUEST_TIMEOUT_IN_MILLIS
static final int DEFAULT_MAX_CONNECTIONS_PER_ROUTE
org.apache.http.HttpResponse sendPostRequest(org.apache.http.client.methods.HttpPost post) throws java.io.IOException
java.io.IOException
void dispose(org.apache.http.HttpResponse response)
void close()
org.apache.http.client.HttpClient getHttpClient()
void enhanceRequest(org.apache.http.client.methods.HttpPost request)