Enum Class Socks5ClientConnector.SocksAuthenticationMethod
java.lang.Object
java.lang.Enum<Socks5ClientConnector.SocksAuthenticationMethod>
org.eclipse.jgit.internal.transport.sshd.proxy.Socks5ClientConnector.SocksAuthenticationMethod
- All Implemented Interfaces:
Serializable
,Comparable<Socks5ClientConnector.SocksAuthenticationMethod>
,Constable
- Enclosing class:
- Socks5ClientConnector
private static enum Socks5ClientConnector.SocksAuthenticationMethod
extends Enum<Socks5ClientConnector.SocksAuthenticationMethod>
Authentication methods for SOCKS5.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Enum Constant Details
-
ANONYMOUS
-
GSSAPI
-
PASSWORD
-
NONE_ACCEPTABLE
-
-
Field Details
-
value
private final byte value
-
-
Constructor Details
-
SocksAuthenticationMethod
private SocksAuthenticationMethod(int value)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public byte getValue()
-