Package io.netty.handler.codec.socksx.v5
Class DefaultSocks5PrivateAuthResponse
- java.lang.Object
-
- io.netty.handler.codec.socksx.AbstractSocksMessage
-
- io.netty.handler.codec.socksx.v5.AbstractSocks5Message
-
- io.netty.handler.codec.socksx.v5.DefaultSocks5PrivateAuthResponse
-
- All Implemented Interfaces:
DecoderResultProvider
,SocksMessage
,Socks5Message
,Socks5PrivateAuthResponse
public final class DefaultSocks5PrivateAuthResponse extends AbstractSocks5Message implements Socks5PrivateAuthResponse
The defaultSocks5PrivateAuthResponse
implementation.
-
-
Constructor Summary
Constructors Constructor Description DefaultSocks5PrivateAuthResponse(Socks5PrivateAuthStatus authStatus)
Creates a new instance with the specified status.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Socks5PrivateAuthStatus
status()
Returns the status 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
-
DefaultSocks5PrivateAuthResponse
public DefaultSocks5PrivateAuthResponse(Socks5PrivateAuthStatus authStatus)
Creates a new instance with the specified status.- Parameters:
authStatus
- the authentication status
-
-
Method Detail
-
status
public Socks5PrivateAuthStatus status()
Description copied from interface:Socks5PrivateAuthResponse
Returns the status of this response.- Specified by:
status
in interfaceSocks5PrivateAuthResponse
- Returns:
- the authentication status
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-