@Generated(value="OracleSDKGenerator", comments="API Version: 20170115") public final class PathMatchCondition extends RuleCondition
The path string and match condition to apply when evaluating an incoming URI for redirection.
PathMatchCondition.Builder
. This model distinguishes fields
that are null
because they are unset from fields that are explicitly set to null
. This is done in
the setter methods of the PathMatchCondition.Builder
, which maintain a set of all explicitly set fields called
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).Modifier and Type | Class and Description |
---|---|
static class |
PathMatchCondition.Builder |
static class |
PathMatchCondition.Operator
A string that specifies how to compare the PathMatchCondition object’s
attributeValue string to the
incoming URI. |
RuleCondition.AttributeName
Constructor and Description |
---|
PathMatchCondition(String attributeValue,
PathMatchCondition.Operator operator)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static PathMatchCondition.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getAttributeValue()
The path string that the redirection rule applies to.
|
PathMatchCondition.Operator |
getOperator()
A string that specifies how to compare the PathMatchCondition object’s
attributeValue string to the
incoming URI. |
int |
hashCode() |
PathMatchCondition.Builder |
toBuilder() |
String |
toString() |
@Deprecated public PathMatchCondition(String attributeValue, PathMatchCondition.Operator operator)
public static PathMatchCondition.Builder builder()
Create a new builder.
public PathMatchCondition.Builder toBuilder()
public String getAttributeValue()
The path string that the redirection rule applies to.
Example: /example
public PathMatchCondition.Operator getOperator()
A string that specifies how to compare the PathMatchCondition object’s attributeValue
string to the
incoming URI.
**EXACT_MATCH** - The incoming URI path must exactly and completely match the attributeValue
string.
**FORCE_LONGEST_PREFIX_MATCH** - The system looks for the attributeValue
string with the best,
longest match of the beginning portion of the incoming URI path.
**PREFIX_MATCH** - The beginning portion of the incoming URI path must exactly match the
attributeValue
string.
**SUFFIX_MATCH** - The ending portion of the incoming URI path must exactly match the attributeValue
string.
public String toString()
toString
in class RuleCondition
public boolean equals(Object o)
equals
in class RuleCondition
public int hashCode()
hashCode
in class RuleCondition
Copyright © 2016–2022. All rights reserved.