public class ErrorPage extends AbstractModel
header, skipSign
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 Status code redirect rules configuration
Note: This field may return `null`, indicating that no valid value can be obtained.
|
String |
getSwitch()
Get Whether to enable status code-based redirection.
|
void |
setPageRules(ErrorPageRule[] PageRules)
Set Status code redirect rules configuration
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setSwitch(String Switch)
Set Whether to enable status code-based redirection.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ErrorPage()
public ErrorPage(ErrorPage source)
public String getSwitch()
public void setSwitch(String Switch)
Switch
- Whether to enable status code-based redirection. Values:
`on`: Enable
`off`: Disable
Note: This field may return `null`, indicating that no valid values can be obtained.public ErrorPageRule[] getPageRules()
public void setPageRules(ErrorPageRule[] PageRules)
PageRules
- Status code redirect rules configuration
Note: This field may return `null`, indicating that no valid value can be obtained.Copyright © 2024. All rights reserved.