public final class HttpClientRequestExecutor extends Object implements RequestExecutor
Modifier and Type | Class and Description |
---|---|
static class |
HttpClientRequestExecutor.HttpClientRequestExecutorBuilder
Builder class used to produce an immutable instance.
|
RequestExecutor.RequestExecutorBuilder
Modifier and Type | Method and Description |
---|---|
static HttpClientRequestExecutor.HttpClientRequestExecutorBuilder |
builder() |
OutgoingRequest |
createOutgoingRequest(DriverRequest originalRequest,
String uri,
boolean proxy) |
org.apache.http.client.methods.CloseableHttpResponse |
execute(OutgoingRequest httpRequest)
Execute a HTTP request.
|
public static HttpClientRequestExecutor.HttpClientRequestExecutorBuilder builder()
public OutgoingRequest createOutgoingRequest(DriverRequest originalRequest, String uri, boolean proxy)
createOutgoingRequest
in interface RequestExecutor
public org.apache.http.client.methods.CloseableHttpResponse execute(OutgoingRequest httpRequest) throws HttpErrorPage
execute
in interface RequestExecutor
httpRequest
- HTTP request to execute.HttpErrorPage
- if server returned no response or if the response as an error status code.Copyright © 2008–2018. All rights reserved.