public static enum PathMatchType.MatchType extends Enum<PathMatchType.MatchType> implements BmcEnum
Specifies how the load balancing service compares a pathRoute
object’s path
string against the incoming URI.
**EXACT_MATCH** - Looks for a path
string that exactly matches the incoming URI
path.
**FORCE_LONGEST_PREFIX_MATCH** - Looks for the path
string with the best, longest
match of the beginning portion of the incoming URI path.
**PREFIX_MATCH** - Looks for a path
string that matches the beginning portion of
the incoming URI path.
**SUFFIX_MATCH** - Looks for a path
string that matches the ending portion of the
incoming URI path.
For a full description of how the system handles matchType
in a path route set
containing multiple rules, see [Managing Request
Routing](https://docs.cloud.oracle.com/Content/Balance/Tasks/managingrequest.htm).
Enum Constant and Description |
---|
ExactMatch |
ForceLongestPrefixMatch |
PrefixMatch |
SuffixMatch |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by
this version of the SDK.
|
Modifier and Type | Method and Description |
---|---|
static PathMatchType.MatchType |
create(String key) |
String |
getValue() |
static PathMatchType.MatchType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PathMatchType.MatchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PathMatchType.MatchType ExactMatch
public static final PathMatchType.MatchType ForceLongestPrefixMatch
public static final PathMatchType.MatchType PrefixMatch
public static final PathMatchType.MatchType SuffixMatch
public static final PathMatchType.MatchType UnknownEnumValue
public static PathMatchType.MatchType[] values()
for (PathMatchType.MatchType c : PathMatchType.MatchType.values()) System.out.println(c);
public static PathMatchType.MatchType 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 PathMatchType.MatchType create(String key)
Copyright © 2016–2024. All rights reserved.