Package io.netty.handler.codec.socks
Class SocksAuthRequest
java.lang.Object
io.netty.handler.codec.socks.SocksMessage
io.netty.handler.codec.socks.SocksRequest
io.netty.handler.codec.socks.SocksAuthRequest
An socks auth request.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final String
private static final SocksSubnegotiationVersion
private final String
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.netty.handler.codec.socks.SocksRequest
requestType
Methods inherited from class io.netty.handler.codec.socks.SocksMessage
protocolVersion, type
-
Field Details
-
SUBNEGOTIATION_VERSION
-
username
-
password
-
-
Constructor Details
-
SocksAuthRequest
-
-
Method Details
-
username
Returns username that needs to be authenticated- Returns:
- username that needs to be authenticated
-
password
Returns password that needs to be validated- Returns:
- password that needs to be validated
-
encodeAsByteBuf
- Specified by:
encodeAsByteBuf
in classSocksMessage
-