Class AbstractCheckedUriFilter
- java.lang.Object
-
- org.springframework.web.filter.GenericFilterBean
-
- de.hybris.platform.servicelayer.web.AbstractCheckedUriFilter
-
- All Implemented Interfaces:
javax.servlet.Filter,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.InitializingBean,org.springframework.context.EnvironmentAware,org.springframework.core.env.EnvironmentCapable,org.springframework.web.context.ServletContextAware
- Direct Known Subclasses:
RedirectWhenSystemIsNotInitializedFilter
public abstract class AbstractCheckedUriFilter extends org.springframework.web.filter.GenericFilterBeanBase filter for all filters which have to rely on list of url paths and perform some action when request URI matches url path.
-
-
Constructor Summary
Constructors Constructor Description AbstractCheckedUriFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>getUrlPaths()protected booleanisUrlPathsContainsUri(java.lang.String uri)Checks ifurimatches any of defined url paths.voidsetUrlPaths(java.util.List<java.lang.String> urlPaths)-
Methods inherited from class org.springframework.web.filter.GenericFilterBean
addRequiredProperty, afterPropertiesSet, createEnvironment, destroy, getEnvironment, getFilterConfig, getFilterName, getServletContext, init, initBeanWrapper, initFilterBean, setBeanName, setEnvironment, setServletContext
-
-
-
-
Method Detail
-
isUrlPathsContainsUri
protected boolean isUrlPathsContainsUri(java.lang.String uri)
Checks ifurimatches any of defined url paths. First match wins.- Parameters:
uri- the uri string to check- Returns:
- true, if matches
-
getUrlPaths
public java.util.List<java.lang.String> getUrlPaths()
-
setUrlPaths
public void setUrlPaths(java.util.List<java.lang.String> urlPaths)
-
-