public static enum UrlPathUtil.HttpMethod extends Enum<UrlPathUtil.HttpMethod>
Enum Constant and Description |
---|
DELETE |
GET |
HEAD |
OPTIONS |
PATCH |
POST |
PUT |
TRACE |
Modifier and Type | Method and Description |
---|---|
static UrlPathUtil.HttpMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UrlPathUtil.HttpMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UrlPathUtil.HttpMethod GET
public static final UrlPathUtil.HttpMethod POST
public static final UrlPathUtil.HttpMethod HEAD
public static final UrlPathUtil.HttpMethod OPTIONS
public static final UrlPathUtil.HttpMethod PUT
public static final UrlPathUtil.HttpMethod PATCH
public static final UrlPathUtil.HttpMethod DELETE
public static final UrlPathUtil.HttpMethod TRACE
public static UrlPathUtil.HttpMethod[] values()
for (UrlPathUtil.HttpMethod c : UrlPathUtil.HttpMethod.values()) System.out.println(c);
public static UrlPathUtil.HttpMethod valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2023. All rights reserved.