public class ForceRedirect extends AbstractModel
header, skipSign| 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 重定向状态码,取值有:
301:301跳转;
302:302跳转。
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getSwitch()
Get 访问强制跳转配置开关,取值有:
on:开启;
off:关闭。
|
void |
setRedirectStatusCode(Long RedirectStatusCode)
Set 重定向状态码,取值有:
301:301跳转;
302:302跳转。
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setSwitch(String Switch)
Set 访问强制跳转配置开关,取值有:
on:开启;
off:关闭。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic ForceRedirect()
public ForceRedirect(ForceRedirect source)
public String getSwitch()
public void setSwitch(String Switch)
Switch - 访问强制跳转配置开关,取值有:
public Long getRedirectStatusCode()
public void setRedirectStatusCode(Long RedirectStatusCode)
RedirectStatusCode - 重定向状态码,取值有:
Copyright © 2024. All rights reserved.