public class Redirect extends Object
Constructor and Description |
---|
Redirect() |
Modifier and Type | Method and Description |
---|---|
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()
Deprecated.
|
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)
Deprecated.
|
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 © 2019. All rights reserved.