Package org.apache.hc.core5.reactor
Enum SocksProxyProtocolHandler.State
- java.lang.Object
-
- java.lang.Enum<SocksProxyProtocolHandler.State>
-
- org.apache.hc.core5.reactor.SocksProxyProtocolHandler.State
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SocksProxyProtocolHandler.State>
- Enclosing class:
- SocksProxyProtocolHandler
private static enum SocksProxyProtocolHandler.State extends java.lang.Enum<SocksProxyProtocolHandler.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPLETE
RECEIVE_ADDRESS
RECEIVE_ADDRESS_TYPE
RECEIVE_AUTH
RECEIVE_AUTH_METHOD
RECEIVE_RESPONSE_CODE
SEND_AUTH
SEND_CONNECT
SEND_USERNAME_PASSWORD
-
Constructor Summary
Constructors Modifier Constructor Description private
State()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SocksProxyProtocolHandler.State
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SocksProxyProtocolHandler.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SEND_AUTH
public static final SocksProxyProtocolHandler.State SEND_AUTH
-
RECEIVE_AUTH_METHOD
public static final SocksProxyProtocolHandler.State RECEIVE_AUTH_METHOD
-
SEND_USERNAME_PASSWORD
public static final SocksProxyProtocolHandler.State SEND_USERNAME_PASSWORD
-
RECEIVE_AUTH
public static final SocksProxyProtocolHandler.State RECEIVE_AUTH
-
SEND_CONNECT
public static final SocksProxyProtocolHandler.State SEND_CONNECT
-
RECEIVE_RESPONSE_CODE
public static final SocksProxyProtocolHandler.State RECEIVE_RESPONSE_CODE
-
RECEIVE_ADDRESS_TYPE
public static final SocksProxyProtocolHandler.State RECEIVE_ADDRESS_TYPE
-
RECEIVE_ADDRESS
public static final SocksProxyProtocolHandler.State RECEIVE_ADDRESS
-
COMPLETE
public static final SocksProxyProtocolHandler.State COMPLETE
-
-
Method Detail
-
values
public static SocksProxyProtocolHandler.State[] 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 (SocksProxyProtocolHandler.State c : SocksProxyProtocolHandler.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SocksProxyProtocolHandler.State 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
-
-