Class ProxyClient


  • public class ProxyClient
    extends java.lang.Object
    ProxyClient can be used to establish a tunnel via an HTTP proxy.
    • Field Detail

      • connectionConfig

        private final org.apache.http.config.ConnectionConfig connectionConfig
      • httpProcessor

        private final org.apache.http.protocol.HttpProcessor httpProcessor
      • requestExec

        private final org.apache.http.protocol.HttpRequestExecutor requestExec
      • proxyAuthState

        private final AuthState proxyAuthState
      • reuseStrategy

        private final org.apache.http.ConnectionReuseStrategy reuseStrategy
    • Method Detail

      • getParams

        @Deprecated
        public org.apache.http.params.HttpParams getParams()
        Deprecated.
        (4.3) do not use.
      • getAuthSchemeRegistry

        @Deprecated
        public AuthSchemeRegistry getAuthSchemeRegistry()
        Deprecated.
        (4.3) do not use.
      • tunnel

        public java.net.Socket tunnel​(org.apache.http.HttpHost proxy,
                                      org.apache.http.HttpHost target,
                                      Credentials credentials)
                               throws java.io.IOException,
                                      org.apache.http.HttpException
        Throws:
        java.io.IOException
        org.apache.http.HttpException