com.khubla.pragmatach.examples.routesexample
Class ExampleRoutesController1
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.routesexample.ExampleRoutesController1
- All Implemented Interfaces:
- BeanBoundController, PragmatachController
@Controller(name="ExampleRoutesController1")
@View(view="exampleRoutesController1.ftl")
public class ExampleRoutesController1
- 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 |
ExampleRoutesController1
public ExampleRoutesController1()
getMessage
public String getMessage()
getSum
public int getSum()
render
@Route(uri="/exampleRoutesController1/@num1/@num2/@message")
public Response render(@RouteParameter(name="num1")
int number1,
@RouteParameter(name="num2")
int number2,
@RouteParameter(name="message")
String message)
throws PragmatachException
- Throws:
PragmatachException
setSum
public void setSum(int sum)
Copyright © 2014 khubla.com. All rights reserved.