Class Socks4ProxyHandlerFactory

    • Constructor Detail

      • Socks4ProxyHandlerFactory

        public Socks4ProxyHandlerFactory​(SocketAddress proxyAddress)
        Creates a new proxy handler factory that will create SOCKS4 proxy handlers that use the proxy at the given address and that will not perform authentication.
        Parameters:
        proxyAddress - the address of the SOCKS4 proxy server
        Since:
        0.6
      • Socks4ProxyHandlerFactory

        public Socks4ProxyHandlerFactory​(SocketAddress proxyAddress,
                                         String username)
        Creates a new proxy handler factory that will create SOCKS4 proxy handlers that use the proxy at the given address and that will authenticate with the given username.
        Parameters:
        proxyAddress - the address of the SOCKS4 proxy server
        username - the username to use when connecting to the given proxy server
        Since:
        0.6