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