public final class SocksAuthRequest extends SocksRequest
SocksAuthResponse,
SocksAuthRequestDecoder| Constructor and Description |
|---|
SocksAuthRequest(String username,
String password) |
| Modifier and Type | Method and Description |
|---|---|
void |
encodeAsByteBuf(ByteBuf byteBuf)
Encode socks message into its byte representation and write it into byteBuf
|
String |
password()
Returns password that needs to be validated
|
String |
username()
Returns username that needs to be authenticated
|
requestTypeprotocolVersion, typepublic String username()
public String password()
public void encodeAsByteBuf(ByteBuf byteBuf)
SocksMessageencodeAsByteBuf in class SocksMessageCopyright © 2008–2014 The Netty Project. All rights reserved.