Class CachingConfig
- java.lang.Object
-
- io.apiman.gateway.engine.policies.config.CachingConfig
-
@Deprecated public class CachingConfig extends Object
Deprecated.useCachingResourcesConfiginstead.Configuration object for the Caching policy.- Author:
- rubenrm1@gmail.com
-
-
Constructor Summary
Constructors Constructor Description CachingConfig()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<String>getStatusCodes()Deprecated.longgetTtl()Deprecated.booleanisIncludeQueryInKey()Deprecated.voidsetIncludeQueryInKey(boolean includeQueryInKey)Deprecated.voidsetStatusCodes(List<String> statusCodes)Deprecated.voidsetTtl(long ttl)Deprecated.
-
-
-
Constructor Detail
-
CachingConfig
@Deprecated public CachingConfig()
Deprecated.Constructor.
-
-
Method Detail
-
getTtl
@Deprecated public long getTtl()
Deprecated.- Returns:
- the ttl
-
setTtl
@Deprecated public void setTtl(long ttl)
Deprecated.- Parameters:
ttl- the ttl to set
-
getStatusCodes
@Deprecated public List<String> getStatusCodes()
Deprecated.- Returns:
- the status codes
-
setStatusCodes
@Deprecated public void setStatusCodes(List<String> statusCodes)
Deprecated.- Parameters:
statusCodes- the statusCodes to set
-
isIncludeQueryInKey
@Deprecated public boolean isIncludeQueryInKey()
Deprecated.Whether to include query parameters in the cache key.- Returns:
trueif query parameters should be included, otherwise,false
-
setIncludeQueryInKey
@Deprecated public void setIncludeQueryInKey(boolean includeQueryInKey)
Deprecated.Whether to include query parameters in the cache key.- Parameters:
includeQueryInKey- whether to include query parameters
-
-