Enum UnixDomainSocketFactory.Implementation
- java.lang.Object
-
- java.lang.Enum<UnixDomainSocketFactory.Implementation>
-
- org.apache.hc.client5.http.socket.UnixDomainSocketFactory.Implementation
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<UnixDomainSocketFactory.Implementation>
- Enclosing class:
- UnixDomainSocketFactory
private static enum UnixDomainSocketFactory.Implementation extends java.lang.Enum<UnixDomainSocketFactory.Implementation>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description JDKJUNIXSOCKETNONE
-
Constructor Summary
Constructors Modifier Constructor Description privateImplementation()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UnixDomainSocketFactory.ImplementationvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static UnixDomainSocketFactory.Implementation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JDK
public static final UnixDomainSocketFactory.Implementation JDK
-
JUNIXSOCKET
public static final UnixDomainSocketFactory.Implementation JUNIXSOCKET
-
NONE
public static final UnixDomainSocketFactory.Implementation NONE
-
-
Method Detail
-
values
public static UnixDomainSocketFactory.Implementation[] 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 (UnixDomainSocketFactory.Implementation c : UnixDomainSocketFactory.Implementation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UnixDomainSocketFactory.Implementation 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
-
-