public static enum WebApp.HTTP extends Enum<WebApp.HTTP>
Modifier and Type | Method and Description |
---|---|
static WebApp.HTTP |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebApp.HTTP[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebApp.HTTP GET
public static final WebApp.HTTP POST
public static final WebApp.HTTP HEAD
public static final WebApp.HTTP PUT
public static final WebApp.HTTP DELETE
public static WebApp.HTTP[] values()
for (WebApp.HTTP c : WebApp.HTTP.values()) System.out.println(c);
public static WebApp.HTTP 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 © 2008–2024 Apache Software Foundation. All rights reserved.