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.GenericFilterBean
Base filter for all filters which have to rely on list of url paths and perform some action when request URI matches
url path.
-
Field Summary
Fields inherited from class org.springframework.web.filter.GenericFilterBean
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanChecks ifurimatches any of defined url paths.voidsetUrlPaths(List<String> urlPaths) Methods inherited from class org.springframework.web.filter.GenericFilterBean
addRequiredProperty, afterPropertiesSet, createEnvironment, destroy, getEnvironment, getFilterConfig, getFilterName, getServletContext, init, initBeanWrapper, initFilterBean, setBeanName, setEnvironment, setServletContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.servlet.Filter
doFilter
-
Constructor Details
-
AbstractCheckedUriFilter
public AbstractCheckedUriFilter()
-
-
Method Details
-
isUrlPathsContainsUri
Checks ifurimatches any of defined url paths. First match wins.- Parameters:
uri- the uri string to check- Returns:
- true, if matches
-
getUrlPaths
-
setUrlPaths
-