Top Description Fields Constructors Methods
io.netty.handler.codec.socksx.v5

public Class DefaultSocks5PasswordAuthRequest

extends AbstractSocks5Message
implements Socks5PasswordAuthRequest
Class Inheritance
All Implemented Interfaces
io.netty.handler.codec.socksx.v5.Socks5PasswordAuthRequest, io.netty.handler.codec.socksx.v5.Socks5Message, io.netty.handler.codec.socksx.SocksMessage, io.netty.handler.codec.DecoderResultProvider
Imports
io.netty.handler.codec.DecoderResult, io.netty.util.internal.ObjectUtil, .StringUtil

The default Socks5PasswordAuthRequest.

Field Summary

Modifier and TypeField and Description
private final String
private final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
password()

Implements io.netty.handler.codec.socksx.v5.Socks5PasswordAuthRequest.password.

Returns the password of this request.
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
public String
username()

Implements io.netty.handler.codec.socksx.v5.Socks5PasswordAuthRequest.username.

Returns the username of this request.
Inherited from io.netty.handler.codec.socksx.v5.AbstractSocks5Message:
version

Field Detail

passwordback to summary
private final String password
usernameback to summary
private final String username

Constructor Detail

DefaultSocks5PasswordAuthRequestback to summary
public DefaultSocks5PasswordAuthRequest(String username, String password)

Method Detail

passwordback to summary
public String password()

Implements io.netty.handler.codec.socksx.v5.Socks5PasswordAuthRequest.password.

Doc from io.netty.handler.codec.socksx.v5.Socks5PasswordAuthRequest.password.

Returns the password of this request.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object

Annotations
@Override
usernameback to summary
public String username()

Implements io.netty.handler.codec.socksx.v5.Socks5PasswordAuthRequest.username.

Doc from io.netty.handler.codec.socksx.v5.Socks5PasswordAuthRequest.username.

Returns the username of this request.

Annotations
@Override