public static enum RoutingRule.RedirectType extends Enum<RoutingRule.RedirectType>
| Enum Constant and Description |
|---|
AliCDN
AliCDN
|
External
302 redirect.
|
Internal
Internal mode is not supported yet.
|
Mirror
Means OSS would read the source data on user's behalf and store it in
OSS for later access.
|
| Modifier and Type | Method and Description |
|---|---|
static RoutingRule.RedirectType |
parse(String redirectTypeString) |
String |
toString() |
static RoutingRule.RedirectType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RoutingRule.RedirectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoutingRule.RedirectType Internal
public static final RoutingRule.RedirectType External
public static final RoutingRule.RedirectType AliCDN
public static final RoutingRule.RedirectType Mirror
public static RoutingRule.RedirectType[] values()
for (RoutingRule.RedirectType c : RoutingRule.RedirectType.values()) System.out.println(c);
public static RoutingRule.RedirectType 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 toString()
toString in class Enum<RoutingRule.RedirectType>public static RoutingRule.RedirectType parse(String redirectTypeString)
Copyright © 2023. All Rights Reserved.