程序包 | 说明 |
---|---|
io.netty.handler.codec.socks |
Encoder, decoder and their related message types for Socks.
|
限定符和类型 | 方法和说明 |
---|---|
SocksCmdStatus |
SocksCmdResponse.cmdStatus()
Returns the
SocksCmdStatus of this SocksCmdResponse |
static SocksCmdStatus |
SocksCmdStatus.fromByte(byte b)
已过时。
Use
valueOf(byte) instead. |
static SocksCmdStatus |
SocksCmdStatus.valueOf(byte b) |
static SocksCmdStatus |
SocksCmdStatus.valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static SocksCmdStatus[] |
SocksCmdStatus.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
构造器和说明 |
---|
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.
|