public class Redirect extends Object
Constructor and Description |
---|
Redirect() |
Modifier and Type | Method and Description |
---|---|
String |
getHostName()
获取重定向请求时使用的主机名
|
String |
getHttpRedirectCode()
获取响应中的HTTP状态码配置
|
String |
getProtocol()
Deprecated.
|
ProtocolEnum |
getRedirectProtocol()
获取重定向请求时使用的协议
|
String |
getReplaceKeyPrefixWith()
获取重定向请求时使用的对象名前缀
|
String |
getReplaceKeyWith()
获取重定向请求时使用的对象名
|
void |
setHostName(String hostName)
设置重定向请求时使用的主机名
|
void |
setHttpRedirectCode(String httpRedirectCode)
设置响应中的HTTP状态码配置
|
void |
setProtocol(String protocol)
Deprecated.
|
void |
setRedirectProtocol(ProtocolEnum protocol)
设置重定向请求时使用的协议
|
void |
setReplaceKeyPrefixWith(String replaceKeyPrefixWith)
设置重定向请求时使用的对象名前缀
|
void |
setReplaceKeyWith(String replaceKeyWith)
设置重定向请求时使用的对象名
|
String |
toString() |
@Deprecated public String getProtocol()
getRedirectProtocol()
@Deprecated public void setProtocol(String protocol)
protocol
- 重定向请求时使用的协议setRedirectProtocol(ProtocolEnum protocol)
public ProtocolEnum getRedirectProtocol()
public void setRedirectProtocol(ProtocolEnum protocol)
protocol
- 重定向请求时使用的协议public String getHostName()
public void setHostName(String hostName)
hostName
- 重定向请求时使用的主机名public String getReplaceKeyPrefixWith()
public void setReplaceKeyPrefixWith(String replaceKeyPrefixWith)
replaceKeyPrefixWith
- 重定向请求时使用的对象名前缀public String getReplaceKeyWith()
public void setReplaceKeyWith(String replaceKeyWith)
replaceKeyWith
- 重定向请求时使用的对象名public String getHttpRedirectCode()
public void setHttpRedirectCode(String httpRedirectCode)
httpRedirectCode
- HTTP状态码配置Copyright © 2021. All rights reserved.