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 org.jboss.netty.handler.codec.socks.SocksRequest
SocksRequest.SocksRequestTypeNested classes/interfaces inherited from class org.jboss.netty.handler.codec.socks.SocksMessage
SocksMessage.AddressType, SocksMessage.AuthScheme, SocksMessage.AuthStatus, SocksMessage.CmdStatus, SocksMessage.CmdType, SocksMessage.MessageType, SocksMessage.ProtocolVersion, SocksMessage.SubnegotiationVersion -
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 org.jboss.netty.handler.codec.socks.SocksRequest
getSocksRequestTypeMethods inherited from class org.jboss.netty.handler.codec.socks.SocksMessage
getMessageType, getProtocolVersion
-
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:
-