public final class SocksAuthRequest extends SocksRequest
构造器和说明 |
---|
SocksAuthRequest(java.lang.String username,
java.lang.String password) |
限定符和类型 | 方法和说明 |
---|---|
void |
encodeAsByteBuf(ByteBuf byteBuf) |
java.lang.String |
password()
Returns password that needs to be validated
|
java.lang.String |
username()
Returns username that needs to be authenticated
|
requestType
protocolVersion, type
public SocksAuthRequest(java.lang.String username, java.lang.String password)
public java.lang.String username()
public java.lang.String password()
public void encodeAsByteBuf(ByteBuf byteBuf)
encodeAsByteBuf
在类中 SocksMessage