public static enum RedirectAction.RedirectResponseCode extends Enum<RedirectAction.RedirectResponseCode> implements com.google.protobuf.ProtocolMessageEnum
envoy.config.route.v3.RedirectAction.RedirectResponseCode| Enum Constant and Description |
|---|
FOUND
Found HTTP Status Code - 302.
|
MOVED_PERMANENTLY
Moved Permanently HTTP Status Code - 301.
|
PERMANENT_REDIRECT
Permanent Redirect HTTP Status Code - 308.
|
SEE_OTHER
See Other HTTP Status Code - 303.
|
TEMPORARY_REDIRECT
Temporary Redirect HTTP Status Code - 307.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
FOUND_VALUE
Found HTTP Status Code - 302.
|
static int |
MOVED_PERMANENTLY_VALUE
Moved Permanently HTTP Status Code - 301.
|
static int |
PERMANENT_REDIRECT_VALUE
Permanent Redirect HTTP Status Code - 308.
|
static int |
SEE_OTHER_VALUE
See Other HTTP Status Code - 303.
|
static int |
TEMPORARY_REDIRECT_VALUE
Temporary Redirect HTTP Status Code - 307.
|
| Modifier and Type | Method and Description |
|---|---|
static RedirectAction.RedirectResponseCode |
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<RedirectAction.RedirectResponseCode> |
internalGetValueMap() |
static RedirectAction.RedirectResponseCode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RedirectAction.RedirectResponseCode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RedirectAction.RedirectResponseCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RedirectAction.RedirectResponseCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RedirectAction.RedirectResponseCode MOVED_PERMANENTLY
Moved Permanently HTTP Status Code - 301.
MOVED_PERMANENTLY = 0;public static final RedirectAction.RedirectResponseCode FOUND
Found HTTP Status Code - 302.
FOUND = 1;public static final RedirectAction.RedirectResponseCode SEE_OTHER
See Other HTTP Status Code - 303.
SEE_OTHER = 2;public static final RedirectAction.RedirectResponseCode TEMPORARY_REDIRECT
Temporary Redirect HTTP Status Code - 307.
TEMPORARY_REDIRECT = 3;public static final RedirectAction.RedirectResponseCode PERMANENT_REDIRECT
Permanent Redirect HTTP Status Code - 308.
PERMANENT_REDIRECT = 4;public static final RedirectAction.RedirectResponseCode UNRECOGNIZED
public static final int MOVED_PERMANENTLY_VALUE
Moved Permanently HTTP Status Code - 301.
MOVED_PERMANENTLY = 0;public static final int FOUND_VALUE
Found HTTP Status Code - 302.
FOUND = 1;public static final int SEE_OTHER_VALUE
See Other HTTP Status Code - 303.
SEE_OTHER = 2;public static final int TEMPORARY_REDIRECT_VALUE
Temporary Redirect HTTP Status Code - 307.
TEMPORARY_REDIRECT = 3;public static final int PERMANENT_REDIRECT_VALUE
Permanent Redirect HTTP Status Code - 308.
PERMANENT_REDIRECT = 4;public static RedirectAction.RedirectResponseCode[] values()
for (RedirectAction.RedirectResponseCode c : RedirectAction.RedirectResponseCode.values()) System.out.println(c);
public static RedirectAction.RedirectResponseCode 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 RedirectAction.RedirectResponseCode valueOf(int value)
forNumber(int) instead.public static RedirectAction.RedirectResponseCode forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<RedirectAction.RedirectResponseCode> 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 RedirectAction.RedirectResponseCode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2021 The Envoy Project. All rights reserved.