Package org.springframework.web.portlet.context

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


  }

  public void afterEventCompletion(EventRequest request, EventResponse response, Object handler, Exception ex)
      throws Exception {

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


   * @see org.springframework.validation.DataBinder#registerCustomEditor
   * @see org.springframework.beans.propertyeditors.CustomDateEditor
   */
  protected void initBinder(PortletRequest request, PortletRequestDataBinder binder) throws Exception {
    if (this.webBindingInitializer != null) {
      this.webBindingInitializer.initBinder(binder, new PortletWebRequest(request));
    }
  }
View Full Code Here

  @SuppressWarnings("unchecked")
  private ModelAndView invokeHandlerMethod(
      PortletRequest request, PortletResponse response, Object handler, ExtendedModelMap implicitModel)
      throws Exception {

    PortletWebRequest webRequest = new PortletWebRequest(request, response);
    PortletHandlerMethodResolver methodResolver = getMethodResolver(handler);
    Method handlerMethod = methodResolver.resolveHandlerMethod(request);
    PortletHandlerMethodInvoker methodInvoker = new PortletHandlerMethodInvoker(methodResolver);

    Object result = methodInvoker.invokeHandlerMethod(handlerMethod, handler, webRequest, implicitModel);
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.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

  private ModelAndView invokeHandlerMethod(
      PortletRequest request, PortletResponse response, Object handler, ExtendedModelMap implicitModel)
      throws Exception {

    PortletWebRequest webRequest = new PortletWebRequest(request, response);
    PortletHandlerMethodResolver methodResolver = getMethodResolver(handler);
    Method handlerMethod = methodResolver.resolveHandlerMethod(request, response);
    PortletHandlerMethodInvoker methodInvoker = new PortletHandlerMethodInvoker(methodResolver);

    Object result = methodInvoker.invokeHandlerMethod(handlerMethod, handler, webRequest, implicitModel);
View Full Code Here

   * @see org.springframework.validation.DataBinder#registerCustomEditor
   * @see org.springframework.beans.propertyeditors.CustomDateEditor
   */
  protected void initBinder(PortletRequest request, PortletRequestDataBinder binder) throws Exception {
    if (this.webBindingInitializer != null) {
      this.webBindingInitializer.initBinder(binder, new PortletWebRequest(request));
    }
  }
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.