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

public class TracedHttpClient extends Object implements org.openqa.selenium.remote.http.HttpClient
  • 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 interface org.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 interface org.openqa.selenium.remote.http.HttpHandler
    • sendAsyncNative

      public <T> CompletableFuture<HttpResponse<T>> sendAsyncNative(HttpRequest request, HttpResponse.BodyHandler<T> handler)
      Specified by:
      sendAsyncNative in interface org.openqa.selenium.remote.http.HttpClient
    • sendNative

      public <T> HttpResponse<T> sendNative(HttpRequest request, HttpResponse.BodyHandler<T> handler) throws IOException, InterruptedException
      Specified by:
      sendNative in interface org.openqa.selenium.remote.http.HttpClient
      Throws:
      IOException
      InterruptedException
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Specified by:
      close in interface org.openqa.selenium.remote.http.HttpClient