public final class SocksAuthResponse extends SocksResponse
SocksAuthRequest,
SocksAuthResponseDecoder| Modifier and Type | Field and Description |
|---|---|
private SocksAuthStatus |
authStatus |
private static SocksSubnegotiationVersion |
SUBNEGOTIATION_VERSION |
| Constructor and Description |
|---|
SocksAuthResponse(SocksAuthStatus authStatus) |
| Modifier and Type | Method and Description |
|---|---|
SocksAuthStatus |
authStatus()
Returns the
SocksAuthStatus of this SocksAuthResponse |
void |
encodeAsByteBuf(ByteBuf byteBuf) |
responseTypeprotocolVersion, typeprivate static final SocksSubnegotiationVersion SUBNEGOTIATION_VERSION
private final SocksAuthStatus authStatus
public SocksAuthResponse(SocksAuthStatus authStatus)
public SocksAuthStatus authStatus()
SocksAuthStatus of this SocksAuthResponseSocksAuthStatus of this SocksAuthResponsepublic void encodeAsByteBuf(ByteBuf byteBuf)
encodeAsByteBuf in class SocksMessage