public class RoutingRule extends Object implements Serializable
Constructor and Description |
---|
RoutingRule() |
Modifier and Type | Method and Description |
---|---|
RoutingRuleCondition |
getCondition()
Return the condition that must be met for the specified redirect to apply.
|
RedirectRule |
getRedirect()
Return the redirect information.
|
void |
setCondition(RoutingRuleCondition condition)
Set the condition that must be met for the specified redirect to apply.
|
void |
setRedirect(RedirectRule redirect)
Set the redirect information.
|
RoutingRule |
withCondition(RoutingRuleCondition condition)
Set the condition that must be met for the specified redirect to apply and returns a reference to this object(RoutingRule) for method chaining.
|
RoutingRule |
withRedirect(RedirectRule redirect)
Set the redirect information and returns a reference to this object(RoutingRule) for method chaining.
|
public RoutingRuleCondition getCondition()
public void setCondition(RoutingRuleCondition condition)
condition
- The condition that must be met for the specified redirect to apply.public RoutingRule withCondition(RoutingRuleCondition condition)
condition
- The condition that must be met for the specified redirect to apply.public RedirectRule getRedirect()
public void setRedirect(RedirectRule redirect)
redirect
- Set the redirect information.public RoutingRule withRedirect(RedirectRule redirect)
redirect
- Set the redirect information.Copyright © 2010–2019. All rights reserved.