public static enum HttpConstants.HttpMethods extends Enum<HttpConstants.HttpMethods>
| Modifier and Type | Method and Description |
|---|---|
String |
getMethod()
Returns the HTTP Method to be sent with the HTTP Request message.
|
static HttpConstants.HttpMethods |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpConstants.HttpMethods[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HttpConstants.HttpMethods GET
public static final HttpConstants.HttpMethods POST
public static HttpConstants.HttpMethods[] values()
for (HttpConstants.HttpMethods c : HttpConstants.HttpMethods.values()) System.out.println(c);
public static HttpConstants.HttpMethods 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 getMethod()
Copyright © 2022 HERE Europe B.V. All Rights Reserved.