Class OkHttpClient

  • All Implemented Interfaces:
    org.openqa.selenium.remote.http.HttpClient, org.openqa.selenium.remote.http.HttpHandler

    @Deprecated
    public class OkHttpClient
    extends java.lang.Object
    implements org.openqa.selenium.remote.http.HttpClient
    Deprecated.
    We're switching to Netty. Please use NettyClient instead.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  OkHttpClient.Factory
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      org.openqa.selenium.remote.http.HttpResponse execute​(org.openqa.selenium.remote.http.HttpRequest request)
      Deprecated.
       
      org.openqa.selenium.remote.http.WebSocket openSocket​(org.openqa.selenium.remote.http.HttpRequest request, org.openqa.selenium.remote.http.WebSocket.Listener listener)
      Deprecated.
       
      org.openqa.selenium.remote.http.HttpClient with​(org.openqa.selenium.remote.http.Filter filter)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • execute

        public org.openqa.selenium.remote.http.HttpResponse execute​(org.openqa.selenium.remote.http.HttpRequest request)
        Deprecated.
        Specified by:
        execute in interface org.openqa.selenium.remote.http.HttpHandler
      • openSocket

        public org.openqa.selenium.remote.http.WebSocket openSocket​(org.openqa.selenium.remote.http.HttpRequest request,
                                                                    org.openqa.selenium.remote.http.WebSocket.Listener listener)
        Deprecated.
        Specified by:
        openSocket in interface org.openqa.selenium.remote.http.HttpClient
      • with

        public org.openqa.selenium.remote.http.HttpClient with​(org.openqa.selenium.remote.http.Filter filter)
        Deprecated.
        Specified by:
        with in interface org.openqa.selenium.remote.http.HttpHandler