public class StatusCodeCacheRule extends AbstractModel
Constructor and Description |
---|
StatusCodeCacheRule() |
Modifier and Type | Method and Description |
---|---|
Long |
getCacheTime()
Get Status code cache expiration time (in seconds)
|
String |
getStatusCode()
Get HTTP status code
Supports 403 and 404 status codes
|
void |
setCacheTime(Long CacheTime)
Set Status code cache expiration time (in seconds)
|
void |
setStatusCode(String StatusCode)
Set HTTP status code
Supports 403 and 404 status codes
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String getStatusCode()
public void setStatusCode(String StatusCode)
StatusCode
- HTTP status code
Supports 403 and 404 status codespublic Long getCacheTime()
public void setCacheTime(Long CacheTime)
CacheTime
- Status code cache expiration time (in seconds)Copyright © 2020. All rights reserved.