public class CacheRule extends AbstractModel
Constructor and Description |
---|
CacheRule() |
Modifier and Type | Method and Description |
---|---|
String[] |
getCacheContents()
Get Cached content list.
|
Long |
getCacheTime()
Get Cache time in seconds.
|
String |
getCacheType()
Get Cache type.
|
void |
setCacheContents(String[] CacheContents)
Set Cached content list.
|
void |
setCacheTime(Long CacheTime)
Set Cache time in seconds.
|
void |
setCacheType(String CacheType)
Set Cache type.
|
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 getCacheType()
public void setCacheType(String CacheType)
CacheType
- Cache type. Valid values: all (all files), file (extension type), directory (directory), path (full path), index (homepage).public String[] getCacheContents()
public void setCacheContents(String[] CacheContents)
CacheContents
- Cached content list.public Long getCacheTime()
public void setCacheTime(Long CacheTime)
CacheTime
- Cache time in seconds.Copyright © 2020. All rights reserved.