Package org.springframework.web.portlet.context

Examples of org.springframework.web.portlet.context.PortletWebRequest


      PortletRequest request, MimeResponse response, Object handler, Exception ex) {

    if (handler != null) {
      Method handlerMethod = findBestExceptionHandlerMethod(handler, ex);
      if (handlerMethod != null) {
        NativeWebRequest webRequest = new PortletWebRequest(request, response);
        try {
          Object[] args = resolveHandlerArguments(handlerMethod, handler, webRequest, ex);
          if (logger.isDebugEnabled()) {
            logger.debug("Invoking request handler method: " + handlerMethod);
          }
View Full Code Here


  }


  public boolean preHandleAction(ActionRequest request, ActionResponse response, Object handler) throws Exception {
    if (!this.renderPhaseOnly) {
      this.requestInterceptor.preHandle(new PortletWebRequest(request));
    }
    return true;
  }
View Full Code Here

  public void afterActionCompletion(
      ActionRequest request, ActionResponse response, Object handler, Exception ex) throws Exception {

    if (!this.renderPhaseOnly) {
      this.requestInterceptor.afterCompletion(new PortletWebRequest(request), ex);
    }
  }
View Full Code Here

      this.requestInterceptor.afterCompletion(new PortletWebRequest(request), ex);
    }
  }

  public boolean preHandleRender(RenderRequest request, RenderResponse response, Object handler) throws Exception {
    this.requestInterceptor.preHandle(new PortletWebRequest(request));
    return true;
  }
View Full Code Here

  }

  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));
  }
View Full Code Here

  }

  public void afterRenderCompletion(
      RenderRequest request, RenderResponse response, Object handler, Exception ex) throws Exception {

    this.requestInterceptor.afterCompletion(new PortletWebRequest(request), ex);
  }
View Full Code Here

  }

  public boolean preHandleResource(ResourceRequest request, ResourceResponse response, Object handler)
      throws Exception {

    this.requestInterceptor.preHandle(new PortletWebRequest(request));
    return true;
  }
View Full Code Here

  }

  public void postHandleResource(ResourceRequest request, ResourceResponse response, Object handler, ModelAndView modelAndView)
      throws Exception {

    this.requestInterceptor.postHandle(new PortletWebRequest(request),
        (modelAndView != null ? modelAndView.getModelMap() : null));
  }
View Full Code Here

  }

  public void afterResourceCompletion(ResourceRequest request, ResourceResponse response, Object handler,
      Exception ex) throws Exception {

    this.requestInterceptor.afterCompletion(new PortletWebRequest(request), ex);
  }
View Full Code Here

    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;
  }
View Full Code Here

TOP

Related Classes of org.springframework.web.portlet.context.PortletWebRequest

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.