@Component(value="blThemeResolverFilter") @ConditionalOnNotAdmin public class BroadleafThemeResolverFilter extends AbstractIgnorableOncePerRequestFilter
| Modifier and Type | Field and Description |
|---|---|
protected BroadleafThemeProcessor |
themeProcessor |
| Constructor and Description |
|---|
BroadleafThemeResolverFilter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doFilterInternalUnlessIgnored(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain) |
protected Set |
getIgnoreSuffixes()
Returns a set of suffixes that can be ignored by content processing.
|
int |
getOrder() |
protected boolean |
shouldNotFilterErrorDispatch() |
protected boolean |
shouldProcessURL(javax.servlet.http.HttpServletRequest request,
String requestURI)
Determines if the passed in URL should be processed by the content management system.
|
protected boolean |
shouldProcessURL(javax.servlet.http.HttpServletRequest request,
String requestURI,
boolean ignoreSessionCheck) |
doFilterInternal, isIgnoreddoFilter, getAlreadyFilteredAttributeName, isAsyncDispatch, isAsyncStarted, shouldNotFilter, shouldNotFilterAsyncDispatch@Autowired @Qualifier(value="blThemeProcessor") protected BroadleafThemeProcessor themeProcessor
protected void doFilterInternalUnlessIgnored(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain)
throws IOException,
javax.servlet.ServletException
doFilterInternalUnlessIgnored in class AbstractIgnorableOncePerRequestFilterIOExceptionjavax.servlet.ServletExceptionprotected boolean shouldProcessURL(javax.servlet.http.HttpServletRequest request,
String requestURI)
getIgnoreSuffixes.
This check is called with the doFilterInternal method to short-circuit the content processing which can be expensive for requests that do not require it.requestURI - - the HttpServletRequest.getRequestURIHttpServletRequest should be processedprotected boolean shouldProcessURL(javax.servlet.http.HttpServletRequest request,
String requestURI,
boolean ignoreSessionCheck)
protected Set getIgnoreSuffixes()
protected boolean shouldNotFilterErrorDispatch()
shouldNotFilterErrorDispatch in class org.springframework.web.filter.OncePerRequestFilterpublic int getOrder()
Copyright © 2024. All rights reserved.