public class Socks5AuthMethod extends java.lang.Object implements java.lang.Comparable<Socks5AuthMethod>
限定符和类型 | 字段和说明 |
---|---|
static Socks5AuthMethod |
GSSAPI |
static Socks5AuthMethod |
NO_AUTH |
static Socks5AuthMethod |
PASSWORD |
static Socks5AuthMethod |
UNACCEPTED
Indicates that the server does not accept any authentication methods the client proposed.
|
构造器和说明 |
---|
Socks5AuthMethod(int byteValue) |
Socks5AuthMethod(int byteValue,
java.lang.String name) |
限定符和类型 | 方法和说明 |
---|---|
byte |
byteValue() |
int |
compareTo(Socks5AuthMethod o) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString() |
static Socks5AuthMethod |
valueOf(byte b) |
public static final Socks5AuthMethod NO_AUTH
public static final Socks5AuthMethod GSSAPI
public static final Socks5AuthMethod PASSWORD
public static final Socks5AuthMethod UNACCEPTED
public Socks5AuthMethod(int byteValue)
public Socks5AuthMethod(int byteValue, java.lang.String name)
public static Socks5AuthMethod valueOf(byte b)
public byte byteValue()
public int hashCode()
hashCode
在类中 java.lang.Object
public boolean equals(java.lang.Object obj)
equals
在类中 java.lang.Object
public int compareTo(Socks5AuthMethod o)
compareTo
在接口中 java.lang.Comparable<Socks5AuthMethod>
public java.lang.String toString()
toString
在类中 java.lang.Object