Package org.cip4.jdflib.util
Enum UrlUtil.HttpMethod
- java.lang.Object
-
- java.lang.Enum<UrlUtil.HttpMethod>
-
- org.cip4.jdflib.util.UrlUtil.HttpMethod
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<UrlUtil.HttpMethod>
- Enclosing class:
- UrlUtil
public static enum UrlUtil.HttpMethod extends java.lang.Enum<UrlUtil.HttpMethod>
list of all http methods
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UrlUtil.HttpMethodvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static UrlUtil.HttpMethod[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
POST
public static final UrlUtil.HttpMethod POST
-
PUT
public static final UrlUtil.HttpMethod PUT
-
GET
public static final UrlUtil.HttpMethod GET
-
HEAD
public static final UrlUtil.HttpMethod HEAD
-
DELETE
public static final UrlUtil.HttpMethod DELETE
-
CONNECT
public static final UrlUtil.HttpMethod CONNECT
-
OPTIONS
public static final UrlUtil.HttpMethod OPTIONS
-
TRACE
public static final UrlUtil.HttpMethod TRACE
-
PATCH
public static final UrlUtil.HttpMethod PATCH
-
-
Method Detail
-
values
public static UrlUtil.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 (UrlUtil.HttpMethod c : UrlUtil.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 UrlUtil.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
-
-