public class RequestCacheAwareFilter
extends org.springframework.web.filter.GenericFilterBean
It will call
getMatchingRequest
on the configured RequestCache. If the method returns a
value (a wrapper of the saved request), it will pass this to the filter chain's
doFilter method. If null is returned by the cache, the original request is
used and the filter has no effect.
Constructor and Description |
---|
RequestCacheAwareFilter() |
RequestCacheAwareFilter(RequestCache requestCache) |
Modifier and Type | Method and Description |
---|---|
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain) |
public RequestCacheAwareFilter()
public RequestCacheAwareFilter(RequestCache requestCache)