com.khubla.pragmatach.framework.controller.impl
Class DefaultContextRootController

java.lang.Object
  extended by com.khubla.pragmatach.framework.controller.impl.AbstractController
      extended by com.khubla.pragmatach.framework.controller.impl.DefaultContextRootController
All Implemented Interfaces:
PragmatachController

@Controller(name="pragmatachDefaultContextRootController")
public class DefaultContextRootController
extends AbstractController

Controller to redirect root requests to /public/. Such as favicon.ico.

Author:
tome

Constructor Summary
DefaultContextRootController()
          ctor
 
Method Summary
 Response render(String[] resource)
           
 
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
 

Constructor Detail

DefaultContextRootController

public DefaultContextRootController()
ctor

Method Detail

render

@Route(uri="/*")
public Response render(String[] resource)
                throws PragmatachException
Throws:
PragmatachException


Copyright © 2014 khubla.com. All rights reserved.