public class RedirectRule
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
hostName
The host name to use in the redirect request
|
private java.lang.String |
httpRedirectCode
The HTTP code to use in the redirect response
|
private java.lang.String |
protocol
The protocol to use in the redirect request
|
private java.lang.String |
replaceKeyPrefixWith
The object prefix key to use in the redirect request
|
private java.lang.String |
replaceKeyWith
The specific key to use in the redirect request
|
Constructor and Description |
---|
RedirectRule() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHostName()
Return the host name to use in the redirect request.
|
java.lang.String |
getHttpRedirectCode()
Return the HTTP code to use in the redirect response.
|
java.lang.String |
getprotocol()
Return the protocol to use in the redirect request.
|
java.lang.String |
getReplaceKeyPrefixWith()
Return the object prefix key to use in the redirect request.
|
java.lang.String |
getReplaceKeyWith()
Return the specific key to use in the redirect request.
|
void |
setHostName(java.lang.String hostName)
Set the host name to use in the redirect request.
|
void |
setHttpRedirectCode(java.lang.String httpRedirectCode)
Set the HTTP code to use in the redirect response.
|
void |
setProtocol(java.lang.String protocol)
Set the protocol to use in the redirect request.
|
void |
setReplaceKeyPrefixWith(java.lang.String replaceKeyPrefixWith)
Set the object prefix key to use in the redirect request.
|
void |
setReplaceKeyWith(java.lang.String replaceKeyWith)
Set the specific key to use in the redirect request.
|
RedirectRule |
withHostName(java.lang.String hostName)
Set the host name to use in the redirect request and returns a reference
to this object(RoutingRuleRedirect) for method chaining.
|
RedirectRule |
withHttpRedirectCode(java.lang.String httpRedirectCode)
Set the HTTP code to use in the redirect response and returns a reference
to this object(RoutingRuleRedirect) for method chaining.
|
RedirectRule |
withProtocol(java.lang.String protocol)
Set the protocol to use in the redirect request and and returns a
reference to this object(RoutingRuleRedirect) for method chaining.
|
RedirectRule |
withReplaceKeyPrefixWith(java.lang.String replaceKeyPrefixWith)
Set the object prefix key to use in the redirect request and returns a
reference to this object(RoutingRuleRedirect) for method chaining.
|
RedirectRule |
withReplaceKeyWith(java.lang.String replaceKeyWith)
Set the specific key to use in the redirect request and returns a
reference to this object(RoutingRuleRedirect) for method chaining.
|
private java.lang.String protocol
private java.lang.String hostName
private java.lang.String replaceKeyPrefixWith
private java.lang.String replaceKeyWith
private java.lang.String httpRedirectCode
public void setProtocol(java.lang.String protocol)
public java.lang.String getprotocol()
public RedirectRule withProtocol(java.lang.String protocol)
public void setHostName(java.lang.String hostName)
public java.lang.String getHostName()
public RedirectRule withHostName(java.lang.String hostName)
public void setReplaceKeyPrefixWith(java.lang.String replaceKeyPrefixWith)
public java.lang.String getReplaceKeyPrefixWith()
public RedirectRule withReplaceKeyPrefixWith(java.lang.String replaceKeyPrefixWith)
public void setReplaceKeyWith(java.lang.String replaceKeyWith)
public java.lang.String getReplaceKeyWith()
public RedirectRule withReplaceKeyWith(java.lang.String replaceKeyWith)
public void setHttpRedirectCode(java.lang.String httpRedirectCode)
public java.lang.String getHttpRedirectCode()
public RedirectRule withHttpRedirectCode(java.lang.String httpRedirectCode)