public static enum WebhookResultDto.HttpMethodEnum extends Enum<WebhookResultDto.HttpMethodEnum>
Modifier and Type | Class and Description |
---|---|
static class |
WebhookResultDto.HttpMethodEnum.Adapter |
Enum Constant and Description |
---|
DELETE |
GET |
HEAD |
OPTIONS |
PATCH |
POST |
PUT |
TRACE |
Modifier and Type | Method and Description |
---|---|
static WebhookResultDto.HttpMethodEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static WebhookResultDto.HttpMethodEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebhookResultDto.HttpMethodEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebhookResultDto.HttpMethodEnum GET
public static final WebhookResultDto.HttpMethodEnum HEAD
public static final WebhookResultDto.HttpMethodEnum POST
public static final WebhookResultDto.HttpMethodEnum PUT
public static final WebhookResultDto.HttpMethodEnum PATCH
public static final WebhookResultDto.HttpMethodEnum DELETE
public static final WebhookResultDto.HttpMethodEnum OPTIONS
public static final WebhookResultDto.HttpMethodEnum TRACE
public static WebhookResultDto.HttpMethodEnum[] values()
for (WebhookResultDto.HttpMethodEnum c : WebhookResultDto.HttpMethodEnum.values()) System.out.println(c);
public static WebhookResultDto.HttpMethodEnum 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 getValue()
public String toString()
toString
in class Enum<WebhookResultDto.HttpMethodEnum>
public static WebhookResultDto.HttpMethodEnum fromValue(String value)
Copyright © 2023. All rights reserved.