Package io.netty.handler.codec.socksx.v5
Class DefaultSocks5InitialResponse
- java.lang.Object
-
- io.netty.handler.codec.socksx.AbstractSocksMessage
-
- io.netty.handler.codec.socksx.v5.AbstractSocks5Message
-
- io.netty.handler.codec.socksx.v5.DefaultSocks5InitialResponse
-
- All Implemented Interfaces:
DecoderResultProvider
,SocksMessage
,Socks5InitialResponse
,Socks5Message
public class DefaultSocks5InitialResponse extends AbstractSocks5Message implements Socks5InitialResponse
The defaultSocks5InitialResponse
.
-
-
Constructor Summary
Constructors Constructor Description DefaultSocks5InitialResponse(Socks5AuthMethod authMethod)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Socks5AuthMethod
authMethod()
Returns theMETHOD
field of this response.java.lang.String
toString()
-
Methods inherited from class io.netty.handler.codec.socksx.v5.AbstractSocks5Message
version
-
Methods inherited from class io.netty.handler.codec.socksx.AbstractSocksMessage
decoderResult, setDecoderResult
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.netty.handler.codec.DecoderResultProvider
decoderResult, setDecoderResult
-
Methods inherited from interface io.netty.handler.codec.socksx.SocksMessage
version
-
-
-
-
Constructor Detail
-
DefaultSocks5InitialResponse
public DefaultSocks5InitialResponse(Socks5AuthMethod authMethod)
-
-
Method Detail
-
authMethod
public Socks5AuthMethod authMethod()
Description copied from interface:Socks5InitialResponse
Returns theMETHOD
field of this response.- Specified by:
authMethod
in interfaceSocks5InitialResponse
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-