Package | Description |
---|---|
io.netty.handler.codec.socks |
Encoder, decoder and their related message types for Socks.
|
Modifier and Type | Method and Description |
---|---|
SocksAddressType |
SocksCmdResponse.addressType()
Returns the
SocksAddressType of this SocksCmdResponse |
SocksAddressType |
SocksCmdRequest.addressType()
Returns the
SocksAddressType of this SocksCmdRequest |
static SocksAddressType |
SocksAddressType.fromByte(byte b)
Deprecated.
Use
valueOf(byte) instead. |
static SocksAddressType |
SocksAddressType.valueOf(byte b) |
static SocksAddressType |
SocksAddressType.valueOf(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,
String host,
int port) |
SocksCmdResponse(SocksCmdStatus cmdStatus,
SocksAddressType addressType) |
SocksCmdResponse(SocksCmdStatus cmdStatus,
SocksAddressType addressType,
String host,
int port)
Constructs new response and includes provided host and port as part of it.
|
Copyright © 2008–2024 The Netty Project. All rights reserved.