Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webengine.jaxrs.servlet
Class FilterSet

java.lang.Object
  extended by 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

Constructor Summary
FilterSet(FilterSetDescriptor descriptor)
           
 
Method Summary
 void destroy()
           
 Filter[] getFilters()
           
 void init(ServletConfig config)
           
 boolean matches(Path pathInfo)
           
 boolean matches(String pathInfo)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterSet

public FilterSet(FilterSetDescriptor descriptor)
Method Detail

matches

public boolean matches(String pathInfo)

matches

public boolean matches(Path pathInfo)

getFilters

public Filter[] getFilters()

init

public void init(ServletConfig config)
          throws ServletException
Throws:
ServletException

destroy

public void destroy()

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.