@Override
public void next(ControllerMethod method, Object controllerInstance) throws InterceptionException {
Iterator<InterceptorHandler> iterator = internalStack.peek();
if (!iterator.hasNext()) {
event.fire(new EndOfInterceptorStack(controllerMethod.get(), controllerInstance));
logger.debug("All registered interceptors have been called. End of VRaptor Request Execution.");
return;
}
InterceptorHandler handler = iterator.next();
handler.execute(this, method, controllerInstance);