com.khubla.pragmatach.plugin.json
Class JSONController

java.lang.Object
  extended by com.khubla.pragmatach.framework.controller.impl.AbstractController
      extended by com.khubla.pragmatach.plugin.json.JSONController
All Implemented Interfaces:
BeanBoundController, PragmatachController
Direct Known Subclasses:
IndexController

public class JSONController
extends AbstractController
implements BeanBoundController

Author:
tome

Constructor Summary
JSONController()
          ctor
 
Method Summary
 void populateController()
           
 void populateController(String JSON)
          for testing purposes
 Response render()
          render
 
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

JSONController

public JSONController()
ctor

Method Detail

populateController

public void populateController()
                        throws PragmatachException
Specified by:
populateController in interface BeanBoundController
Throws:
PragmatachException

populateController

public void populateController(String JSON)
                        throws PragmatachException
for testing purposes

Throws:
PragmatachException

render

public Response render()
                throws PragmatachException
render

Throws:
PragmatachException


Copyright © 2014 khubla.com. All rights reserved.