Class FilterSet
- java.lang.Object
-
- org.nuxeo.ecm.webengine.jaxrs.servlet.FilterSet
-
public class FilterSet extends Object
A filter set is a collections of filters that should be run for a given request in a servlet context.The filter set is selected when it match the current pathInfo of the request. Only one filter set can match a given path - the first one which is matching will be used, all the other filter sets defined by a servlet will be ignored.
- Author:
- Bogdan Stefanescu
-
-
Field Summary
Fields Modifier and Type Field Description protected FilterSetDescriptor
descriptor
-
Constructor Summary
Constructors Constructor Description FilterSet(FilterSetDescriptor descriptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
destroy()
javax.servlet.Filter[]
getFilters()
void
init(javax.servlet.ServletConfig config)
boolean
matches(String pathInfo)
boolean
matches(Path pathInfo)
-
-
-
Field Detail
-
descriptor
protected FilterSetDescriptor descriptor
-
-
Constructor Detail
-
FilterSet
public FilterSet(FilterSetDescriptor descriptor)
-
-
Method Detail
-
getFilters
public javax.servlet.Filter[] getFilters()
-
init
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
-
destroy
public void destroy()
-
-