public class StatusCodeCacheRule extends AbstractModel
| Constructor and Description | 
|---|
| StatusCodeCacheRule() | 
| StatusCodeCacheRule(StatusCodeCacheRule 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 | 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, toJsonStringpublic StatusCodeCacheRule()
public StatusCodeCacheRule(StatusCodeCacheRule source)
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 © 2022. All rights reserved.