Package io.netty.handler.codec.socksx.v5
Class Socks5AuthMethod
java.lang.Object
io.netty.handler.codec.socksx.v5.Socks5AuthMethod
- All Implemented Interfaces:
Comparable<Socks5AuthMethod>
The authentication method of SOCKS5.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final byte
static final Socks5AuthMethod
private final String
static final Socks5AuthMethod
static final Socks5AuthMethod
private String
static final Socks5AuthMethod
Indicates that the server does not accept any authentication methods the client proposed. -
Constructor Summary
ConstructorsConstructorDescriptionSocks5AuthMethod
(int byteValue) Socks5AuthMethod
(int byteValue, String name) -
Method Summary
Modifier and TypeMethodDescriptionbyte
int
boolean
int
hashCode()
toString()
static Socks5AuthMethod
valueOf
(byte b)
-
Field Details
-
NO_AUTH
-
GSSAPI
-
PASSWORD
-
UNACCEPTED
Indicates that the server does not accept any authentication methods the client proposed. -
byteValue
private final byte byteValue -
name
-
text
-
-
Constructor Details
-
Socks5AuthMethod
public Socks5AuthMethod(int byteValue) -
Socks5AuthMethod
-
-
Method Details
-
valueOf
-
byteValue
public byte byteValue() -
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Socks5AuthMethod>
-
toString
-