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

public Class DefaultSocks5InitialRequest

extends AbstractSocks5Message
implements Socks5InitialRequest
Class Inheritance
All Implemented Interfaces
io.netty.contrib.handler.codec.socksx.v5.Socks5InitialRequest, io.netty.contrib.handler.codec.socksx.v5.Socks5Message, io.netty.contrib.handler.codec.socksx.SocksMessage, io.netty5.handler.codec.DecoderResultProvider
Imports
io.netty5.handler.codec.DecoderResult, io.netty5.util.internal.StringUtil, java.util.ArrayList, .Collections, .List

The default Socks5InitialRequest.

Field Summary

Modifier and TypeField and Description
private final List<Socks5AuthMethod>

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public List<Socks5AuthMethod>
authMethods()

Implements io.netty.contrib.handler.codec.socksx.v5.Socks5InitialRequest.authMethods.

Returns the list of desired authentication methods.
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from io.netty.contrib.handler.codec.socksx.v5.AbstractSocks5Message:
version

Field Detail

authMethodsback to summary
private final List<Socks5AuthMethod> authMethods

Constructor Detail

DefaultSocks5InitialRequestback to summary
public DefaultSocks5InitialRequest(Socks5AuthMethod... authMethods)
DefaultSocks5InitialRequestback to summary
public DefaultSocks5InitialRequest(Iterable<Socks5AuthMethod> authMethods)

Method Detail

authMethodsback to summary
public List<Socks5AuthMethod> authMethods()

Implements io.netty.contrib.handler.codec.socksx.v5.Socks5InitialRequest.authMethods.

Doc from io.netty.contrib.handler.codec.socksx.v5.Socks5InitialRequest.authMethods.

Returns the list of desired authentication methods.

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