public final class SocksAuthRequest extends SocksRequest
SocksAuthResponse}
,
SocksAuthRequestDecoder}
SocksRequest.SocksRequestType
SocksMessage.AddressType, SocksMessage.AuthScheme, SocksMessage.AuthStatus, SocksMessage.CmdStatus, SocksMessage.CmdType, SocksMessage.MessageType, SocksMessage.ProtocolVersion, SocksMessage.SubnegotiationVersion
Constructor and Description |
---|
SocksAuthRequest(String username,
String password) |
Modifier and Type | Method and Description |
---|---|
void |
encodeAsByteBuf(ChannelBuffer channelBuffer)
Encode socks message into its byte representation and write it into byteBuf
|
String |
getPassword()
Returns password that needs to be validated
|
String |
getUsername()
Returns username that needs to be authenticated
|
getSocksRequestType
getMessageType, getProtocolVersion
public String getUsername()
public String getPassword()
public void encodeAsByteBuf(ChannelBuffer channelBuffer) throws Exception
SocksMessage
encodeAsByteBuf
in class SocksMessage
Exception
ChannelBuffer
Copyright © 2008-2016 The Netty Project. All Rights Reserved.