类 Redirect
java.lang.Object
com.obs.services.model.Redirect
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Obtain the host name used for redirecting the request.Obtain the configuration of the HTTP status code in the response.已过时。Obtain the protocol used for redirecting the request.Obtain the object name prefix used for redirecting the request.Obtain the object name used for redirecting the request.voidsetHostName(String hostName) Set the host name used for redirecting the request.voidsetHttpRedirectCode(String httpRedirectCode) Configure the HTTP status code in the response.voidsetProtocol(String protocol) 已过时。voidsetRedirectProtocol(ProtocolEnum protocol) Set the protocol used for redirecting the request.voidsetReplaceKeyPrefixWith(String replaceKeyPrefixWith) Set the object name prefix used for redirecting the request.voidsetReplaceKeyWith(String replaceKeyWith) Set the object name used for redirecting the request.toString()
-
构造器详细资料
-
Redirect
public Redirect()
-
-
方法详细资料
-
getProtocol
已过时。Obtain the protocol used for redirecting the request.- 返回:
- Protocol used for redirecting the request
- 另请参阅:
-
setProtocol
已过时。Set the protocol used for redirecting the request.- 参数:
protocol- Protocol used for redirecting the request- 另请参阅:
-
getRedirectProtocol
Obtain the protocol used for redirecting the request.- 返回:
- Protocol used for redirecting the request
-
setRedirectProtocol
Set the protocol used for redirecting the request.- 参数:
protocol- Protocol used for redirecting the request
-
getHostName
Obtain the host name used for redirecting the request.- 返回:
- Host name used for redirecting the request
-
setHostName
Set the host name used for redirecting the request.- 参数:
hostName- Host name used for redirecting the request
-
getReplaceKeyPrefixWith
Obtain the object name prefix used for redirecting the request.- 返回:
- Object name prefix used for redirecting the request
-
setReplaceKeyPrefixWith
Set the object name prefix used for redirecting the request.- 参数:
replaceKeyPrefixWith- Object name prefix used for redirecting the request
-
getReplaceKeyWith
Obtain the object name used for redirecting the request.- 返回:
- Object name used for redirecting the request
-
setReplaceKeyWith
Set the object name used for redirecting the request.- 参数:
replaceKeyWith- Object name used for redirecting the request
-
getHttpRedirectCode
Obtain the configuration of the HTTP status code in the response.- 返回:
- Configuration of the HTTP status code
-
setHttpRedirectCode
Configure the HTTP status code in the response.- 参数:
httpRedirectCode- Configuration of the HTTP status code
-
toString
-