com.khubla.pragmatach.examples.cacheexample
Class IndexController
java.lang.Object
com.khubla.pragmatach.framework.controller.impl.AbstractController
com.khubla.pragmatach.framework.controller.impl.template.AbstractTemplateEngineController
com.khubla.pragmatach.framework.controller.impl.FormPostBeanBoundController
com.khubla.pragmatach.plugin.freemarker.FreemarkerController
com.khubla.pragmatach.examples.cacheexample.IndexController
- All Implemented Interfaces:
- BeanBoundController, PragmatachController
@Controller(name="IndexController")
@View(view="index.ftl")
@CacheControl(maxAge=10)
public class IndexController
- extends FreemarkerController
Methods inherited from class com.khubla.pragmatach.framework.controller.impl.AbstractController |
bad, buildWildcardResourceURI, forward, getApplicationURL, getCacheHeaders, getConfigurationParameter, getControllerName, getControllerName, getPragmatachRoute, getRequest, getResource, getSessionScopedController, ok, redirect, setPragmatachRoute, setRequest |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexController
public IndexController()
getTime
public String getTime()
render
@Route(uri="/")
public Response render()
throws PragmatachException
- Description copied from class:
FreemarkerController
- render
- Overrides:
render
in class FreemarkerController
- Throws:
PragmatachException
Copyright © 2014 khubla.com. All rights reserved.