Class TracedHttpClient
java.lang.Object
org.openqa.selenium.remote.tracing.TracedHttpClient
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.openqa.selenium.remote.http.HttpClient
,org.openqa.selenium.remote.http.HttpHandler
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
org.openqa.selenium.remote.http.HttpResponse
execute
(org.openqa.selenium.remote.http.HttpRequest req) org.openqa.selenium.remote.http.WebSocket
openSocket
(org.openqa.selenium.remote.http.HttpRequest request, org.openqa.selenium.remote.http.WebSocket.Listener listener) <T> CompletableFuture
<HttpResponse<T>> sendAsyncNative
(HttpRequest request, HttpResponse.BodyHandler<T> handler) <T> HttpResponse
<T> sendNative
(HttpRequest request, HttpResponse.BodyHandler<T> handler) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.openqa.selenium.remote.http.HttpClient
executeAsync
Methods inherited from interface org.openqa.selenium.remote.http.HttpHandler
with
-
Method Details
-
openSocket
public org.openqa.selenium.remote.http.WebSocket openSocket(org.openqa.selenium.remote.http.HttpRequest request, org.openqa.selenium.remote.http.WebSocket.Listener listener) - Specified by:
openSocket
in interfaceorg.openqa.selenium.remote.http.HttpClient
-
execute
public org.openqa.selenium.remote.http.HttpResponse execute(org.openqa.selenium.remote.http.HttpRequest req) - Specified by:
execute
in interfaceorg.openqa.selenium.remote.http.HttpHandler
-
sendAsyncNative
public <T> CompletableFuture<HttpResponse<T>> sendAsyncNative(HttpRequest request, HttpResponse.BodyHandler<T> handler) - Specified by:
sendAsyncNative
in interfaceorg.openqa.selenium.remote.http.HttpClient
-
sendNative
public <T> HttpResponse<T> sendNative(HttpRequest request, HttpResponse.BodyHandler<T> handler) throws IOException, InterruptedException - Specified by:
sendNative
in interfaceorg.openqa.selenium.remote.http.HttpClient
- Throws:
IOException
InterruptedException
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceorg.openqa.selenium.remote.http.HttpClient
-