Package br.com.caelum.vraptor.events

Examples of br.com.caelum.vraptor.events.ControllerMethodDiscovered


  public void handle(@Observes NewRequest event, MethodInfo methodInfo, RequestInfo requestInfo) {
    try {
      ControllerMethod method = translator.translate(requestInfo);
      methodInfo.setControllerMethod(method);
      controllerMethodEvent.fire(new ControllerMethodDiscovered(method));
      stackStartingEvent.fire(new StackStarting(method));
      interceptorStack.start();
    } catch (ControllerNotFoundException e) {
      controllerNotFoundHandler.couldntFind(requestInfo);
    } catch (MethodNotAllowedException e) {
View Full Code Here

TOP

Related Classes of br.com.caelum.vraptor.events.ControllerMethodDiscovered

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.