Package org.springframework.web.context.support

Examples of org.springframework.web.context.support.ContextExposingHttpServletRequest


   * @see #setExposeContextBeansAsAttributes
   * @see org.springframework.web.context.support.ContextExposingHttpServletRequest
   */
  protected HttpServletRequest getRequestToExpose(HttpServletRequest originalRequest) {
    if (this.exposeContextBeansAsAttributes || this.exposedContextBeanNames != null) {
      return new ContextExposingHttpServletRequest(
          originalRequest, getWebApplicationContext(), this.exposedContextBeanNames);
    }
    return originalRequest;
  }
View Full Code Here


   * @see #setExposeContextBeansAsAttributes
   * @see org.springframework.web.context.support.ContextExposingHttpServletRequest
   */
  protected HttpServletRequest getRequestToExpose(HttpServletRequest originalRequest) {
    if (this.exposeContextBeansAsAttributes || this.exposedContextBeanNames != null) {
      return new ContextExposingHttpServletRequest(
          originalRequest, getWebApplicationContext(), this.exposedContextBeanNames);
    }
    return originalRequest;
  }
View Full Code Here

   * @see org.springframework.web.context.support.ContextExposingHttpServletRequest
   */
  protected HttpServletRequest getRequestToExpose(HttpServletRequest originalRequest) {
    if (this.exposeContextBeansAsAttributes &&
        !(originalRequest instanceof ContextExposingHttpServletRequest)) {
      return new ContextExposingHttpServletRequest(originalRequest, getWebApplicationContext());
    }
    return originalRequest;
  }
View Full Code Here

   * @see #setExposedContextBeanNames
   * @see org.springframework.web.context.support.ContextExposingHttpServletRequest
   */
  protected HttpServletRequest getRequestToExpose(HttpServletRequest originalRequest) {
    if (this.exposeContextBeansAsAttributes || this.exposedContextBeanNames != null) {
      return new ContextExposingHttpServletRequest(
          originalRequest, getWebApplicationContext(), this.exposedContextBeanNames);
    }
    return originalRequest;
  }
View Full Code Here

   * @see #setExposeContextBeansAsAttributes
   * @see org.springframework.web.context.support.ContextExposingHttpServletRequest
   */
  protected HttpServletRequest getRequestToExpose(HttpServletRequest originalRequest) {
    if (this.exposeContextBeansAsAttributes || this.exposedContextBeanNames != null) {
      return new ContextExposingHttpServletRequest(
          originalRequest, getWebApplicationContext(), this.exposedContextBeanNames);
    }
    return originalRequest;
  }
View Full Code Here

   * @see #setExposeContextBeansAsAttributes
   * @see org.springframework.web.context.support.ContextExposingHttpServletRequest
   */
  protected HttpServletRequest getRequestToExpose(HttpServletRequest originalRequest) {
    if (this.exposeContextBeansAsAttributes || this.exposedContextBeanNames != null) {
      return new ContextExposingHttpServletRequest(
          originalRequest, getWebApplicationContext(), this.exposedContextBeanNames);
    }
    return originalRequest;
  }
View Full Code Here

TOP

Related Classes of org.springframework.web.context.support.ContextExposingHttpServletRequest

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.