public final class SocksAuthRequest extends SocksRequest
Constructor and Description |
---|
SocksAuthRequest(java.lang.String username, java.lang.String password) |
Modifier and Type | Method and Description |
---|---|
void |
encodeAsByteBuf(ByteBuf byteBuf) |
java.lang.String |
password()
返回需要验证的密码
|
java.lang.String |
username()
返回需要认证的用户名
|
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
Copyright © 2008–2018 The Netty Project. All rights reserved.