Package nl.nn.adapterframework.http.rest
Enum ApiListener.HttpMethod
- java.lang.Object
-
- java.lang.Enum<ApiListener.HttpMethod>
-
- nl.nn.adapterframework.http.rest.ApiListener.HttpMethod
-
- All Implemented Interfaces:
Serializable
,Comparable<ApiListener.HttpMethod>
- Enclosing class:
- ApiListener
public static enum ApiListener.HttpMethod extends Enum<ApiListener.HttpMethod>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ApiListener.HttpMethod
valueOf(String name)
Returns the enum constant of this type with the specified name.static ApiListener.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 ApiListener.HttpMethod GET
-
PUT
public static final ApiListener.HttpMethod PUT
-
POST
public static final ApiListener.HttpMethod POST
-
PATCH
public static final ApiListener.HttpMethod PATCH
-
DELETE
public static final ApiListener.HttpMethod DELETE
-
OPTIONS
public static final ApiListener.HttpMethod OPTIONS
-
-
Method Detail
-
values
public static ApiListener.HttpMethod[] 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 (ApiListener.HttpMethod c : ApiListener.HttpMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ApiListener.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
-
-