public class ScdnErrorPage extends AbstractModel
header, skipSign
Constructor and Description |
---|
ScdnErrorPage() |
ScdnErrorPage(ScdnErrorPage 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 |
getRedirectCode()
Get Status code
`403` is passed in when the action is `intercept`.
|
String |
getRedirectUrl()
Get URL to be redirected
|
void |
setRedirectCode(Long RedirectCode)
Set Status code
`403` is passed in when the action is `intercept`.
|
void |
setRedirectUrl(String RedirectUrl)
Set URL to be redirected
|
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 ScdnErrorPage()
public ScdnErrorPage(ScdnErrorPage source)
public Long getRedirectCode()
public void setRedirectCode(Long RedirectCode)
RedirectCode
- Status code
`403` is passed in when the action is `intercept`.
`301` is passed in when the action is `redirect`.public String getRedirectUrl()
public void setRedirectUrl(String RedirectUrl)
RedirectUrl
- URL to be redirectedCopyright © 2024. All rights reserved.