public class Socks5AuthMethod extends Object implements Comparable<Socks5AuthMethod>
Modifier and Type | Field and Description |
---|---|
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.
|
Constructor and Description |
---|
Socks5AuthMethod(int byteValue) |
Socks5AuthMethod(int byteValue,
String name) |
Modifier and Type | Method and Description |
---|---|
byte |
byteValue() |
int |
compareTo(Socks5AuthMethod o) |
boolean |
equals(Object obj) |
int |
hashCode() |
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, String name)
public static Socks5AuthMethod valueOf(byte b)
public byte byteValue()
public int compareTo(Socks5AuthMethod o)
compareTo
in interface Comparable<Socks5AuthMethod>
Copyright © 2008–2017 The Netty Project. All rights reserved.