Package nl.vpro.web.filter
Class RootOnlyStrategy
- java.lang.Object
-
- nl.vpro.web.filter.RootOnlyStrategy
-
- All Implemented Interfaces:
ExclusionStrategy
public class RootOnlyStrategy extends Object implements ExclusionStrategy
This exclusion strategy is a workaround for an issue with a filter being mapped to "/" did not work. This strategy does the URL filtering now to accomplish the desired result.- Author:
- nils
-
-
Constructor Summary
Constructors Constructor Description RootOnlyStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
exclude(javax.servlet.http.HttpServletRequest request)
void
setServletContext(javax.servlet.ServletContext servletContext)
-
-
-
Method Detail
-
exclude
public boolean exclude(javax.servlet.http.HttpServletRequest request)
- Specified by:
exclude
in interfaceExclusionStrategy
-
setServletContext
public void setServletContext(javax.servlet.ServletContext servletContext)
- Specified by:
setServletContext
in interfaceExclusionStrategy
-
-