com.khubla.pragmatach.examples.velocityexample
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.velocity.VelocityController
com.khubla.pragmatach.examples.velocityexample.IndexController
- All Implemented Interfaces:
- BeanBoundController, PragmatachController
@Controller(name="IndexController")
@View(view="index.vtl")
public class IndexController
- extends VelocityController
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()
getMessage
public String getMessage()
getSum
public int getSum()
getTime
public String getTime()
render
@Route(uri="/")
public Response render()
throws PragmatachException
- Description copied from class:
VelocityController
- render
- Overrides:
render
in class VelocityController
- Throws:
PragmatachException
render
@Route(uri="/@num")
public Response render(@RouteParameter(name="num")
int number)
throws PragmatachException
- Throws:
PragmatachException
setSum
public void setSum(int sum)
Copyright © 2014 khubla.com. All rights reserved.