Enum NativeHTTPDataLoader.HttpMethod
- java.lang.Object
-
- java.lang.Enum<NativeHTTPDataLoader.HttpMethod>
-
- eu.europa.esig.dss.spi.client.http.NativeHTTPDataLoader.HttpMethod
-
- All Implemented Interfaces:
Serializable,Comparable<NativeHTTPDataLoader.HttpMethod>
- Enclosing class:
- NativeHTTPDataLoader
public static enum NativeHTTPDataLoader.HttpMethod extends Enum<NativeHTTPDataLoader.HttpMethod>
-
-
Method Summary
Modifier and Type Method Description static NativeHTTPDataLoader.HttpMethodvalueOf(String name)Returns the enum constant of this type with the specified name.static NativeHTTPDataLoader.HttpMethod[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GET
public static final NativeHTTPDataLoader.HttpMethod GET
-
POST
public static final NativeHTTPDataLoader.HttpMethod POST
-
-
Method Detail
-
values
public static NativeHTTPDataLoader.HttpMethod[] 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 NativeHTTPDataLoader.HttpMethod 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
-
-