Groovy Documentation

grails.plugin.springcache.web.key
[Groovy] Class WebContentKeyGenerator

java.lang.Object
  AbstractKeyGenerator
      DefaultKeyGenerator
          WebContentKeyGenerator

class WebContentKeyGenerator
extends DefaultKeyGenerator

Property Summary
static java.lang.String X_REQUESTED_WITH

boolean ajax

boolean contentType

boolean requestMethod

 
Constructor Summary
WebContentKeyGenerator()

 
Method Summary
protected void generateKeyInternal(CacheKeyBuilder builder, ContentCacheParameters context)

void handleAjax(CacheKeyBuilder builder, ContentCacheParameters context)

void handleContentType(CacheKeyBuilder builder, ContentCacheParameters context)

void handleRequestMethod(CacheKeyBuilder builder, ContentCacheParameters context)

 
Methods inherited from class DefaultKeyGenerator
generateKeyInternal
 
Methods inherited from class AbstractKeyGenerator
generateKey, generateKeyInternal
 

Property Detail

X_REQUESTED_WITH

static final java.lang.String X_REQUESTED_WITH


ajax

boolean ajax


contentType

boolean contentType


requestMethod

boolean requestMethod


 
Constructor Detail

WebContentKeyGenerator

WebContentKeyGenerator()


 
Method Detail

generateKeyInternal

@Override
protected void generateKeyInternal(CacheKeyBuilder builder, ContentCacheParameters context)


handleAjax

void handleAjax(CacheKeyBuilder builder, ContentCacheParameters context)


handleContentType

void handleContentType(CacheKeyBuilder builder, ContentCacheParameters context)


handleRequestMethod

void handleRequestMethod(CacheKeyBuilder builder, ContentCacheParameters context)


 

Groovy Documentation