5657585960616263646566
boolean result = true; Exception exception = null; for (int i = arounds.size() - 1; i >= 0; i--) { Filter filter = arounds.get(i); try { boolean ret = filter.afterInvoke(controller); if (!ret) { result = false; } } catch (Exception ex) { if (exception == null) {
137138139140141142143144145146147
// After过滤器,顺序执行 for (int i = 0; i < chains.size(); i++) { Filter filter = chains.get(i); if (filter.canInvoke(controller.getActionName()) && filter.getAfterFilter() != null) { boolean ret = filter.afterInvoke(controller); if (!ret) { return; } } }