|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.web.filter.GenericFilterBean
org.springframework.web.filter.OncePerRequestFilter
org.broadleafcommerce.cms.web.BroadleafProcessURLFilter
com.google.common.cache.CacheBuilder for more information
on these parameters.
public class BroadleafProcessURLFilter
| Field Summary | |
|---|---|
static String |
LOCALE_CODE_PARAM
Deprecated. Parameter/Attribute name for the current language |
static String |
LOCALE_VAR
Deprecated. Parameter/Attribute name for the current language |
static String |
REQUEST_DTO
Deprecated. Parameter/Attribute name for the current language |
static String |
SANDBOX_VAR
Deprecated. Request attribute to store the current sandbox |
protected Boolean |
sandBoxPreviewEnabled
Deprecated. |
| Fields inherited from class org.springframework.web.filter.OncePerRequestFilter |
|---|
ALREADY_FILTERED_SUFFIX |
| Fields inherited from class org.springframework.web.filter.GenericFilterBean |
|---|
logger |
| Constructor Summary | |
|---|---|
BroadleafProcessURLFilter()
Deprecated. |
|
| Method Summary | |
|---|---|
void |
doFilterInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain)
Deprecated. (non-Javadoc) |
int |
getCacheExpirationSeconds()
Deprecated. |
protected Set |
getIgnoreSuffixes()
Deprecated. Returns a set of suffixes that can be ignored by content processing. |
int |
getMaxCacheConcurrency()
Deprecated. |
int |
getMaxCacheElements()
Deprecated. |
Boolean |
getSandBoxPreviewEnabled()
Deprecated. |
List<URLProcessor> |
getUrlProcessorList()
Deprecated. |
void |
setCacheExpirationSeconds(int cacheExpirationSeconds)
Deprecated. |
void |
setMaxCacheConcurrency(int maxCacheConcurrency)
Deprecated. |
void |
setMaxCacheElements(int maxCacheElements)
Deprecated. |
void |
setSandBoxPreviewEnabled(Boolean sandBoxPreviewEnabled)
Deprecated. |
void |
setUrlProcessorList(List<URLProcessor> urlProcessorList)
Deprecated. |
protected boolean |
shouldProcessURL(javax.servlet.http.HttpServletRequest request,
String requestURI)
Deprecated. Determines if the passed in URL should be processed by the content management system. |
| Methods inherited from class org.springframework.web.filter.OncePerRequestFilter |
|---|
doFilter, getAlreadyFilteredAttributeName, shouldNotFilter |
| Methods inherited from class org.springframework.web.filter.GenericFilterBean |
|---|
addRequiredProperty, afterPropertiesSet, destroy, getFilterConfig, getFilterName, getServletContext, init, initBeanWrapper, initFilterBean, setBeanName, setEnvironment, setServletContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Boolean sandBoxPreviewEnabled
public static String LOCALE_VAR
public static String LOCALE_CODE_PARAM
public static String REQUEST_DTO
public static String SANDBOX_VAR
| Constructor Detail |
|---|
public BroadleafProcessURLFilter()
| Method Detail |
|---|
public void doFilterInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain)
throws IOException,
javax.servlet.ServletException
doFilterInternal in class org.springframework.web.filter.OncePerRequestFilterIOException
javax.servlet.ServletExceptionFilter.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain)
protected 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.getRequestURI
HttpServletRequest should be processedprotected Set getIgnoreSuffixes()
public int getMaxCacheElements()
public void setMaxCacheElements(int maxCacheElements)
public int getCacheExpirationSeconds()
public void setCacheExpirationSeconds(int cacheExpirationSeconds)
public int getMaxCacheConcurrency()
public void setMaxCacheConcurrency(int maxCacheConcurrency)
public List<URLProcessor> getUrlProcessorList()
public void setUrlProcessorList(List<URLProcessor> urlProcessorList)
public Boolean getSandBoxPreviewEnabled()
public void setSandBoxPreviewEnabled(Boolean sandBoxPreviewEnabled)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||