public class StaticFilter
extends org.springframework.web.filter.OncePerRequestFilter
Constructor and Description |
---|
StaticFilter() |
Modifier and Type | Method and Description |
---|---|
void |
doFilterInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain)
This method checks to see if the current path matches includes or
excludes.
|
void |
initFilterBean()
Read the includes/excludes paramters and set the filter accordingly.
|
doFilter, getAlreadyFilteredAttributeName, isAsyncDispatch, isAsyncStarted, shouldNotFilter, shouldNotFilterAsyncDispatch, shouldNotFilterErrorDispatch
public void initFilterBean()
initFilterBean
in class org.springframework.web.filter.GenericFilterBean
public void doFilterInternal(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
doFilterInternal
in class org.springframework.web.filter.OncePerRequestFilter
request
- the current requestresponse
- the current responsechain
- the filter chainjavax.servlet.ServletException
- when something goes wrongIOException
- when something goes terribly wrongCopyright © 2015. All rights reserved.