org.vraptor.core
Class DefaultController

java.lang.Object
  extended by org.vraptor.core.DefaultController
All Implemented Interfaces:
Controller

public class DefaultController
extends Object
implements Controller

Main vraptor2 controller.

Author:
Guilherme Silveira

Constructor Summary
DefaultController(WebApplication application)
           
 
Method Summary
 String execute(WebRequest request)
           
 Introspector getIntrospector()
           
 WebApplication getWebApplication()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultController

public DefaultController(WebApplication application)
Parameters:
application -
Method Detail

getWebApplication

public WebApplication getWebApplication()
Specified by:
getWebApplication in interface Controller
Returns:
the application

execute

public String execute(WebRequest request)
               throws InvalidURLException,
                      ComponentNotFoundException,
                      LogicNotFoundException,
                      ViewException,
                      InterceptorInstantiationException,
                      LogicException
Specified by:
execute in interface Controller
Throws:
InvalidURLException
ComponentNotFoundException
LogicNotFoundException
ViewException
InterceptorInstantiationException
LogicException

getIntrospector

public Introspector getIntrospector()
Specified by:
getIntrospector in interface Controller


Copyright © 2004-2008 VRaptor. All Rights Reserved.