public static class RoutingRule.Redirect extends Object
构造器和说明 |
---|
RoutingRule.Redirect() |
限定符和类型 | 方法和说明 |
---|---|
void |
ensureRedirectValid()
A Redirect element must contain at least one of the following sibling elements.
|
String |
getHostName() |
Integer |
getHttpRedirectCode() |
String |
getMirrorURL() |
RoutingRule.Protocol |
getProtocol() |
RoutingRule.RedirectType |
getRedirectType() |
String |
getReplaceKeyPrefixWith() |
String |
getReplaceKeyWith() |
void |
setHostName(String hostName) |
void |
setHttpRedirectCode(int httpRedirectCode) |
void |
setMirrorURL(String mirrorURL) |
void |
setProtocol(RoutingRule.Protocol protocol) |
void |
setRedirectType(RoutingRule.RedirectType redirectType) |
void |
setReplaceKeyPrefixWith(String replaceKeyPrefixWith) |
void |
setReplaceKeyWith(String replaceKeyWith) |
public RoutingRule.RedirectType getRedirectType()
public void setRedirectType(RoutingRule.RedirectType redirectType)
public String getHostName()
public void setHostName(String hostName)
public RoutingRule.Protocol getProtocol()
public void setProtocol(RoutingRule.Protocol protocol)
public String getReplaceKeyPrefixWith()
public void setReplaceKeyPrefixWith(String replaceKeyPrefixWith)
public String getReplaceKeyWith()
public void setReplaceKeyWith(String replaceKeyWith)
public Integer getHttpRedirectCode()
public void setHttpRedirectCode(int httpRedirectCode)
public String getMirrorURL()
public void setMirrorURL(String mirrorURL)
public void ensureRedirectValid()
Copyright © 2016. All Rights Reserved.