Enum Socks5ClientConnector.SocksAuthenticationMethod
- java.lang.Object
-
- java.lang.Enum<Socks5ClientConnector.SocksAuthenticationMethod>
-
- org.eclipse.jgit.internal.transport.sshd.proxy.Socks5ClientConnector.SocksAuthenticationMethod
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Socks5ClientConnector.SocksAuthenticationMethod>
- Enclosing class:
- Socks5ClientConnector
private static enum Socks5ClientConnector.SocksAuthenticationMethod extends java.lang.Enum<Socks5ClientConnector.SocksAuthenticationMethod>
Authentication methods for SOCKS5.- See Also:
- SOCKS Methods, IANA.org
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANONYMOUS
GSSAPI
NONE_ACCEPTABLE
PASSWORD
-
Field Summary
Fields Modifier and Type Field Description private byte
value
-
Constructor Summary
Constructors Modifier Constructor Description private
SocksAuthenticationMethod(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte
getValue()
static Socks5ClientConnector.SocksAuthenticationMethod
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Socks5ClientConnector.SocksAuthenticationMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANONYMOUS
public static final Socks5ClientConnector.SocksAuthenticationMethod ANONYMOUS
-
GSSAPI
public static final Socks5ClientConnector.SocksAuthenticationMethod GSSAPI
-
PASSWORD
public static final Socks5ClientConnector.SocksAuthenticationMethod PASSWORD
-
NONE_ACCEPTABLE
public static final Socks5ClientConnector.SocksAuthenticationMethod NONE_ACCEPTABLE
-
-
Method Detail
-
values
public static Socks5ClientConnector.SocksAuthenticationMethod[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Socks5ClientConnector.SocksAuthenticationMethod c : Socks5ClientConnector.SocksAuthenticationMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Socks5ClientConnector.SocksAuthenticationMethod valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public byte getValue()
-
-