com.khubla.pragmatach.examples.routesexample
Class ExampleRoutesController2

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.routesexample.ExampleRoutesController2
All Implemented Interfaces:
BeanBoundController, PragmatachController

@Controller(name="ExampleRoutesController2")
@View(view="exampleRoutesController2.ftl")
public class ExampleRoutesController2
extends FreemarkerController


Constructor Summary
ExampleRoutesController2()
           
 
Method Summary
 String getMessage()
           
 Response render(String string1, String string2)
           
 
Methods inherited from class com.khubla.pragmatach.plugin.freemarker.FreemarkerController
render, 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

ExampleRoutesController2

public ExampleRoutesController2()
Method Detail

getMessage

public String getMessage()

render

@Route(uri="/exampleRoutesController2/@str1/ststst/@str2")
public Response render(@RouteParameter(name="str1")
                                String string1,
                                @RouteParameter(name="str2")
                                String string2)
                throws PragmatachException
Throws:
PragmatachException


Copyright © 2014 khubla.com. All rights reserved.