public class DomainErrorPageInfo extends AbstractModel
skipSign
Constructor and Description |
---|
DomainErrorPageInfo() |
DomainErrorPageInfo(DomainErrorPageInfo 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 |
getBody()
Get Configured response body (excluding HTTP header)
Note: This field may return null, indicating that no valid values can be obtained.
|
String[] |
getClearHeaders()
Get Response header to be cleared
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getDomain()
Get Domain name
|
Long[] |
getErrorNos()
Get Original error code
|
String |
getErrorPageId()
Get Configuration ID of a custom error response
|
String |
getListenerId()
Get Listener ID
|
Long |
getNewErrorNo()
Get New error code
Note: This field may return null, indicating that no valid values can be obtained.
|
HttpHeaderParam[] |
getSetHeaders()
Get Response header to be set
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getStatus()
Get Rule status.
|
void |
setBody(String Body)
Set Configured response body (excluding HTTP header)
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setClearHeaders(String[] ClearHeaders)
Set Response header to be cleared
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setDomain(String Domain)
Set Domain name
|
void |
setErrorNos(Long[] ErrorNos)
Set Original error code
|
void |
setErrorPageId(String ErrorPageId)
Set Configuration ID of a custom error response
|
void |
setListenerId(String ListenerId)
Set Listener ID
|
void |
setNewErrorNo(Long NewErrorNo)
Set New error code
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setSetHeaders(HttpHeaderParam[] SetHeaders)
Set Response header to be set
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setStatus(Long Status)
Set Rule status.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public DomainErrorPageInfo()
public DomainErrorPageInfo(DomainErrorPageInfo source)
public String getErrorPageId()
public void setErrorPageId(String ErrorPageId)
ErrorPageId
- Configuration ID of a custom error responsepublic String getListenerId()
public void setListenerId(String ListenerId)
ListenerId
- Listener IDpublic String getDomain()
public void setDomain(String Domain)
Domain
- Domain namepublic Long[] getErrorNos()
public void setErrorNos(Long[] ErrorNos)
ErrorNos
- Original error codepublic Long getNewErrorNo()
public void setNewErrorNo(Long NewErrorNo)
NewErrorNo
- New error code
Note: This field may return null, indicating that no valid values can be obtained.public String[] getClearHeaders()
public void setClearHeaders(String[] ClearHeaders)
ClearHeaders
- Response header to be cleared
Note: This field may return null, indicating that no valid values can be obtained.public HttpHeaderParam[] getSetHeaders()
public void setSetHeaders(HttpHeaderParam[] SetHeaders)
SetHeaders
- Response header to be set
Note: This field may return null, indicating that no valid values can be obtained.public String getBody()
public void setBody(String Body)
Body
- Configured response body (excluding HTTP header)
Note: This field may return null, indicating that no valid values can be obtained.public Long getStatus()
public void setStatus(Long Status)
Status
- Rule status. 0: success
Note: this field may return null, indicating that no valid value is obtained.Copyright © 2023. All rights reserved.