@Authors(value="Nikolche Mihajlovski") @Since(value="5.5.4") public enum PageVerb extends Enum<PageVerb>
| Enum Constant and Description |
|---|
DELETE |
GET |
GET_OR_POST |
PATCH |
POST |
PUT |
| Modifier and Type | Method and Description |
|---|---|
static PageVerb |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PageVerb[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
String |
verb() |
public static final PageVerb GET
public static final PageVerb POST
public static final PageVerb PUT
public static final PageVerb DELETE
public static final PageVerb PATCH
public static final PageVerb GET_OR_POST
public static PageVerb[] values()
for (PageVerb c : PageVerb.values()) System.out.println(c);
public static PageVerb 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 verb()
Copyright © 2014–2018 Nikolche Mihajlovski and contributors. All rights reserved.