public enum RqMethod extends Enum<RqMethod>
| Enum Constant and Description |
|---|
CONNECT
CONNECT.
|
DELETE
DELETE.
|
GET
GET.
|
HEAD
HEAD.
|
OPTIONS
OPTIONS.
|
PATCH
PATCH.
|
POST
POST.
|
PUT
PUT.
|
TRACE
TRACE.
|
| Modifier and Type | Field and Description |
|---|---|
static Set<RqMethod> |
ALL
Set of all existing methods.
|
| Modifier and Type | Method and Description |
|---|---|
String |
value()
Method string.
|
static RqMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RqMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RqMethod OPTIONS
public static final RqMethod GET
public static final RqMethod HEAD
public static final RqMethod POST
public static final RqMethod PUT
public static final RqMethod PATCH
public static final RqMethod DELETE
public static final RqMethod TRACE
public static final RqMethod CONNECT
public static RqMethod[] values()
for (RqMethod c : RqMethod.values()) System.out.println(c);
public static RqMethod 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()
Copyright © 2012–2020 jcabi.com. All rights reserved.