A B C D E F G H I K L M N O P R S T U V W X 

A

AbstractFilter - Class in grails.plugin.cache.web.filter
Based on net.sf.ehcache.constructs.web.filter.Filter.
AbstractFilter() - Constructor for class grails.plugin.cache.web.filter.AbstractFilter
 
acceptsEncoding(HttpServletRequest, String) - Method in class grails.plugin.cache.web.filter.AbstractFilter
 
acceptsGzipEncoding(HttpServletRequest) - Method in class grails.plugin.cache.web.filter.AbstractFilter
Determine whether the user agent accepts GZIP encoding.
actionName - Variable in class grails.plugin.cache.web.ContentCacheParameters
 
addCookie(Cookie) - Method in class grails.plugin.cache.web.GenericResponseWrapper
 
addDateHeader(String, long) - Method in class grails.plugin.cache.web.GenericResponseWrapper
 
addHeader(String, String) - Method in class grails.plugin.cache.web.GenericResponseWrapper
 
addIntHeader(String, int) - Method in class grails.plugin.cache.web.GenericResponseWrapper
 
afterPropertiesSet() - Method in class grails.plugin.cache.web.filter.AbstractFilter
 
afterPropertiesSet() - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
AlreadyGzippedException - Exception in grails.plugin.cache.web
Based on net.sf.ehcache.constructs.web.AlreadyGzippedException.
AlreadyGzippedException(String) - Constructor for exception grails.plugin.cache.web.AlreadyGzippedException
 
annotationParsers - Variable in class grails.plugin.cache.GrailsAnnotationCacheOperationSource
 
application - Variable in class grails.plugin.cache.GrailsAnnotationCacheOperationSource
 
args - Variable in class grails.plugin.cache.web.filter.LazyParamAwareEvaluationContext
 
attributeCache - Variable in class grails.plugin.cache.GrailsAnnotationCacheOperationSource
Cache of CacheOperations, keyed by DefaultCacheKey (Method + target Class).
autowireBeanProperties(Object) - Method in class grails.plugin.cache.CacheConfigArtefactHandler.DefaultCacheConfigGrailsClass
 

B

BEAN_NAME - Static variable in class grails.plugin.cache.GrailsAnnotationCacheOperationSource
 
BlockingCache - Interface in grails.plugin.cache
 
buf - Variable in class grails.plugin.cache.SerializableByteArrayOutputStream
 
buildCachedPageInfo(HttpServletRequest, HttpServletResponse, PageFragmentCachingFilter.CacheStatus) - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
buildNewPageInfo(HttpServletRequest, HttpServletResponse, FilterChain, PageFragmentCachingFilter.CacheStatus, Map<String, Collection<CacheOperationContext>>) - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
buildPage(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 

C

Cacheable - Annotation Type in grails.plugin.cache
Indicates that a method (or all the methods on a class) can be cached.
CACHEABLE - Static variable in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
CacheBeanPostProcessor - Class in grails.plugin.cache
Changes the bean class of the org.springframework.cache.annotation.AnnotationCacheOperationSource#0 bean to a custom subclass.
CacheBeanPostProcessor() - Constructor for class grails.plugin.cache.CacheBeanPostProcessor
 
CacheConfigArtefactHandler - Class in grails.plugin.cache
Artefact handler for CacheConfig classes.
CacheConfigArtefactHandler() - Constructor for class grails.plugin.cache.CacheConfigArtefactHandler
Default constructor.
CacheConfigArtefactHandler.CacheConfigGrailsClass - Interface in grails.plugin.cache
GrailsClass interface for CacheConfig definitions.
CacheConfigArtefactHandler.DefaultCacheConfigGrailsClass - Class in grails.plugin.cache
Default implementation of CacheConfigGrailsClass.
CacheConfigArtefactHandler.DefaultCacheConfigGrailsClass(Class<?>) - Constructor for class grails.plugin.cache.CacheConfigArtefactHandler.DefaultCacheConfigGrailsClass
Default constructor.
CacheConfiguration - Interface in grails.plugin.cache
 
cacheConfiguration - Variable in class grails.plugin.cache.web.filter.simple.MemoryBlockingCache
 
CacheEvict - Annotation Type in grails.plugin.cache
Indicates that a method (or all methods on a class) trigger(s) a cache invalidate operation.
cacheExists(String) - Method in interface grails.plugin.cache.GrailsCacheManager
 
cacheExists(String) - Method in class grails.plugin.cache.GrailsConcurrentLinkedMapCacheManager
 
cacheExists(String) - Method in class grails.plugin.cache.GrailsConcurrentMapCacheManager
 
CacheExpressionRootObject - Class in grails.plugin.cache.web.filter
Based on package-scope org.springframework.cache.interceptor.
CacheExpressionRootObject(Collection<Cache>, Method, Class<?>) - Constructor for class grails.plugin.cache.web.filter.CacheExpressionRootObject
 
cacheManager - Variable in class grails.plugin.cache.web.filter.AbstractFilter
 
cacheMap - Variable in class grails.plugin.cache.GrailsConcurrentLinkedMapCacheManager
 
cacheMap - Variable in class grails.plugin.cache.GrailsConcurrentMapCacheManager
 
CacheOperationContext - Class in grails.plugin.cache.web.filter
Based on org.springframework.cache.interceptor.CacheAspectSupport.CacheOperationContext
CacheOperationContext(CacheOperation, Method, Object[], Class<?>, Collection<Cache>, ExpressionEvaluator, WebKeyGenerator, HttpServletRequest) - Constructor for class grails.plugin.cache.web.filter.CacheOperationContext
 
cacheOperationSource - Variable in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
CachePut - Annotation Type in grails.plugin.cache
Indicates that a method (or all methods on a class) trigger(s) a Cache#put(Object, Object) operation.
caches - Variable in class grails.plugin.cache.web.filter.CacheExpressionRootObject
 
caches - Variable in class grails.plugin.cache.web.filter.CacheOperationContext
 
CacheTransformation - Class in grails.plugin.cache.compiler
 
CacheTransformation() - Constructor for class grails.plugin.cache.compiler.CacheTransformation
 
calculateKey(HttpServletRequest) - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
ClassUtils - Class in grails.plugin.cache.util
 
ClassUtils() - Constructor for class grails.plugin.cache.util.ClassUtils
 
clear() - Method in class grails.plugin.cache.GrailsConcurrentLinkedMapCache
 
close() - Method in class grails.plugin.cache.SerializableByteArrayOutputStream
 
comment - Variable in class grails.plugin.cache.web.SerializableCookie
 
computeCacheOperations(Method, Class<?>) - Method in class grails.plugin.cache.GrailsAnnotationCacheOperationSource
 
condition(String, Method, EvaluationContext) - Method in class grails.plugin.cache.web.filter.ExpressionEvaluator
 
conditionCache - Variable in class grails.plugin.cache.web.filter.ExpressionEvaluator
 
ContentCacheParameters - Class in grails.plugin.cache.web
Based on grails.plugin.springcache.web.ContentCacheParameters.
ContentCacheParameters(GrailsWebRequest) - Constructor for class grails.plugin.cache.web.ContentCacheParameters
 
contentLength - Variable in class grails.plugin.cache.web.GenericResponseWrapper
 
contentType - Variable in class grails.plugin.cache.web.GenericResponseWrapper
 
contentType - Variable in class grails.plugin.cache.web.PageInfo
 
contextHolder - Variable in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
controllerClass - Variable in class grails.plugin.cache.web.ContentCacheParameters
 
cookies - Variable in class grails.plugin.cache.web.GenericResponseWrapper
 
copyOf(int) - Method in class grails.plugin.cache.SerializableByteArrayOutputStream
 
count - Variable in class grails.plugin.cache.SerializableByteArrayOutputStream
 
createConcurrentLinkedMapCache(String, long) - Method in class grails.plugin.cache.GrailsConcurrentLinkedMapCacheManager
 
createConcurrentMapCache(String) - Method in class grails.plugin.cache.GrailsConcurrentMapCacheManager
 
created - Variable in class grails.plugin.cache.web.PageInfo
 
createEvaluationContext(Collection<Cache>, Method, Object[], Class<?>) - Method in class grails.plugin.cache.web.filter.ExpressionEvaluator
 
createOperationContext(Collection<CacheOperation>, Method, Class<?>, HttpServletRequest) - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
CustomCacheKeyGenerator - Class in grails.plugin.cache
Includes the hashcode, method signature, and class name of the target (caller) in the cache key
CustomCacheKeyGenerator(KeyGenerator) - Constructor for class grails.plugin.cache.CustomCacheKeyGenerator
 
CustomCacheKeyGenerator() - Constructor for class grails.plugin.cache.CustomCacheKeyGenerator
 

D

DefaultWebKeyGenerator - Class in grails.plugin.cache.web.filter
Default implementation.
DefaultWebKeyGenerator() - Constructor for class grails.plugin.cache.web.filter.DefaultWebKeyGenerator
 
destroy() - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
destroyCache(String) - Method in interface grails.plugin.cache.GrailsCacheManager
 
destroyCache(String) - Method in class grails.plugin.cache.GrailsConcurrentLinkedMapCacheManager
 
destroyCache(String) - Method in class grails.plugin.cache.GrailsConcurrentMapCacheManager
 
destroyContext() - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
determineResponseStatus(HttpServletRequest, PageInfo) - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
determineType(Class<? extends Serializable>) - Static method in enum grails.plugin.cache.web.Header.Type
Determines the Header.Type of the Header.
disableFlushBuffer - Variable in class grails.plugin.cache.web.GenericResponseWrapper
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class grails.plugin.cache.web.filter.AbstractFilter
 
doFilter(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class grails.plugin.cache.web.filter.AbstractFilter
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class grails.plugin.cache.web.filter.NoOpFilter
 
doFilter(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
doGetCacheOperations(Method, Class<?>) - Method in class grails.plugin.cache.GrailsAnnotationCacheOperationSource
Determine the caching attribute for this method invocation.
domain - Variable in class grails.plugin.cache.web.SerializableCookie
 

E

EMPTY - Static variable in class grails.plugin.cache.SimpleKeyGenerator.SimpleKey
 
equals(Object) - Method in class grails.plugin.cache.GrailsAnnotationCacheOperationSource.DefaultCacheKey
 
equals(Object) - Method in class grails.plugin.cache.SimpleKeyGenerator.SimpleKey
 
equals(Object) - Method in class grails.plugin.cache.web.Header
 
evalContext - Variable in class grails.plugin.cache.web.filter.CacheOperationContext
 
evaluator - Variable in class grails.plugin.cache.web.filter.CacheOperationContext
 
evict(Object) - Method in class grails.plugin.cache.GrailsConcurrentLinkedMapCache
 
EVICT - Static variable in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
ExpressionEvaluator - Class in grails.plugin.cache.web.filter
Based on package-scope org.springframework.cache.interceptor.ExpressionEvaluator
ExpressionEvaluator() - Constructor for class grails.plugin.cache.web.filter.ExpressionEvaluator
 
expressionEvaluator - Variable in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 

F

filterNotDisabled(HttpServletRequest) - Method in class grails.plugin.cache.web.filter.AbstractFilter
Filters can be disabled programmatically by adding a AbstractFilter.NO_FILTER parameter to the request.
findArg(HttpServletRequest, Class<?>, String) - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
findArgs(HttpServletRequest, Method) - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
findBeanDefinition(BeanDefinitionRegistry) - Method in class grails.plugin.cache.CacheBeanPostProcessor
 
findCacheOperations(Class<?>) - Method in class grails.plugin.cache.GrailsAnnotationCacheOperationSource
 
findCacheOperations(Method) - Method in class grails.plugin.cache.GrailsAnnotationCacheOperationSource
 
flush() - Method in class grails.plugin.cache.web.GenericResponseWrapper
Flushes all the streams for this response.
flushBuffer() - Method in class grails.plugin.cache.web.GenericResponseWrapper
 
formatHttpDate(Date) - Method in class grails.plugin.cache.web.HttpDateFormatter
 
FOUR_KB - Static variable in class grails.plugin.cache.web.PageInfo
 
fromStoreValue(Object) - Method in class grails.plugin.cache.GrailsConcurrentLinkedMapCache
Convert the given value from the internal store to a user value returned from the get method (adapting null).

G

generate(Object, Method, Object...) - Method in class grails.plugin.cache.CustomCacheKeyGenerator
 
generate(Object, Method, Object...) - Method in class grails.plugin.cache.SimpleKeyGenerator
 
generate(HttpServletRequest) - Method in class grails.plugin.cache.web.filter.DefaultWebKeyGenerator
 
generate(HttpServletRequest) - Method in interface grails.plugin.cache.web.filter.WebKeyGenerator
 
generateKey() - Method in class grails.plugin.cache.web.filter.CacheOperationContext
Computes the key for the given caching operation.
GenericResponseWrapper - Class in grails.plugin.cache.web
Provides a wrapper for HttpServletResponseWrapper.
GenericResponseWrapper(HttpServletResponse, SerializableOutputStream) - Constructor for class grails.plugin.cache.web.GenericResponseWrapper
Creates a GenericResponseWrapper
get(Object) - Method in class grails.plugin.cache.GrailsConcurrentLinkedMapCache
 
get(Object, Class<T>) - Method in class grails.plugin.cache.GrailsConcurrentLinkedMapCache
 
get(Object) - Method in class grails.plugin.cache.GrailsConcurrentMapCache
 
getActionName() - Method in class grails.plugin.cache.web.ContentCacheParameters
 
getAllHeaders() - Method in class grails.plugin.cache.web.GenericResponseWrapper
 
getAllKeys() - Method in interface grails.plugin.cache.GrailsCache
 
getAllKeys() - Method in class grails.plugin.cache.GrailsConcurrentLinkedMapCache
 
getAllKeys() - Method in class grails.plugin.cache.GrailsConcurrentMapCache
 
getAllKeys() - Method in class grails.plugin.cache.web.filter.simple.MemoryBlockingCache
 
getBean(String) - Method in class grails.plugin.cache.web.filter.AbstractFilter
 
getCache(String) - Method in class grails.plugin.cache.GrailsConcurrentLinkedMapCacheManager
 
getCache(String, int) - Method in class grails.plugin.cache.GrailsConcurrentLinkedMapCacheManager
 
getCache(String) - Method in class grails.plugin.cache.GrailsConcurrentMapCacheManager
 
getCacheConfiguration() - Method in interface grails.plugin.cache.BlockingCache
 
getCacheConfiguration() - Method in class grails.plugin.cache.web.filter.simple.MemoryBlockingCache
 
getCacheDirectives() - Method in class grails.plugin.cache.web.PageInfo
 
getCachedUri(HttpServletRequest) - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
getCacheKey(Method, Class<?>) - Method in class grails.plugin.cache.GrailsAnnotationCacheOperationSource
Determine a cache key for the given method and target class.
getCacheManager() - Method in class grails.plugin.cache.web.filter.AbstractFilter
 
getCacheNames() - Method in class grails.plugin.cache.GrailsConcurrentLinkedMapCacheManager
 
getCacheNames() - Method in class grails.plugin.cache.GrailsConcurrentMapCacheManager
 
getCacheOperations(Method, Class<?>, boolean) - Method in class grails.plugin.cache.GrailsAnnotationCacheOperationSource
 
getCacheOperations(Method, Class<?>) - Method in class grails.plugin.cache.GrailsAnnotationCacheOperationSource
 
getCaches() - Method in class grails.plugin.cache.web.filter.CacheExpressionRootObject
 
getCaches() - Method in class grails.plugin.cache.web.filter.CacheOperationContext
 
getCaches(CacheOperation) - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
getCapacity() - Method in class grails.plugin.cache.GrailsConcurrentLinkedMapCache
 
getContentLength() - Method in class grails.plugin.cache.web.GenericResponseWrapper
 
getContentType() - Method in class grails.plugin.cache.web.GenericResponseWrapper
 
getContentType() - Method in class grails.plugin.cache.web.PageInfo
 
getContext() - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
getControllerClass() - Method in class grails.plugin.cache.web.ContentCacheParameters
 
getControllerName() - Method in class grails.plugin.cache.web.ContentCacheParameters
 
getCookies() - Method in class grails.plugin.cache.web.GenericResponseWrapper
 
getCorrespondingSpringAnnotation(AnnotationNode) - Method in class grails.plugin.cache.compiler.CacheTransformation
 
getCreated() - Method in class grails.plugin.cache.web.PageInfo
The Date this PageInfo object was created
getDateHeader(String) - Method in class grails.plugin.cache.web.PageInfo
 
getGzippedBody() - Method in class grails.plugin.cache.web.PageInfo
 
getHeader(String) - Method in class grails.plugin.cache.web.PageInfo
 
getHeaders() - Method in class grails.plugin.cache.web.PageInfo
 
getHottestKeys() - Method in class grails.plugin.cache.GrailsConcurrentLinkedMapCache
 
getMetaClass() - Method in class grails.plugin.cache.CacheConfigArtefactHandler.DefaultCacheConfigGrailsClass
 
getMethod() - Method in class grails.plugin.cache.web.ContentCacheParameters
 
getMethod() - Method in class grails.plugin.cache.web.filter.CacheExpressionRootObject
 
getMethodName() - Method in class grails.plugin.cache.web.filter.CacheExpressionRootObject
 
getName() - Method in class grails.plugin.cache.GrailsConcurrentLinkedMapCache
 
getName() - Method in class grails.plugin.cache.web.Header
 
getNativeCache() - Method in class grails.plugin.cache.GrailsConcurrentLinkedMapCache
 
getNativeCacheManager() - Method in class grails.plugin.cache.web.filter.AbstractFilter
 
getNativeCacheManager() - Method in class grails.plugin.cache.web.filter.simple.MemoryPageFragmentCachingFilter
 
getNativeWrapper() - Method in class grails.plugin.cache.GrailsValueWrapper
 
getOutputStream() - Method in class grails.plugin.cache.web.GenericResponseWrapper
 
getParams() - Method in class grails.plugin.cache.web.ContentCacheParameters
 
getParamValue(GrailsParameterMap, String, String) - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
getPropertyOrFieldValue(Object, String) - Static method in class grails.plugin.cache.util.ClassUtils
This method will try to retrieve the value of the named property from the object using a corresponding getter method.
getRequest() - Method in class grails.plugin.cache.web.ContentCacheParameters
 
getRequestAttributes() - Method in class grails.plugin.cache.web.PageInfo
 
getSerializableCookies() - Method in class grails.plugin.cache.web.PageInfo
Returns the cookies of the response.
getSize() - Method in class grails.plugin.cache.GrailsConcurrentLinkedMapCache
 
getStatus() - Method in class grails.plugin.cache.web.GenericResponseWrapper
 
getStatusCode() - Method in class grails.plugin.cache.web.PageInfo
Returns the status code of the response.
getTargetClass() - Method in class grails.plugin.cache.web.filter.CacheExpressionRootObject
 
getTimeToLive(Cache.ValueWrapper) - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
getTimeToLive(Cache.ValueWrapper) - Method in class grails.plugin.cache.web.filter.simple.MemoryPageFragmentCachingFilter
 
getTimeToLiveSeconds() - Method in interface grails.plugin.cache.CacheConfiguration
 
getTimeToLiveSeconds() - Method in class grails.plugin.cache.web.filter.simple.MemoryCacheConfiguration
 
getTimeToLiveSeconds() - Method in class grails.plugin.cache.web.PageInfo
The time to live in seconds.
getType() - Method in class grails.plugin.cache.web.Header
 
getTypeClass() - Method in enum grails.plugin.cache.web.Header.Type
 
getUngzippedBody() - Method in class grails.plugin.cache.web.PageInfo
 
getValue() - Method in class grails.plugin.cache.web.Header
 
getWriter() - Method in class grails.plugin.cache.web.GenericResponseWrapper
 
grails.plugin.cache - package grails.plugin.cache
 
grails.plugin.cache.compiler - package grails.plugin.cache.compiler
 
grails.plugin.cache.util - package grails.plugin.cache.util
 
grails.plugin.cache.web - package grails.plugin.cache.web
 
grails.plugin.cache.web.filter - package grails.plugin.cache.web.filter
 
grails.plugin.cache.web.filter.simple - package grails.plugin.cache.web.filter.simple
 
GRAILS_ANNOTATION_CLASS_NODE_TO_SPRING_ANNOTATION_CLASS_NODE - Static variable in class grails.plugin.cache.compiler.CacheTransformation
 
GrailsAnnotationCacheOperationSource - Class in grails.plugin.cache
getCacheOperations is called when beans are initialized and also from PageFragmentCachingFilter during requests; the filter needs annotations on controllers but if the standard lookup includes controllers, the return values from the controller method calls are cached unnecessarily.
GrailsAnnotationCacheOperationSource() - Constructor for class grails.plugin.cache.GrailsAnnotationCacheOperationSource
Constructor.
GrailsAnnotationCacheOperationSource.DefaultCacheKey - Class in grails.plugin.cache
Default cache key for the CacheOperation cache.
GrailsAnnotationCacheOperationSource.DefaultCacheKey(Method, Class<?>) - Constructor for class grails.plugin.cache.GrailsAnnotationCacheOperationSource.DefaultCacheKey
 
GrailsCache - Interface in grails.plugin.cache
 
GrailsCacheManager - Interface in grails.plugin.cache
 
GrailsConcurrentLinkedMapCache - Class in grails.plugin.cache
 
GrailsConcurrentLinkedMapCache(String, long, boolean) - Constructor for class grails.plugin.cache.GrailsConcurrentLinkedMapCache
Create a new GrailsConcurrentLinkedMapCache with the specified name and capacity
GrailsConcurrentLinkedMapCache(String, long) - Constructor for class grails.plugin.cache.GrailsConcurrentLinkedMapCache
Create a new GrailsConcurrentLinkedMapCache with the specified name and capacity
GrailsConcurrentLinkedMapCacheManager - Class in grails.plugin.cache
Based on com.googlecode.concurrentlinkedhashmap.ConcurrentLinkedHashMap.
GrailsConcurrentLinkedMapCacheManager() - Constructor for class grails.plugin.cache.GrailsConcurrentLinkedMapCacheManager
 
GrailsConcurrentMapCache - Class in grails.plugin.cache
Extends the default implementation to return GrailsValueWrapper instances instead of SimpleValueWrapper.
GrailsConcurrentMapCache(String) - Constructor for class grails.plugin.cache.GrailsConcurrentMapCache
 
GrailsConcurrentMapCache(String, boolean) - Constructor for class grails.plugin.cache.GrailsConcurrentMapCache
 
GrailsConcurrentMapCache(String, ConcurrentMap<Object, Object>, boolean) - Constructor for class grails.plugin.cache.GrailsConcurrentMapCache
 
GrailsConcurrentMapCacheManager - Class in grails.plugin.cache
Based on org.springframework.cache.concurrent.ConcurrentMapCacheManager.
GrailsConcurrentMapCacheManager() - Constructor for class grails.plugin.cache.GrailsConcurrentMapCacheManager
 
GrailsValueWrapper - Class in grails.plugin.cache
Extends the standard implementation to also include the native wrapper instance.
GrailsValueWrapper(Object, Object) - Constructor for class grails.plugin.cache.GrailsValueWrapper
 
grailsWebRequest - Variable in class grails.plugin.cache.web.ContentCacheParameters
 
gzip(byte[]) - Method in class grails.plugin.cache.web.PageInfo
 
GZIP_MAGIC_NUMBER_BYTE_1 - Static variable in class grails.plugin.cache.web.PageInfo
 
GZIP_MAGIC_NUMBER_BYTE_2 - Static variable in class grails.plugin.cache.web.PageInfo
 
gzippedBody - Variable in class grails.plugin.cache.web.PageInfo
 

H

hasGzippedBody() - Method in class grails.plugin.cache.web.PageInfo
 
hashCode() - Method in class grails.plugin.cache.GrailsAnnotationCacheOperationSource.DefaultCacheKey
 
hashCode() - Method in class grails.plugin.cache.SimpleKeyGenerator.SimpleKey
 
hashCode() - Method in class grails.plugin.cache.web.Header
 
hasUngzippedBody() - Method in class grails.plugin.cache.web.PageInfo
 
Header<T extends java.io.Serializable> - Class in grails.plugin.cache.web
Generic implementation of a HTTP header.
Header(String, T) - Constructor for class grails.plugin.cache.web.Header
Create a new Header
Header.Type - Enum in grails.plugin.cache.web
Used to help differentiate the different header types
headerContains(HttpServletRequest, String, String) - Method in class grails.plugin.cache.web.filter.AbstractFilter
 
headersMap - Variable in class grails.plugin.cache.web.GenericResponseWrapper
 
httpDateFormat - Variable in class grails.plugin.cache.web.HttpDateFormatter
 
HttpDateFormatter - Class in grails.plugin.cache.web
RFC 2616 - HTTP/1.1 Protocol

Section 3.3.1 defines the preferred full date and time as:

HttpDateFormatter() - Constructor for class grails.plugin.cache.web.HttpDateFormatter
Constructs a new formatter.
httpDateFormatter - Variable in class grails.plugin.cache.web.PageInfo
 

I

IGNORED_INTERFACES - Static variable in class grails.plugin.cache.web.PageInfo
 
initAction() - Method in class grails.plugin.cache.web.ContentCacheParameters
 
initContext() - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
initController() - Method in class grails.plugin.cache.web.ContentCacheParameters
 
inspectAfterCacheEvicts(Collection<CacheOperationContext>) - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
inspectBeforeCacheEvicts(Collection<CacheOperationContext>) - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
inspectCacheables(Collection<CacheOperationContext>) - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
inspectCacheEvicts(Collection<CacheOperationContext>, boolean) - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
inspectCacheUpdates(Collection<CacheOperationContext>) - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
isAllowNullValues() - Method in class grails.plugin.cache.GrailsConcurrentLinkedMapCache
 
isBodyParameterGzipped() - Method in class grails.plugin.cache.web.PageInfo
The response body will be assumed to be gzipped if the GZIP header has been set.
isConditionPassing() - Method in class grails.plugin.cache.web.filter.CacheOperationContext
 
isControllerClass(Class<?>) - Method in class grails.plugin.cache.GrailsAnnotationCacheOperationSource
 
isDisabled() - Method in interface grails.plugin.cache.BlockingCache
 
isDisabled() - Method in class grails.plugin.cache.web.filter.simple.MemoryBlockingCache
 
isDisableFlushBuffer() - Method in class grails.plugin.cache.web.GenericResponseWrapper
Is the wrapped reponse's buffer flushing disabled?
isEternal() - Method in interface grails.plugin.cache.CacheConfiguration
 
isEternal() - Method in class grails.plugin.cache.web.filter.simple.MemoryCacheConfiguration
 
isGzipped(byte[]) - Static method in class grails.plugin.cache.web.PageInfo
Checks the first two bytes of the candidate byte array for the magic number 0x677a.
isInvalidObject(Object) - Method in class grails.plugin.cache.web.PageInfo
 
isMatch(HttpServletRequest) - Method in class grails.plugin.cache.web.PageInfo
Returns true if the page's etag header indicates it is the same as the copy held by the client as indicated by the request's if-none-match header.
isModified(HttpServletRequest) - Method in class grails.plugin.cache.web.PageInfo
Returns true if the page's last-modified header indicates it is newer than the copy held by the client as indicated by the request's if-modified-since header.
isOk() - Method in class grails.plugin.cache.web.PageInfo
Returns true if the response is Ok.

K

key(String, Method, EvaluationContext) - Method in class grails.plugin.cache.web.filter.ExpressionEvaluator
 
keyCache - Variable in class grails.plugin.cache.web.filter.ExpressionEvaluator
 
keyGenerator - Variable in class grails.plugin.cache.web.filter.CacheOperationContext
 
keyGenerator - Variable in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 

L

LazyParamAwareEvaluationContext - Class in grails.plugin.cache.web.filter
Evaluation context class that adds a method parameters as SpEL variables, in a lazy manner.
LazyParamAwareEvaluationContext(Object, ParameterNameDiscoverer, Method, Object[], Class<?>, Map<String, Method>) - Constructor for class grails.plugin.cache.web.filter.LazyParamAwareEvaluationContext
 
loadArgsAsVariables() - Method in class grails.plugin.cache.web.filter.LazyParamAwareEvaluationContext
 
log - Variable in class grails.plugin.cache.CacheBeanPostProcessor
 
log - Variable in class grails.plugin.cache.Timer
 
log - Variable in class grails.plugin.cache.web.filter.AbstractFilter
 
LOG - Static variable in class grails.plugin.cache.web.GenericResponseWrapper
 
logger - Variable in class grails.plugin.cache.GrailsAnnotationCacheOperationSource
 
logRequestDetails(HttpServletRequest, ContentCacheParameters, String) - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
logRequestHeaders(HttpServletRequest) - Method in class grails.plugin.cache.web.filter.AbstractFilter
 
logThrowable(Throwable, HttpServletRequest) - Method in class grails.plugin.cache.web.filter.AbstractFilter
This method should throw IOExceptions, not wrap them.
lookupController(Class<?>) - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
lookupVariable(String) - Method in class grails.plugin.cache.web.filter.LazyParamAwareEvaluationContext
Load the param information only when needed.

M

maxAge - Variable in class grails.plugin.cache.web.SerializableCookie
 
MemoryBlockingCache - Class in grails.plugin.cache.web.filter.simple
In-memory-based implementation of BlockingCache.
MemoryBlockingCache(String, ConcurrentMap<Object, Object>, boolean) - Constructor for class grails.plugin.cache.web.filter.simple.MemoryBlockingCache
 
MemoryCacheConfiguration - Class in grails.plugin.cache.web.filter.simple
In-memory-based implementation of CacheConfiguration.
MemoryCacheConfiguration() - Constructor for class grails.plugin.cache.web.filter.simple.MemoryCacheConfiguration
 
MemoryPageFragmentCachingFilter - Class in grails.plugin.cache.web.filter.simple
In-memory-based implementation of PageFragmentCachingFilter.
MemoryPageFragmentCachingFilter() - Constructor for class grails.plugin.cache.web.filter.simple.MemoryPageFragmentCachingFilter
 
method - Variable in class grails.plugin.cache.GrailsAnnotationCacheOperationSource.DefaultCacheKey
 
method - Variable in class grails.plugin.cache.web.ContentCacheParameters
 
method - Variable in class grails.plugin.cache.web.filter.CacheExpressionRootObject
 
method - Variable in class grails.plugin.cache.web.filter.CacheOperationContext
 
method - Variable in class grails.plugin.cache.web.filter.LazyParamAwareEvaluationContext
 
methodCache - Variable in class grails.plugin.cache.web.filter.LazyParamAwareEvaluationContext
 

N

name - Variable in class grails.plugin.cache.web.Header
 
name - Variable in class grails.plugin.cache.web.SerializableCookie
 
nativeCacheManager - Variable in class grails.plugin.cache.web.filter.AbstractFilter
 
nativeWrapper - Variable in class grails.plugin.cache.GrailsValueWrapper
 
newInstance() - Method in class grails.plugin.cache.CacheConfigArtefactHandler.DefaultCacheConfigGrailsClass
 
NO_FILTER - Static variable in class grails.plugin.cache.web.filter.AbstractFilter
If a request attribute NO_FILTER is set, then filtering will be skipped
NoOpFilter - Class in grails.plugin.cache.web.filter
Based on grails.plugin.springcache.web.NoOpFilter.
NoOpFilter() - Constructor for class grails.plugin.cache.web.filter.NoOpFilter
 
NULL_CACHING_ATTRIBUTE - Static variable in class grails.plugin.cache.GrailsAnnotationCacheOperationSource
Canonical value held in cache to indicate no caching attribute was found for this method and we don't need to look again.

O

ONE_YEAR_IN_SECONDS - Static variable in class grails.plugin.cache.web.PageInfo
 
operation - Variable in class grails.plugin.cache.web.filter.CacheOperationContext
 
out - Variable in class grails.plugin.cache.web.GenericResponseWrapper
 

P

PageFragmentCachingFilter - Class in grails.plugin.cache.web.filter
A simple page fragment CachingFilter suitable for most uses.
PageFragmentCachingFilter() - Constructor for class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
PageFragmentCachingFilter.CacheStatus - Class in grails.plugin.cache.web.filter
 
PageFragmentCachingFilter.CacheStatus(Map<CacheOperationContext, Object>, boolean, Cache.ValueWrapper) - Constructor for class grails.plugin.cache.web.filter.PageFragmentCachingFilter.CacheStatus
 
PageInfo - Class in grails.plugin.cache.web
A Serializable representation of a HttpServletResponse.
PageInfo(int, String, byte[], boolean, long, Collection<Header<? extends Serializable>>, Collection<Cookie>, Map<String, Serializable>) - Constructor for class grails.plugin.cache.web.PageInfo
Creates a PageInfo object representing the "page".
paramDiscoverer - Variable in class grails.plugin.cache.web.filter.LazyParamAwareEvaluationContext
 
paramLoaded - Variable in class grails.plugin.cache.web.filter.LazyParamAwareEvaluationContext
 
paramNameDiscoverer - Variable in class grails.plugin.cache.web.filter.ExpressionEvaluator
 
paramNameDiscoverer - Variable in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
PARAMS_METHODS - Static variable in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
parseDateFromHttpDate(String) - Method in class grails.plugin.cache.web.HttpDateFormatter
Parses dates supplied in accordance with Section 3.3.1 of RFC 2616
parser - Variable in class grails.plugin.cache.web.filter.ExpressionEvaluator
 
path - Variable in class grails.plugin.cache.web.SerializableCookie
 
PATTERN_CACHE_DIRECTIVE - Static variable in class grails.plugin.cache.web.PageInfo
 
postProcessBeanDefinitionRegistry(BeanDefinitionRegistry) - Method in class grails.plugin.cache.CacheBeanPostProcessor
 
postProcessBeanFactory(ConfigurableListableBeanFactory) - Method in class grails.plugin.cache.CacheBeanPostProcessor
 
PRIMITIVE_CLASSES - Static variable in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
publicMethodsOnly - Variable in class grails.plugin.cache.GrailsAnnotationCacheOperationSource
 
put(Object, Object) - Method in class grails.plugin.cache.GrailsConcurrentLinkedMapCache
 
put(Cache, String, PageInfo, Integer) - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
Store the PageInfo in the cache with the specified ttl.
put(Cache, String, PageInfo, Integer) - Method in class grails.plugin.cache.web.filter.simple.MemoryPageFragmentCachingFilter
 
putIfAbsent(Object, Object) - Method in class grails.plugin.cache.GrailsConcurrentLinkedMapCache
 

R

releaseCacheLocks(Map<String, Collection<CacheOperationContext>>, String) - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
request - Variable in class grails.plugin.cache.web.filter.CacheOperationContext
 
requestAttributes - Variable in class grails.plugin.cache.web.PageInfo
 
reset() - Method in class grails.plugin.cache.GrailsAnnotationCacheOperationSource
For dev mode when rediscovering annotations is needed.
reset() - Method in class grails.plugin.cache.SerializableByteArrayOutputStream
 
reset() - Method in class grails.plugin.cache.web.GenericResponseWrapper
 
responseHeaders - Variable in class grails.plugin.cache.web.PageInfo
 

S

secure - Variable in class grails.plugin.cache.web.SerializableCookie
 
sendError(int, String) - Method in class grails.plugin.cache.web.GenericResponseWrapper
Send the error.
sendError(int) - Method in class grails.plugin.cache.web.GenericResponseWrapper
Send the error.
sendRedirect(String) - Method in class grails.plugin.cache.web.GenericResponseWrapper
Send the redirect.
SerializableByteArrayOutputStream - Class in grails.plugin.cache
A Serializable version of java.io.ByteArrayOutputStream.
SerializableByteArrayOutputStream() - Constructor for class grails.plugin.cache.SerializableByteArrayOutputStream
 
SerializableByteArrayOutputStream(int) - Constructor for class grails.plugin.cache.SerializableByteArrayOutputStream
 
SerializableCookie - Class in grails.plugin.cache.web
Based on net.sf.ehcache.constructs.web.SerializableCookie.
SerializableCookie(Cookie) - Constructor for class grails.plugin.cache.web.SerializableCookie
 
serializableCookies - Variable in class grails.plugin.cache.web.PageInfo
 
SerializableOutputStream - Class in grails.plugin.cache
Abstract base class for serializable OutputStream classes.
SerializableOutputStream() - Constructor for class grails.plugin.cache.SerializableOutputStream
 
setAllowPublicMethodsOnly(boolean) - Method in class grails.plugin.cache.GrailsAnnotationCacheOperationSource
Dependency injection for whether to only consider public methods
setCacheableRequestAttributes(Map<String, Serializable>) - Method in class grails.plugin.cache.web.PageInfo
 
setCacheManager(CacheManager) - Method in class grails.plugin.cache.web.filter.AbstractFilter
Dependency injection for the cache manager.
setCacheOperationSource(GrailsAnnotationCacheOperationSource) - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
Dependency injection for GrailsAnnotationCacheOperationSource.
setContentLength(int) - Method in class grails.plugin.cache.web.GenericResponseWrapper
 
setContentType(HttpServletResponse, PageInfo) - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
setContentType(String) - Method in class grails.plugin.cache.web.GenericResponseWrapper
 
setCookies(PageInfo, HttpServletResponse) - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
setDateHeader(String, long) - Method in class grails.plugin.cache.web.GenericResponseWrapper
 
setDisableFlushBuffer(boolean) - Method in class grails.plugin.cache.web.GenericResponseWrapper
Set if the wrapped reponse's buffer flushing should be disabled.
setExpressionEvaluator(ExpressionEvaluator) - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
Dependency injection for ExpressionEvaluator.
setGrailsApplication(GrailsApplication) - Method in class grails.plugin.cache.GrailsAnnotationCacheOperationSource
Dependency injection for the grails application.
setHeader(String, String) - Method in class grails.plugin.cache.web.GenericResponseWrapper
 
setHeaders(PageInfo, HttpServletResponse) - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
Set the headers in the response object, excluding the Gzip header
setIntHeader(String, int) - Method in class grails.plugin.cache.web.GenericResponseWrapper
 
setKeyGenerator(WebKeyGenerator) - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
Dependency injection for WebKeyGenerator.
setNativeCacheManager(Object) - Method in class grails.plugin.cache.web.filter.AbstractFilter
Dependency injection for the native cache manager.
setStatus(int) - Method in class grails.plugin.cache.web.GenericResponseWrapper
 
setStatus(int, String) - Method in class grails.plugin.cache.web.GenericResponseWrapper
 
setSupportAjax(boolean) - Method in class grails.plugin.cache.web.filter.DefaultWebKeyGenerator
 
setSuppressStackTraces(boolean) - Method in class grails.plugin.cache.web.filter.AbstractFilter
Dependency injection for whether to suppress stacktraces.
setTimeoutMillis(int) - Method in interface grails.plugin.cache.BlockingCache
 
setTimeoutMillis(int) - Method in class grails.plugin.cache.web.filter.simple.MemoryBlockingCache
 
setTimeToLiveWithCheckForNeverExpires(long) - Method in class grails.plugin.cache.web.PageInfo
See http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html To mark a response as "never expires," an origin server sends an Expires date approximately one year from the time the response is sent.
setUrlMappingsHandlerMapping(UrlMappingsHandlerMapping) - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
SimpleKeyGenerator - Class in grails.plugin.cache
Copy of Spring 4.0's SimpleKeyGenerator and SimpleKey Simple key generator.
SimpleKeyGenerator() - Constructor for class grails.plugin.cache.SimpleKeyGenerator
 
SimpleKeyGenerator.SimpleKey - Class in grails.plugin.cache
A simple key as returned from the SimpleKeyGenerator.
SimpleKeyGenerator.SimpleKey(Object...) - Constructor for class grails.plugin.cache.SimpleKeyGenerator.SimpleKey
Create a new SimpleKeyGenerator.SimpleKey instance.
size() - Method in class grails.plugin.cache.SerializableByteArrayOutputStream
 
start() - Method in class grails.plugin.cache.Timer
 
statusCode - Variable in class grails.plugin.cache.web.GenericResponseWrapper
 
statusCode - Variable in class grails.plugin.cache.web.PageInfo
 
stop(boolean) - Method in class grails.plugin.cache.Timer
 
stopWatch - Variable in class grails.plugin.cache.Timer
 
storeGzipped - Variable in class grails.plugin.cache.web.PageInfo
 
supportAjax - Variable in class grails.plugin.cache.web.filter.DefaultWebKeyGenerator
 
suppressStackTraces - Variable in class grails.plugin.cache.web.filter.AbstractFilter
 

T

targetClass - Variable in class grails.plugin.cache.GrailsAnnotationCacheOperationSource.DefaultCacheKey
 
targetClass - Variable in class grails.plugin.cache.web.filter.CacheExpressionRootObject
 
targetClass - Variable in class grails.plugin.cache.web.filter.LazyParamAwareEvaluationContext
 
targetMethodCache - Variable in class grails.plugin.cache.web.filter.ExpressionEvaluator
 
Timer - Class in grails.plugin.cache
Based on grails.plugin.springcache.web.Timer.
Timer(String) - Constructor for class grails.plugin.cache.Timer
 
timeToLiveSeconds - Variable in class grails.plugin.cache.web.PageInfo
 
toByteArray() - Method in class grails.plugin.cache.SerializableByteArrayOutputStream
 
toCookie() - Method in class grails.plugin.cache.web.SerializableCookie
 
toList(Enumeration<String>) - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
toStoreValue(Object) - Method in class grails.plugin.cache.GrailsConcurrentLinkedMapCache
Convert the given user value, as passed into the put method, to a value in the internal store (adapting null).
toString() - Method in class grails.plugin.cache.SerializableByteArrayOutputStream
 
toString(String) - Method in class grails.plugin.cache.SerializableByteArrayOutputStream
 
toString() - Method in class grails.plugin.cache.SimpleKeyGenerator.SimpleKey
 
toString() - Method in class grails.plugin.cache.web.ContentCacheParameters
 
toString(Method, String) - Method in class grails.plugin.cache.web.filter.ExpressionEvaluator
 
toString(Method) - Method in class grails.plugin.cache.web.filter.LazyParamAwareEvaluationContext
 
toString() - Method in class grails.plugin.cache.web.Header
 
TYPE - Static variable in class grails.plugin.cache.CacheConfigArtefactHandler
The artefact type.
type - Variable in class grails.plugin.cache.web.Header
 
TYPE_TO_CONVERSION_METHOD_NAME - Static variable in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 

U

ungzip(byte[]) - Method in class grails.plugin.cache.web.PageInfo
A highly performant ungzip implementation.
ungzippedBody - Variable in class grails.plugin.cache.web.PageInfo
 
UPDATE - Static variable in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
update(Collection<Cache>, PageInfo, PageFragmentCachingFilter.CacheStatus, String) - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
updateRequired - Variable in class grails.plugin.cache.web.filter.PageFragmentCachingFilter.CacheStatus
 
updates - Variable in class grails.plugin.cache.web.filter.PageFragmentCachingFilter.CacheStatus
 
uri - Variable in class grails.plugin.cache.Timer
 
urlMappingsHandlerMapping - Variable in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 

V

value - Variable in class grails.plugin.cache.web.Header
 
value - Variable in class grails.plugin.cache.web.SerializableCookie
 
valueOf(String) - Static method in enum grails.plugin.cache.web.Header.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum grails.plugin.cache.web.Header.Type
Returns an array containing the constants of this enum type, in the order they are declared.
valueWrapper - Variable in class grails.plugin.cache.web.filter.PageFragmentCachingFilter.CacheStatus
 
version - Variable in class grails.plugin.cache.web.SerializableCookie
 
visit(ASTNode[], SourceUnit) - Method in class grails.plugin.cache.compiler.CacheTransformation
 

W

WebKeyGenerator - Interface in grails.plugin.cache.web.filter
Generates cache keys for requests.
write(int) - Method in class grails.plugin.cache.SerializableByteArrayOutputStream
 
write(byte[], int, int) - Method in class grails.plugin.cache.SerializableByteArrayOutputStream
 
writer - Variable in class grails.plugin.cache.web.GenericResponseWrapper
 
writeResponse(HttpServletRequest, HttpServletResponse, PageInfo) - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
Writes the response from a PageInfo object.
writeResponse(HttpServletResponse, PageInfo) - Method in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
Assembles a response from a cached page include.
writeTo(OutputStream) - Method in class grails.plugin.cache.SerializableByteArrayOutputStream
 

X

X_CACHED - Static variable in class grails.plugin.cache.web.filter.PageFragmentCachingFilter
 
X_REQUESTED_WITH - Static variable in class grails.plugin.cache.web.filter.DefaultWebKeyGenerator
 
A B C D E F G H I K L M N O P R S T U V W X