public class StatusCodeCacheRule extends AbstractModel
header, skipSign| 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 状态码缓存过期时间,单位秒 | 
| 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, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic StatusCodeCacheRule()
public StatusCodeCacheRule(StatusCodeCacheRule source)
public String getStatusCode()
public void setStatusCode(String StatusCode)
StatusCode - http 状态码
支持 403、404 状态码public Long getCacheTime()
public void setCacheTime(Long CacheTime)
CacheTime - 状态码缓存过期时间,单位秒Copyright © 2025. All rights reserved.