@Override
public void next(ControllerMethod method, Object controllerInstance) throws InterceptionException {
Iterator<InterceptorHandler> iterator = internalStack.peek();
if (!iterator.hasNext()) {
interceptorsExecutedEvent.fire(new InterceptorsExecuted(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);