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 Redirect url.
|
Long |
getStatusCode()
Get Status code.
|
void |
setRedirectURL(String RedirectURL)
Set Redirect url.
|
void |
setStatusCode(Long StatusCode)
Set Status code.
|
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 Long getStatusCode()
public void setStatusCode(Long StatusCode)
StatusCode
- Status code. supported values are 400, 403, 404, 405, 414, 416, 451, 500, 501, 502, 503, 504.public String getRedirectURL()
public void setRedirectURL(String RedirectURL)
RedirectURL
- Redirect url. requires a full redirect path, such as https://www.test.com/error.html.Copyright © 2025. All rights reserved.