Groovy Documentation

grails.plugin.springcache.web
[Groovy] Class ContentNegotiationSpec

java.lang.Object
  spock.lang.Specification
      ContentNegotiationSpec

class ContentNegotiationSpec
extends spock.lang.Specification

Field Summary
private RESTClient http

 
Fields inherited from class spock.lang.Specification
_
 
Property Summary
net.sf.ehcache.Ehcache latestControllerCache

SpringcacheService springcacheService

 
Constructor Summary
ContentNegotiationSpec()

 
Method Summary
java.lang.Object cleanupSpec()

java.lang.Object content requested with different formats is cached separately()

java.lang.Object setupSpec()

 
Methods inherited from class spock.lang.Specification
spock.lang.Specification#old(java.lang.Object), spock.lang.Specification#thrown(java.lang.Class), spock.lang.Specification#thrown(), spock.lang.Specification#notThrown(java.lang.Class), spock.lang.Specification#noExceptionThrown(), spock.lang.Specification#Mock(), spock.lang.Specification#Mock(java.lang.Class), spock.lang.Specification#interaction(groovy.lang.Closure), spock.lang.Specification#wait(), spock.lang.Specification#wait(long), spock.lang.Specification#wait(long, int), spock.lang.Specification#equals(java.lang.Object), spock.lang.Specification#toString(), spock.lang.Specification#hashCode(), spock.lang.Specification#getClass(), spock.lang.Specification#notify(), spock.lang.Specification#notifyAll()
 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Field Detail

http

private RESTClient http


 
Property Detail

latestControllerCache

@Shared
net.sf.ehcache.Ehcache latestControllerCache


springcacheService

@Shared
SpringcacheService springcacheService


 
Constructor Detail

ContentNegotiationSpec

ContentNegotiationSpec()


 
Method Detail

cleanupSpec

java.lang.Object cleanupSpec()


content requested with different formats is cached separately

@Unroll("content requested with content type '#contentType' is cached separately")
java.lang.Object content requested with different formats is cached separately()


setupSpec

java.lang.Object setupSpec()


 

Groovy Documentation