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() |
versiondecoderResult, setDecoderResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitversiondecoderResult, setDecoderResultprivate final Socks5AuthMethod authMethod
public DefaultSocks5InitialResponse(Socks5AuthMethod authMethod)
public Socks5AuthMethod authMethod()
Socks5InitialResponseMETHOD field of this response.authMethod in interface Socks5InitialResponsepublic java.lang.String toString()
toString in class java.lang.Object