Package net.webpdf.wsclient.openapi
Enum ServerConfigConnector.ProtocolEnum
- java.lang.Object
-
- java.lang.Enum<ServerConfigConnector.ProtocolEnum>
-
- net.webpdf.wsclient.openapi.ServerConfigConnector.ProtocolEnum
-
- All Implemented Interfaces:
Serializable,Comparable<ServerConfigConnector.ProtocolEnum>
- Enclosing class:
- ServerConfigConnector
public static enum ServerConfigConnector.ProtocolEnum extends Enum<ServerConfigConnector.ProtocolEnum>
The protocol to use for a connector. * HTTP/1.1 = Non blocking java NIO connector. * HTTP/2.0 = Non blocking java NIO2 connector. * AJP/1.3 = The APR/native connector.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServerConfigConnector.ProtocolEnumfromValue(String value)StringgetValue()StringtoString()static ServerConfigConnector.ProtocolEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static ServerConfigConnector.ProtocolEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HTTP_1_1
public static final ServerConfigConnector.ProtocolEnum HTTP_1_1
-
HTTP_2_0
public static final ServerConfigConnector.ProtocolEnum HTTP_2_0
-
AJP_1_3
public static final ServerConfigConnector.ProtocolEnum AJP_1_3
-
-
Method Detail
-
values
public static ServerConfigConnector.ProtocolEnum[] 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 (ServerConfigConnector.ProtocolEnum c : ServerConfigConnector.ProtocolEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServerConfigConnector.ProtocolEnum valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<ServerConfigConnector.ProtocolEnum>
-
fromValue
public static ServerConfigConnector.ProtocolEnum fromValue(String value)
-
-