com.khubla.pragmatach.examples.beforeexample
Class IndexController

java.lang.Object
  extended by com.khubla.pragmatach.framework.controller.impl.AbstractController
      extended by com.khubla.pragmatach.framework.controller.impl.template.AbstractTemplateEngineController
          extended by com.khubla.pragmatach.framework.controller.impl.FormPostBeanBoundController
              extended by com.khubla.pragmatach.plugin.freemarker.FreemarkerController
                  extended by com.khubla.pragmatach.examples.beforeexample.IndexController
All Implemented Interfaces:
BeanBoundController, PragmatachController

@Controller
@View(view="index.ftl")
public class IndexController
extends FreemarkerController


Constructor Summary
IndexController()
           
 
Method Summary
 void createTheMessage()
           
 void dropMessage()
           
 String getMessage()
           
 String getTime()
           
 Response render()
          render
 
Methods inherited from class com.khubla.pragmatach.plugin.freemarker.FreemarkerController
renderTemplate
 
Methods inherited from class com.khubla.pragmatach.framework.controller.impl.FormPostBeanBoundController
getPostFieldValues, populateController
 
Methods inherited from class com.khubla.pragmatach.framework.controller.impl.template.AbstractTemplateEngineController
getTemplate, getTemplateContext, getTemplateName, url_for
 
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
 
Methods inherited from interface com.khubla.pragmatach.framework.controller.PragmatachController
setPragmatachRoute, setRequest
 

Constructor Detail

IndexController

public IndexController()
Method Detail

createTheMessage

@BeforeInvoke
public void createTheMessage()

dropMessage

@AfterInvoke
public void dropMessage()

getMessage

public String getMessage()

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.