JavaScript is disabled on your browser.
Skip navigation links
org.htmlunit.httpclient

Class SocksConnectionSocketFactory

  • All Implemented Interfaces:
    org.apache.http.conn.socket.ConnectionSocketFactory


    public class SocksConnectionSocketFactory
    extends org.apache.http.conn.socket.PlainConnectionSocketFactory
    SOCKS aware ConnectionSocketFactory.
    Author:
    Ahmed Ashour, Ronald Brill, Marc Guillemot
    • Field Summary

      • Fields inherited from class org.apache.http.conn.socket.PlainConnectionSocketFactory

        INSTANCE
    • Constructor Detail

      • SocksConnectionSocketFactory

        public SocksConnectionSocketFactory()
    • Method Detail

      • setSocksProxy

        public static void setSocksProxy(org.apache.http.protocol.HttpContext context,
         org.apache.http.HttpHost socksProxy)
        Enables the socks proxy.
        Parameters:
        context - the HttpContext
        socksProxy - the HttpHost
      • createSocket

        public Socket createSocket(org.apache.http.protocol.HttpContext context)
         throws IOException 
        Specified by:
        createSocket in interface org.apache.http.conn.socket.ConnectionSocketFactory
        Overrides:
        createSocket in class org.apache.http.conn.socket.PlainConnectionSocketFactory
        Throws:
        IOException
Skip navigation links

Copyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /