public enum HttpMethodType extends Enum<HttpMethodType>
Java class for HttpMethodType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="HttpMethodType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="get"/> <enumeration value="post"/> <enumeration value="put"/> <enumeration value="head"/> <enumeration value="patch"/> <enumeration value="delete"/> <enumeration value="options"/> <enumeration value="trace"/> </restriction> </simpleType>
Enum Constant and Description |
---|
DELETE |
GET |
HEAD |
OPTIONS |
PATCH |
POST |
PUT |
TRACE |
Modifier and Type | Method and Description |
---|---|
static HttpMethodType |
fromValue(String v) |
String |
value() |
static HttpMethodType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpMethodType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpMethodType GET
public static final HttpMethodType POST
public static final HttpMethodType PUT
public static final HttpMethodType HEAD
public static final HttpMethodType PATCH
public static final HttpMethodType DELETE
public static final HttpMethodType OPTIONS
public static final HttpMethodType TRACE
public static HttpMethodType[] values()
for (HttpMethodType c : HttpMethodType.values()) System.out.println(c);
public static HttpMethodType 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 nullpublic String value()
public static HttpMethodType fromValue(String v)
Copyright © 2021 Evolveum. All rights reserved.