Package org.hcjf.io.net.http
Enum HttpPackage.HttpProtocol
- java.lang.Object
-
- java.lang.Enum<HttpPackage.HttpProtocol>
-
- org.hcjf.io.net.http.HttpPackage.HttpProtocol
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<HttpPackage.HttpProtocol>,java.lang.constant.Constable
- Enclosing class:
- HttpPackage
public static enum HttpPackage.HttpProtocol extends java.lang.Enum<HttpPackage.HttpProtocol>
Enum with the http protocols
-
-
Method Summary
Modifier and Type Method Description static HttpPackage.HttpProtocolvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static HttpPackage.HttpProtocol[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HTTP
public static final HttpPackage.HttpProtocol HTTP
-
HTTPS
public static final HttpPackage.HttpProtocol HTTPS
-
-
Method Detail
-
values
public static HttpPackage.HttpProtocol[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HttpPackage.HttpProtocol 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
-
-