public class ApacheHttpAsyncClient extends Object implements org.openqa.selenium.remote.http.HttpClient
| Constructor and Description |
|---|
ApacheHttpAsyncClient(org.apache.http.impl.nio.client.CloseableHttpAsyncClient client,
URL url)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected org.apache.http.protocol.HttpContext |
createContext() |
org.openqa.selenium.remote.http.HttpResponse |
execute(org.openqa.selenium.remote.http.HttpRequest request,
boolean followRedirects) |
public ApacheHttpAsyncClient(org.apache.http.impl.nio.client.CloseableHttpAsyncClient client,
URL url)
client - client.url - url.public org.openqa.selenium.remote.http.HttpResponse execute(org.openqa.selenium.remote.http.HttpRequest request,
boolean followRedirects)
throws IOException
execute in interface org.openqa.selenium.remote.http.HttpClientIOExceptionprotected org.apache.http.protocol.HttpContext createContext()
public void close()
throws IOException
close in interface org.openqa.selenium.remote.http.HttpClientIOExceptionCopyright © 2017. All rights reserved.