Enum PathMatchType.MatchType
- java.lang.Object
-
- java.lang.Enum<PathMatchType.MatchType>
-
- com.oracle.bmc.loadbalancer.model.PathMatchType.MatchType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<PathMatchType.MatchType>
- Enclosing class:
- PathMatchType
public static enum PathMatchType.MatchType extends Enum<PathMatchType.MatchType> implements BmcEnum
Specifies how the load balancing service compares apathRoute
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.oracle.com/iaas/Content/Balance/Tasks/managingrequest.htm).
-
-
Enum Constant Summary
Enum Constants Enum Constant 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
ExactMatch
public static final PathMatchType.MatchType ExactMatch
-
ForceLongestPrefixMatch
public static final PathMatchType.MatchType ForceLongestPrefixMatch
-
PrefixMatch
public static final PathMatchType.MatchType PrefixMatch
-
SuffixMatch
public static final PathMatchType.MatchType SuffixMatch
-
UnknownEnumValue
public static final PathMatchType.MatchType UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static PathMatchType.MatchType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PathMatchType.MatchType c : PathMatchType.MatchType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PathMatchType.MatchType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
create
public static PathMatchType.MatchType create(String key)
-
-