org.apache.cocoon.sample.controller
Class CacheableDemoRESTController

java.lang.Object
  extended by org.apache.cocoon.sample.controller.CacheableDemoRESTController
All Implemented Interfaces:
ConditionalGet, Get

public class CacheableDemoRESTController
extends Object
implements ConditionalGet


Constructor Summary
CacheableDemoRESTController()
           
 
Method Summary
 CacheKey constructCacheKey()
           
 RestResponse doGet()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheableDemoRESTController

public CacheableDemoRESTController()
Method Detail

constructCacheKey

public CacheKey constructCacheKey()
Specified by:
constructCacheKey in interface ConditionalGet

doGet

public RestResponse doGet()
                   throws Exception
Specified by:
doGet in interface Get
Throws:
Exception


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.