Package | Description |
---|---|
io.netty.handler.codec.socks |
Encoder, decoder and their related message types for Socks.
|
Modifier and Type | Method and Description |
---|---|
SocksCmdStatus |
SocksCmdResponse.cmdStatus()
Returns the
SocksCmdStatus of this SocksCmdResponse |
static SocksCmdStatus |
SocksCmdStatus.fromByte(byte b)
Deprecated.
Use
valueOf(byte) instead. |
static SocksCmdStatus |
SocksCmdStatus.valueOf(byte b) |
static SocksCmdStatus |
SocksCmdStatus.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SocksCmdStatus[] |
SocksCmdStatus.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
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.