List of usage examples for org.springframework.web.context.support ContextExposingHttpServletRequest ContextExposingHttpServletRequest
public ContextExposingHttpServletRequest(HttpServletRequest originalRequest, WebApplicationContext context,
@Nullable Set<String> exposedContextBeanNames)
From source file:io.github.autsia.crowly.tiles.TilesExposingBeansView.java
protected HttpServletRequest getRequestToExpose(HttpServletRequest originalRequest) { if (this.exposeContextBeansAsAttributes || this.exposedContextBeanNames != null) return new ContextExposingHttpServletRequest(originalRequest, getWebApplicationContext(), this.exposedContextBeanNames); return originalRequest; }