public enum RequestVerb extends Enum<RequestVerb>
Modifier and Type | Method and Description |
---|---|
String |
toLowerCase()
Provides lower case name of the verb.
|
static RequestVerb |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequestVerb[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestVerb GET
public static final RequestVerb PUT
public static final RequestVerb POST
public static final RequestVerb DELETE
public static final RequestVerb HEAD
public static RequestVerb[] values()
for (RequestVerb c : RequestVerb.values()) System.out.println(c);
public static RequestVerb 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 toLowerCase()
Copyright © 2020 Microsoft Corporation. All rights reserved.