public class Redirect extends Object
| 构造器和说明 |
|---|
Redirect() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getHostName()
Obtain the host name used for redirecting the request.
|
String |
getHttpRedirectCode()
Obtain the configuration of the HTTP status code in the response.
|
String |
getProtocol()
已过时。
|
ProtocolEnum |
getRedirectProtocol()
Obtain the protocol used for redirecting the request.
|
String |
getReplaceKeyPrefixWith()
Obtain the object name prefix used for redirecting the request.
|
String |
getReplaceKeyWith()
Obtain the object name used for redirecting the request.
|
void |
setHostName(String hostName)
Set the host name used for redirecting the request.
|
void |
setHttpRedirectCode(String httpRedirectCode)
Configure the HTTP status code in the response.
|
void |
setProtocol(String protocol)
已过时。
|
void |
setRedirectProtocol(ProtocolEnum protocol)
Set the protocol used for redirecting the request.
|
void |
setReplaceKeyPrefixWith(String replaceKeyPrefixWith)
Set the object name prefix used for redirecting the request.
|
void |
setReplaceKeyWith(String replaceKeyWith)
Set the object name used for redirecting the request.
|
String |
toString() |
@Deprecated public String getProtocol()
getRedirectProtocol()@Deprecated public void setProtocol(String protocol)
protocol - Protocol used for redirecting the requestsetRedirectProtocol(ProtocolEnum protocol)public ProtocolEnum getRedirectProtocol()
public void setRedirectProtocol(ProtocolEnum protocol)
protocol - Protocol used for redirecting the requestpublic String getHostName()
public void setHostName(String hostName)
hostName - Host name used for redirecting the requestpublic String getReplaceKeyPrefixWith()
public void setReplaceKeyPrefixWith(String replaceKeyPrefixWith)
replaceKeyPrefixWith - Object name prefix used for redirecting the requestpublic String getReplaceKeyWith()
public void setReplaceKeyWith(String replaceKeyWith)
replaceKeyWith - Object name used for redirecting the requestpublic String getHttpRedirectCode()
public void setHttpRedirectCode(String httpRedirectCode)
httpRedirectCode - Configuration of the HTTP status codeCopyright © 2021. All rights reserved.