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) |
responseType
protocolVersion, type
private static final SocksSubnegotiationVersion SUBNEGOTIATION_VERSION
private final SocksAuthStatus authStatus
public SocksAuthResponse(SocksAuthStatus authStatus)
public SocksAuthStatus authStatus()
SocksAuthStatus
of this SocksAuthResponse
SocksAuthStatus
of this SocksAuthResponse
public void encodeAsByteBuf(ByteBuf byteBuf)
encodeAsByteBuf
in class SocksMessage