public class CacheKey extends AbstractModel
header, skipSign
Constructor and Description |
---|
CacheKey() |
CacheKey(CacheKey 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 |
---|---|
CacheTagKey |
getCacheTag()
Get Custom string contained in `CacheKey`
Note: This field may return `null`, indicating that no valid value can be obtained.
|
CookieKey |
getCookie()
Get Cookie contained in `CacheKey`
Note: This field may return `null`, indicating that no valid value can be obtained.
|
String |
getFullUrlCache()
Get Whether to enable full-path cache
`on`: Enable full-path cache (i.e., disable Ignore Query String)
`off`: Disable full-path cache (i.e., enable Ignore Query String)
|
HeaderKey |
getHeader()
Get Request header contained in `CacheKey`
Note: This field may return `null`, indicating that no valid value can be obtained.
|
String |
getIgnoreCase()
Get Specifies whether the cache key is case sensitive
Note: This field may return `null`, indicating that no valid value can be obtained.
|
KeyRule[] |
getKeyRules()
Get Path-specific cache key configuration
Note: This field may return `null`, indicating that no valid value can be obtained.
|
QueryStringKey |
getQueryString()
Get Request parameter contained in `CacheKey`
Note: This field may return `null`, indicating that no valid value can be obtained.
|
SchemeKey |
getScheme()
Get Request protocol contained in `CacheKey`
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setCacheTag(CacheTagKey CacheTag)
Set Custom string contained in `CacheKey`
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setCookie(CookieKey Cookie)
Set Cookie contained in `CacheKey`
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setFullUrlCache(String FullUrlCache)
Set Whether to enable full-path cache
`on`: Enable full-path cache (i.e., disable Ignore Query String)
`off`: Disable full-path cache (i.e., enable Ignore Query String)
|
void |
setHeader(HeaderKey Header)
Set Request header contained in `CacheKey`
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setIgnoreCase(String IgnoreCase)
Set Specifies whether the cache key is case sensitive
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setKeyRules(KeyRule[] KeyRules)
Set Path-specific cache key configuration
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setQueryString(QueryStringKey QueryString)
Set Request parameter contained in `CacheKey`
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
setScheme(SchemeKey Scheme)
Set Request protocol contained in `CacheKey`
Note: This field may return `null`, indicating that no valid value can be obtained.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CacheKey()
public CacheKey(CacheKey source)
public String getFullUrlCache()
public void setFullUrlCache(String FullUrlCache)
FullUrlCache
- Whether to enable full-path cache
`on`: Enable full-path cache (i.e., disable Ignore Query String)
`off`: Disable full-path cache (i.e., enable Ignore Query String)public String getIgnoreCase()
public void setIgnoreCase(String IgnoreCase)
IgnoreCase
- Specifies whether the cache key is case sensitive
Note: This field may return `null`, indicating that no valid value can be obtained.public QueryStringKey getQueryString()
public void setQueryString(QueryStringKey QueryString)
QueryString
- Request parameter contained in `CacheKey`
Note: This field may return `null`, indicating that no valid value can be obtained.public CookieKey getCookie()
public void setCookie(CookieKey Cookie)
Cookie
- Cookie contained in `CacheKey`
Note: This field may return `null`, indicating that no valid value can be obtained.public HeaderKey getHeader()
public void setHeader(HeaderKey Header)
Header
- Request header contained in `CacheKey`
Note: This field may return `null`, indicating that no valid value can be obtained.public CacheTagKey getCacheTag()
public void setCacheTag(CacheTagKey CacheTag)
CacheTag
- Custom string contained in `CacheKey`
Note: This field may return `null`, indicating that no valid value can be obtained.public SchemeKey getScheme()
public void setScheme(SchemeKey Scheme)
Scheme
- Request protocol contained in `CacheKey`
Note: This field may return `null`, indicating that no valid value can be obtained.public KeyRule[] getKeyRules()
public void setKeyRules(KeyRule[] KeyRules)
KeyRules
- Path-specific cache key configuration
Note: This field may return `null`, indicating that no valid value can be obtained.Copyright © 2024. All rights reserved.