Package | Description |
---|---|
org.snf4j.core.proxy |
Provides classes and interfaces for proxy handling.
|
Modifier and Type | Method and Description |
---|---|
static Socks4Command |
Socks4Command.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Socks4Command[] |
Socks4Command.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
Socks4ProxyHandler(InetSocketAddress address,
Socks4Command command,
String username)
Constructs a SOCKS4 proxy connection handler with the specified destination
address, SOCKS4 command, user's name and the default (10 seconds) connection
timeout.
|
Socks4ProxyHandler(InetSocketAddress address,
Socks4Command command,
String username,
ISessionConfig config)
Constructs a SOCKS4 proxy connection handler with the specified destination
address, SOCKS4 command, user's name, the default (10 seconds) connection
timeout and configuration.
|
Socks4ProxyHandler(InetSocketAddress address,
Socks4Command command,
String username,
ISessionConfig config,
ISessionStructureFactory factory)
Constructs a SOCKS4 proxy connection handler with the specified destination
address, SOCKS4 command, user's name, the default (10 seconds) connection
timeout, configuration and factory.
|
Copyright © 2017–2022 SNF4J.ORG. All rights reserved.