public class StatusCodeCacheParam extends AbstractModel
header, skipSign
Constructor and Description |
---|
StatusCodeCacheParam() |
StatusCodeCacheParam(StatusCodeCacheParam 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 缓存时间数值,单位为秒,取值:0~31536000。
|
Long |
getStatusCode()
Get 状态码,取值为 400、 401、403、 404、 405、 407、 414、 500、 501、 502、 503、 504、 509、 514 之一。
|
void |
setCacheTime(Long CacheTime)
Set 缓存时间数值,单位为秒,取值:0~31536000。
|
void |
setStatusCode(Long StatusCode)
Set 状态码,取值为 400、 401、403、 404、 405、 407、 414、 500、 501、 502、 503、 504、 509、 514 之一。
|
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, toJsonString
public StatusCodeCacheParam()
public StatusCodeCacheParam(StatusCodeCacheParam source)
public Long getStatusCode()
public void setStatusCode(Long StatusCode)
StatusCode
- 状态码,取值为 400、 401、403、 404、 405、 407、 414、 500、 501、 502、 503、 504、 509、 514 之一。public Long getCacheTime()
public void setCacheTime(Long CacheTime)
CacheTime
- 缓存时间数值,单位为秒,取值:0~31536000。Copyright © 2025. All rights reserved.