Enum HttpBindingConfig.HttpMethod
- java.lang.Object
-
- java.lang.Enum<HttpBindingConfig.HttpMethod>
-
- com.inductiveautomation.perspective.common.config.binding.HttpBindingConfig.HttpMethod
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<HttpBindingConfig.HttpMethod>
- Enclosing class:
- HttpBindingConfig
public static enum HttpBindingConfig.HttpMethod extends java.lang.Enum<HttpBindingConfig.HttpMethod>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HttpBindingConfig.HttpMethod
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static HttpBindingConfig.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 HttpBindingConfig.HttpMethod GET
-
HEAD
public static final HttpBindingConfig.HttpMethod HEAD
-
POST
public static final HttpBindingConfig.HttpMethod POST
-
PUT
public static final HttpBindingConfig.HttpMethod PUT
-
DELETE
public static final HttpBindingConfig.HttpMethod DELETE
-
TRACE
public static final HttpBindingConfig.HttpMethod TRACE
-
OPTIONS
public static final HttpBindingConfig.HttpMethod OPTIONS
-
CONNECT
public static final HttpBindingConfig.HttpMethod CONNECT
-
PATCH
public static final HttpBindingConfig.HttpMethod PATCH
-
-
Method Detail
-
values
public static HttpBindingConfig.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 (HttpBindingConfig.HttpMethod c : HttpBindingConfig.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 HttpBindingConfig.HttpMethod 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
-
-