public class HttpClientOperationsImpl extends Object implements HttpClientOperations
| Constructor and Description |
|---|
HttpClientOperationsImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.http.impl.client.CloseableHttpClient |
createHttpClient()
Creates a new CloseableHttpClient.
|
org.apache.http.client.methods.CloseableHttpResponse |
execute(org.apache.http.impl.client.CloseableHttpClient httpClient,
org.apache.http.client.methods.HttpUriRequest request)
Executes an HTTP request on an HTTP client.
|
public org.apache.http.client.methods.CloseableHttpResponse execute(org.apache.http.impl.client.CloseableHttpClient httpClient,
org.apache.http.client.methods.HttpUriRequest request)
throws IOException
HttpClientOperationsexecute in interface HttpClientOperationshttpClient - the HTTP client that executes the request.request - the request to execute.IOException - if an I/O error occurred.public org.apache.http.impl.client.CloseableHttpClient createHttpClient()
HttpClientOperationscreateHttpClient in interface HttpClientOperationsCopyright © 2017. All rights reserved.