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 TypeMethodDescriptionvoidclose()org.openqa.selenium.remote.http.HttpResponseexecute(org.openqa.selenium.remote.http.HttpRequest req) org.openqa.selenium.remote.http.WebSocketopenSocket(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, waitMethods inherited from interface org.openqa.selenium.remote.http.HttpClient
executeAsyncMethods 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:
openSocketin interfaceorg.openqa.selenium.remote.http.HttpClient
-
execute
public org.openqa.selenium.remote.http.HttpResponse execute(org.openqa.selenium.remote.http.HttpRequest req) - Specified by:
executein interfaceorg.openqa.selenium.remote.http.HttpHandler
-
sendAsyncNative
public <T> CompletableFuture<HttpResponse<T>> sendAsyncNative(HttpRequest request, HttpResponse.BodyHandler<T> handler) - Specified by:
sendAsyncNativein interfaceorg.openqa.selenium.remote.http.HttpClient
-
sendNative
public <T> HttpResponse<T> sendNative(HttpRequest request, HttpResponse.BodyHandler<T> handler) throws IOException, InterruptedException - Specified by:
sendNativein interfaceorg.openqa.selenium.remote.http.HttpClient- Throws:
IOExceptionInterruptedException
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceorg.openqa.selenium.remote.http.HttpClient
-