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.SocksRequestType
Nested 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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final CharsetEncoder
private final String
private static final SocksMessage.SubnegotiationVersion
private final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
encodeAsByteBuf
(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
getSocksRequestType
Methods inherited from class org.jboss.netty.handler.codec.socks.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:SocksMessage
Encode socks message into its byte representation and write it into byteBuf- Specified by:
encodeAsByteBuf
in classSocksMessage
- Throws:
Exception
- See Also:
-