org.loom.resolution
Interface CacheableResolution

All Superinterfaces:
Resolution
All Known Subinterfaces:
ForwardResolution, HttpResolution, RedirectResolution
All Known Implementing Classes:
AbstractFileResolution, AbstractHttpResolution, AutocompleteResolution, BufferedImageResolution, DefaultForwardResolution, HtmlResolution, HttpErrorResolution, InputStreamResolution, JacksonResolution, JsonResolution, LocaleForwardResolution, PersistentFileResolution, RedirectResolutionImpl, StringResolution, ZipFileResolution

public interface CacheableResolution
extends Resolution

A resolution that can be cached by the browser


Method Summary
 CacheableResolution setCacheControl(CacheControl cacheControl)
          Sets the cache data to be sent to the browser
 
Methods inherited from interface org.loom.resolution.Resolution
resolve
 

Method Detail

setCacheControl

CacheableResolution setCacheControl(CacheControl cacheControl)
Sets the cache data to be sent to the browser

Parameters:
cacheControl - the cache data.
Returns:
this same instance, to allow easy chaining of invocations