public static enum APIModel.HTTPMethod extends Enum<APIModel.HTTPMethod>
| Enum Constant and Description |
|---|
Delete |
Get |
Head |
Options |
Patch |
Post |
Put |
UnknownMethod |
| Modifier and Type | Method and Description |
|---|---|
static APIModel.HTTPMethod |
fromFlow(HttpMethod f) |
static APIModel.HTTPMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static APIModel.HTTPMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final APIModel.HTTPMethod UnknownMethod
public static final APIModel.HTTPMethod Get
public static final APIModel.HTTPMethod Head
public static final APIModel.HTTPMethod Post
public static final APIModel.HTTPMethod Put
public static final APIModel.HTTPMethod Delete
public static final APIModel.HTTPMethod Options
public static final APIModel.HTTPMethod Patch
public static APIModel.HTTPMethod[] values()
for (APIModel.HTTPMethod c : APIModel.HTTPMethod.values()) System.out.println(c);
public static APIModel.HTTPMethod 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 static APIModel.HTTPMethod fromFlow(HttpMethod f)
Copyright © 2021. All rights reserved.