public class HttpClientRequestExecutor extends java.lang.Object implements RequestExecutor
RequestExecutor implementation that uses the
Apache HttpClient implementation to
execute http requests.| Constructor and Description |
|---|
HttpClientRequestExecutor(HttpClientConfiguration clientConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
Response |
executeRequest(Request request) |
void |
setHttpClient(org.apache.http.client.HttpClient httpClient) |
protected byte[] |
toBytes(org.apache.http.HttpEntity entity) |
protected Response |
toSdkResponse(org.apache.http.HttpResponse httpResponse) |
public HttpClientRequestExecutor(HttpClientConfiguration clientConfiguration)
public void setHttpClient(org.apache.http.client.HttpClient httpClient)
public Response executeRequest(Request request) throws HttpException
executeRequest in interface RequestExecutorHttpExceptionprotected byte[] toBytes(org.apache.http.HttpEntity entity)
throws java.io.IOException
java.io.IOExceptionprotected Response toSdkResponse(org.apache.http.HttpResponse httpResponse) throws java.io.IOException
java.io.IOExceptionCopyright © 2018-2022 Okta. All Rights Reserved.