public class ErrorPage extends AbstractModel
Constructor and Description |
---|
ErrorPage() |
ErrorPage(ErrorPage 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 |
---|---|
ErrorPageRule[] |
getPageRules()
Get 状态码重定向规则配置
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getSwitch()
Get 状态码重定向配置开关
on:开启
off:关闭
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setPageRules(ErrorPageRule[] PageRules)
Set 状态码重定向规则配置
注意:此字段可能返回 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, toJsonString
public ErrorPage()
public ErrorPage(ErrorPage source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- 状态码重定向配置开关
on:开启
off:关闭
注意:此字段可能返回 null,表示取不到有效值。public ErrorPageRule[] getPageRules()
public void setPageRules(ErrorPageRule[] PageRules)
PageRules
- 状态码重定向规则配置
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2021. All rights reserved.