public enum RequestMethod extends Enum<RequestMethod> implements com.google.protobuf.ProtocolMessageEnum
HTTP request method.Protobuf enum
envoy.config.core.v4alpha.RequestMethod| Enum Constant and Description |
|---|
CONNECT
CONNECT = 6; |
DELETE
DELETE = 5; |
GET
GET = 1; |
HEAD
HEAD = 2; |
METHOD_UNSPECIFIED
METHOD_UNSPECIFIED = 0; |
OPTIONS
OPTIONS = 7; |
PATCH
PATCH = 9; |
POST
POST = 3; |
PUT
PUT = 4; |
TRACE
TRACE = 8; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CONNECT_VALUE
CONNECT = 6; |
static int |
DELETE_VALUE
DELETE = 5; |
static int |
GET_VALUE
GET = 1; |
static int |
HEAD_VALUE
HEAD = 2; |
static int |
METHOD_UNSPECIFIED_VALUE
METHOD_UNSPECIFIED = 0; |
static int |
OPTIONS_VALUE
OPTIONS = 7; |
static int |
PATCH_VALUE
PATCH = 9; |
static int |
POST_VALUE
POST = 3; |
static int |
PUT_VALUE
PUT = 4; |
static int |
TRACE_VALUE
TRACE = 8; |
| Modifier and Type | Method and Description |
|---|---|
static RequestMethod |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<RequestMethod> |
internalGetValueMap() |
static RequestMethod |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RequestMethod |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RequestMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequestMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RequestMethod METHOD_UNSPECIFIED
METHOD_UNSPECIFIED = 0;public static final RequestMethod GET
GET = 1;public static final RequestMethod HEAD
HEAD = 2;public static final RequestMethod POST
POST = 3;public static final RequestMethod PUT
PUT = 4;public static final RequestMethod DELETE
DELETE = 5;public static final RequestMethod CONNECT
CONNECT = 6;public static final RequestMethod OPTIONS
OPTIONS = 7;public static final RequestMethod TRACE
TRACE = 8;public static final RequestMethod PATCH
PATCH = 9;public static final RequestMethod UNRECOGNIZED
public static final int METHOD_UNSPECIFIED_VALUE
METHOD_UNSPECIFIED = 0;public static final int GET_VALUE
GET = 1;public static final int HEAD_VALUE
HEAD = 2;public static final int POST_VALUE
POST = 3;public static final int PUT_VALUE
PUT = 4;public static final int DELETE_VALUE
DELETE = 5;public static final int CONNECT_VALUE
CONNECT = 6;public static final int OPTIONS_VALUE
OPTIONS = 7;public static final int TRACE_VALUE
TRACE = 8;public static final int PATCH_VALUE
PATCH = 9;public static RequestMethod[] values()
for (RequestMethod c : RequestMethod.values()) System.out.println(c);
public static RequestMethod 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 final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static RequestMethod valueOf(int value)
forNumber(int) instead.public static RequestMethod forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<RequestMethod> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static RequestMethod valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2021 The Envoy Project. All rights reserved.