Class SocksAuthRequest
java.lang.Object
org.jboss.netty.handler.codec.socks.SocksMessage
org.jboss.netty.handler.codec.socks.SocksRequest
org.jboss.netty.handler.codec.socks.SocksAuthRequest
An socks auth request.
-
Nested Class Summary
Nested classes/interfaces inherited from class SocksRequest
SocksRequest.SocksRequestTypeNested classes/interfaces inherited from class SocksMessage
SocksMessage.AddressType, SocksMessage.AuthScheme, SocksMessage.AuthStatus, SocksMessage.CmdStatus, SocksMessage.CmdType, SocksMessage.MessageType, SocksMessage.ProtocolVersion, SocksMessage.SubnegotiationVersion -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final CharsetEncoderprivate final Stringprivate static final SocksMessage.SubnegotiationVersionprivate final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeAsByteBuf(ChannelBuffer channelBuffer) Encode socks message into its byte representation and write it into byteBufReturns password that needs to be validatedReturns username that needs to be authenticatedMethods inherited from class SocksRequest
getSocksRequestTypeMethods inherited from class SocksMessage
getMessageType, getProtocolVersion
-
Field Details
-
asciiEncoder
-
SUBNEGOTIATION_VERSION
-
username
-
password
-
-
Constructor Details
-
SocksAuthRequest
-
-
Method Details
-
getUsername
Returns username that needs to be authenticated- Returns:
- username that needs to be authenticated
-
getPassword
Returns password that needs to be validated- Returns:
- password that needs to be validated
-
encodeAsByteBuf
Description copied from class:SocksMessageEncode socks message into its byte representation and write it into byteBuf- Specified by:
encodeAsByteBufin classSocksMessage- Throws:
Exception- See Also:
-