@Component(value="blURLHandlerFilter")
@ConditionalOnNotAdmin
public class URLHandlerFilter
extends org.broadleafcommerce.common.web.filter.AbstractIgnorableOncePerRequestFilter
| Modifier and Type | Field and Description |
|---|---|
String |
charEncoding |
| Constructor and Description |
|---|
URLHandlerFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doFilterInternalUnlessIgnored(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) |
int |
getOrder() |
protected boolean |
getPreserveQueryStringOnRedirect() |
doFilterInternal, isIgnoreddoFilter, getAlreadyFilteredAttributeName, isAsyncDispatch, isAsyncStarted, shouldNotFilter, shouldNotFilterAsyncDispatch, shouldNotFilterErrorDispatch@Value(value="${request.uri.encoding}")
public String charEncoding
protected void doFilterInternalUnlessIgnored(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain)
throws javax.servlet.ServletException,
IOException
doFilterInternalUnlessIgnored in class org.broadleafcommerce.common.web.filter.AbstractIgnorableOncePerRequestFilterjavax.servlet.ServletExceptionIOExceptionprotected String fixQueryString(javax.servlet.http.HttpServletRequest request, String url)
url - Exceptionpublic static Set<String> getExistingQueryParams(String url) throws UnsupportedEncodingException
UnsupportedEncodingExceptionprotected boolean getPreserveQueryStringOnRedirect()
public int getOrder()
Copyright © 2022. All rights reserved.