public class StatusCodeCacheRule extends AbstractModel
Constructor and Description |
---|
StatusCodeCacheRule() |
Modifier and Type | Method and Description |
---|---|
Long |
getCacheTime()
Get 状态码缓存过期时间,单位秒
|
String |
getStatusCode()
Get http 状态码
支持 403、404 状态码
|
void |
setCacheTime(Long CacheTime)
Set 状态码缓存过期时间,单位秒
|
void |
setStatusCode(String StatusCode)
Set http 状态码
支持 403、404 状态码
|
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 状态码
支持 403、404 状态码public Long getCacheTime()
public void setCacheTime(Long CacheTime)
CacheTime
- 状态码缓存过期时间,单位秒Copyright © 2020. All rights reserved.