public class ForceRedirect extends AbstractModel
| Constructor and Description |
|---|
ForceRedirect() |
ForceRedirect(ForceRedirect source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
| Modifier and Type | Method and Description |
|---|---|
Long |
getRedirectStatusCode()
Get 强制跳转开启时返回的http状态码,支持301或302。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getRedirectType()
Get 强制跳转访问协议类型,支持http,https,分别表示请求强制跳转http协议,请求强制跳转https协议。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getSwitch()
Get 访问协议强制跳转配置开关,on或off。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setRedirectStatusCode(Long RedirectStatusCode)
Set 强制跳转开启时返回的http状态码,支持301或302。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setRedirectType(String RedirectType)
Set 强制跳转访问协议类型,支持http,https,分别表示请求强制跳转http协议,请求强制跳转https协议。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setSwitch(String Switch)
Set 访问协议强制跳转配置开关,on或off。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic ForceRedirect()
public ForceRedirect(ForceRedirect source)
public String getSwitch()
public void setSwitch(String Switch)
Switch - 访问协议强制跳转配置开关,on或off。
注意:此字段可能返回 null,表示取不到有效值。public String getRedirectType()
public void setRedirectType(String RedirectType)
RedirectType - 强制跳转访问协议类型,支持http,https,分别表示请求强制跳转http协议,请求强制跳转https协议。
注意:此字段可能返回 null,表示取不到有效值。public Long getRedirectStatusCode()
public void setRedirectStatusCode(Long RedirectStatusCode)
RedirectStatusCode - 强制跳转开启时返回的http状态码,支持301或302。
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2021. All rights reserved.