org.springframework.extensions.webscripts
Interface Description.RequiredCache

All Known Implementing Classes:
Cache
Enclosing interface:
Description

public static interface Description.RequiredCache

Caching requirements


Method Summary
 boolean getIsPublic()
          Determine if Web Script content is for public caching
 boolean getMustRevalidate()
          Must cache re-validate to ensure content is fresh
 boolean getNeverCache()
          Determine if Web Script should ever be cached
 

Method Detail

getNeverCache

boolean getNeverCache()
Determine if Web Script should ever be cached

Returns:
true => do not cache, false => caching may or not occur

getIsPublic

boolean getIsPublic()
Determine if Web Script content is for public caching

Returns:
true => content is public, so allow cache

getMustRevalidate

boolean getMustRevalidate()
Must cache re-validate to ensure content is fresh

Returns:
true => must re-validate


Copyright © 2009 SpringSource, Inc. All Rights Reserved.