public enum StandardHttpRequestMethod extends Enum<StandardHttpRequestMethod> implements HttpRequestMethod
| Modifier and Type | Method and Description |
|---|---|
String |
getMethod()
Get HTTP Method
|
static StandardHttpRequestMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StandardHttpRequestMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StandardHttpRequestMethod DELETE
public static final StandardHttpRequestMethod GET
public static final StandardHttpRequestMethod PATCH
public static final StandardHttpRequestMethod POST
public static final StandardHttpRequestMethod PUT
public static StandardHttpRequestMethod[] values()
for (StandardHttpRequestMethod c : StandardHttpRequestMethod.values()) System.out.println(c);
public static StandardHttpRequestMethod 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()
HttpRequestMethodgetMethod in interface HttpRequestMethodCopyright © 2023 Apache NiFi Project. All rights reserved.