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 |
---|---|
String |
getRedirectURL()
Get 重定向 URL,需要为完整跳转路径,如 https://www.test.com/error.html。
|
Long |
getStatusCode()
Get 状态码。支持范围为 400、403、404、405、414、416、451、500、501、502、503、504。
|
void |
setRedirectURL(String RedirectURL)
Set 重定向 URL,需要为完整跳转路径,如 https://www.test.com/error.html。
|
void |
setStatusCode(Long StatusCode)
Set 状态码。支持范围为 400、403、404、405、414、416、451、500、501、502、503、504。
|
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, toJsonString
public ErrorPage()
public ErrorPage(ErrorPage source)
public Long getStatusCode()
public void setStatusCode(Long StatusCode)
StatusCode
- 状态码。支持范围为 400、403、404、405、414、416、451、500、501、502、503、504。public String getRedirectURL()
public void setRedirectURL(String RedirectURL)
RedirectURL
- 重定向 URL,需要为完整跳转路径,如 https://www.test.com/error.html。Copyright © 2025. All rights reserved.