Package | Description |
---|---|
io.netty.handler.codec.socks |
Encoder, decoder and their related message types for Socks.
|
Modifier and Type | Field and Description |
---|---|
private SocksAddressType |
SocksCmdResponseDecoder.addressType |
private SocksAddressType |
SocksCmdRequestDecoder.addressType |
private SocksAddressType |
SocksCmdRequest.addressType |
private SocksAddressType |
SocksCmdResponse.addressType |
Modifier and Type | Method and Description |
---|---|
SocksAddressType |
SocksCmdRequest.addressType()
Returns the
SocksAddressType of this SocksCmdRequest |
SocksAddressType |
SocksCmdResponse.addressType()
Returns the
SocksAddressType of this SocksCmdResponse |
static SocksAddressType |
SocksAddressType.fromByte(byte b)
Deprecated.
Use
valueOf(byte) instead. |
static SocksAddressType |
SocksAddressType.valueOf(byte b) |
static SocksAddressType |
SocksAddressType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SocksAddressType[] |
SocksAddressType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
SocksCmdRequest(SocksCmdType cmdType,
SocksAddressType addressType,
java.lang.String host,
int port) |
SocksCmdResponse(SocksCmdStatus cmdStatus,
SocksAddressType addressType) |
SocksCmdResponse(SocksCmdStatus cmdStatus,
SocksAddressType addressType,
java.lang.String host,
int port)
Constructs new response and includes provided host and port as part of it.
|