@Override public boolean preHandleResource(ResourceRequest request, ResourceResponse response, Object handler) throws Exception { this.requestInterceptor.preHandle(new PortletWebRequest(request)); return true; }
@Override public void afterResourceCompletion(ResourceRequest request, ResourceResponse response, Object handler, Exception ex) throws Exception { this.requestInterceptor.afterCompletion(new PortletWebRequest(request), ex); }
@Override public void afterActionCompletion( ActionRequest request, ActionResponse response, Object handler, Exception ex) throws Exception { if (!this.renderPhaseOnly) { this.requestInterceptor.afterCompletion(new PortletWebRequest(request), ex); } }
@Override public boolean preHandleEvent(EventRequest request, EventResponse response, Object handler) throws Exception { this.requestInterceptor.preHandle(new PortletWebRequest(request)); return true; }
@Override public void afterRenderCompletion( RenderRequest request, RenderResponse response, Object handler, Exception ex) throws Exception { this.requestInterceptor.afterCompletion(new PortletWebRequest(request), ex); }
public void afterActionCompletion( ActionRequest request, ActionResponse response, Object handler, Exception ex) throws Exception { if (!this.renderPhaseOnly) { this.requestInterceptor.afterCompletion(new PortletWebRequest(request), ex); } }
@Override public boolean preHandleAction(ActionRequest request, ActionResponse response, Object handler) throws Exception { if (!this.renderPhaseOnly) { this.requestInterceptor.preHandle(new PortletWebRequest(request)); } return true; }
@Override public boolean preHandleRender(RenderRequest request, RenderResponse response, Object handler) throws Exception { this.requestInterceptor.preHandle(new PortletWebRequest(request)); return true; }
@Override public void afterEventCompletion(EventRequest request, EventResponse response, Object handler, Exception ex) throws Exception { this.requestInterceptor.afterCompletion(new PortletWebRequest(request), ex); }
public boolean preHandleEvent(EventRequest request, EventResponse response, Object handler) throws Exception { this.requestInterceptor.preHandle(new PortletWebRequest(request)); return true; }
public void afterEventCompletion(EventRequest request, EventResponse response, Object handler, Exception ex) throws Exception { this.requestInterceptor.afterCompletion(new PortletWebRequest(request), ex); }
public void afterRenderCompletion( RenderRequest request, RenderResponse response, Object handler, Exception ex) throws Exception { this.requestInterceptor.afterCompletion(new PortletWebRequest(request), ex); }
public boolean preHandleAction(ActionRequest request, ActionResponse response, Object handler) throws Exception { if (!this.renderPhaseOnly) { this.requestInterceptor.preHandle(new PortletWebRequest(request)); } return true; }
public boolean preHandleResource(ResourceRequest request, ResourceResponse response, Object handler) throws Exception { this.requestInterceptor.preHandle(new PortletWebRequest(request)); return true; }
public WebRequest getObject() { return new PortletWebRequest(currentRequestAttributes().getRequest()); }
public void postHandleResource(ResourceRequest request, ResourceResponse response, Object handler, ModelAndView modelAndView) throws Exception { this.requestInterceptor.postHandle(new PortletWebRequest(request), (modelAndView != null ? modelAndView.getModelMap() : null)); }
@Override public WebRequest getObject() { PortletRequestAttributes requestAttr = currentRequestAttributes(); return new PortletWebRequest(requestAttr.getRequest(), requestAttr.getResponse()); }
@Override public void postHandleResource(ResourceRequest request, ResourceResponse response, Object handler, ModelAndView modelAndView) throws Exception { this.requestInterceptor.postHandle(new PortletWebRequest(request), (modelAndView != null ? modelAndView.getModelMap() : null)); }
public void postHandleRender( RenderRequest request, RenderResponse response, Object handler, ModelAndView modelAndView) throws Exception { this.requestInterceptor.postHandle(new PortletWebRequest(request), (modelAndView != null && !modelAndView.wasCleared() ? modelAndView.getModelMap() : null)); }
@Override public void postHandleRender( RenderRequest request, RenderResponse response, Object handler, ModelAndView modelAndView) throws Exception { this.requestInterceptor.postHandle(new PortletWebRequest(request), (modelAndView != null && !modelAndView.wasCleared() ? modelAndView.getModelMap() : null)); }