public class DefaultSocks5InitialResponse extends AbstractSocks5Message implements Socks5InitialResponse
Socks5InitialResponse
.Modifier and Type | Field and Description |
---|---|
private Socks5AuthMethod |
authMethod |
Constructor and Description |
---|
DefaultSocks5InitialResponse(Socks5AuthMethod authMethod) |
Modifier and Type | Method and Description |
---|---|
Socks5AuthMethod |
authMethod()
Returns the
METHOD field of this response. |
java.lang.String |
toString() |
version
decoderResult, setDecoderResult
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
version
decoderResult, setDecoderResult
private final Socks5AuthMethod authMethod
public DefaultSocks5InitialResponse(Socks5AuthMethod authMethod)
public Socks5AuthMethod authMethod()
Socks5InitialResponse
METHOD
field of this response.authMethod
in interface Socks5InitialResponse
public java.lang.String toString()
toString
in class java.lang.Object