Class JdkHttpClient
java.lang.Object
org.openqa.selenium.remote.http.jdk.JdkHttpClient
- All Implemented Interfaces:
Closeable, AutoCloseable, HttpClient, HttpHandler
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionclient()Will expose the underlying native HttpClient used.voidclose()execute(HttpRequest req) executeAsync(HttpRequest request) static StringmaskUrlCredentials(String uri) static StringopenSocket(HttpRequest request, WebSocket.Listener listener) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface HttpHandler
with
-
Field Details
-
LOG
-
-
Method Details
-
client
Will expose the underlying native HttpClient used. -
openSocket
- Specified by:
openSocketin interfaceHttpClient
-
executeAsync
- Specified by:
executeAsyncin interfaceHttpClient
-
execute
- Specified by:
executein interfaceHttpHandler- Throws:
UncheckedIOException
-
maskUrlCredentials
-
maskUrlCredentials
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceHttpClient
-