程序包 | 说明 |
---|---|
io.netty.handler.codec.socksx |
Encoder, decoder and their related message types for SOCKS protocol.
|
io.netty.handler.codec.socksx.v4 |
Encoder, decoder and their related message types for SOCKSv4 protocol.
|
io.netty.handler.codec.socksx.v5 |
Encoder, decoder and their related message types for SOCKSv5 protocol.
|
限定符和类型 | 方法和说明 |
---|---|
static SocksVersion |
SocksVersion.valueOf(byte b)
Returns the
SocksVersion that corresponds to the specified version field value,
as defined in the protocol specification. |
static SocksVersion |
SocksVersion.valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static SocksVersion[] |
SocksVersion.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
SocksVersion |
SocksMessage.version()
Returns the protocol version of this message.
|
限定符和类型 | 方法和说明 |
---|---|
SocksVersion |
AbstractSocks4Message.version() |
限定符和类型 | 方法和说明 |
---|---|
SocksVersion |
AbstractSocks5Message.version() |