@Component(value="blURLHandlerFilter")
public class URLHandlerFilter
extends org.springframework.web.filter.OncePerRequestFilter
| Modifier and Type | Field and Description |
|---|---|
String |
charEncoding |
| Constructor and Description |
|---|
URLHandlerFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doFilterInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain) |
protected String |
fixQueryString(javax.servlet.http.HttpServletRequest request,
String url)
If the url does not include "//" then the system will ensure that the application context
is added to the start of the URL.
|
static Set<String> |
getExistingQueryParams(String url) |
protected boolean |
getPreserveQueryStringOnRedirect() |
doFilter, getAlreadyFilteredAttributeName, isAsyncDispatch, isAsyncStarted, shouldNotFilter, shouldNotFilterAsyncDispatch, shouldNotFilterErrorDispatch@Value(value="${request.uri.encoding}")
public String charEncoding
protected void doFilterInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain)
throws javax.servlet.ServletException,
IOException
doFilterInternal in class org.springframework.web.filter.OncePerRequestFilterjavax.servlet.ServletExceptionIOExceptionprotected String fixQueryString(javax.servlet.http.HttpServletRequest request, String url)
url - Exceptionpublic static Set<String> getExistingQueryParams(String url) throws UnsupportedEncodingException
UnsupportedEncodingExceptionprotected boolean getPreserveQueryStringOnRedirect()
Copyright © 2015. All Rights Reserved.