Package org.openqa.selenium.remote.http
Interface HttpClient
-
- All Superinterfaces:
java.lang.AutoCloseable
,java.io.Closeable
,HttpHandler
public interface HttpClient extends java.io.Closeable, HttpHandler
Defines a simple client for making HTTP requests.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
HttpClient.Factory
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
close()
WebSocket
openSocket(HttpRequest request, WebSocket.Listener listener)
-
Methods inherited from interface org.openqa.selenium.remote.http.HttpHandler
execute, with
-
-
-
-
Method Detail
-
openSocket
WebSocket openSocket(HttpRequest request, WebSocket.Listener listener)
-
close
default void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Throws:
java.io.IOException
-
-