javax.servlet
Interface FilterRegistration

All Superinterfaces:
Registration
All Known Subinterfaces:
FilterRegistration.Dynamic

public interface FilterRegistration
extends Registration

Since:
Servlet 3.0 TODO SERVLET3 - Add comments

Nested Class Summary
static interface FilterRegistration.Dynamic
           
 
Method Summary
 void addMappingForServletNames(EnumSet<DispatcherType> dispatcherTypes, boolean isMatchAfter, String... servletNames)
           
 void addMappingForUrlPatterns(EnumSet<DispatcherType> dispatcherTypes, boolean isMatchAfter, String... urlPatterns)
           
 Collection<String> getServletNameMappings()
           
 Collection<String> getUrlPatternMappings()
           
 
Methods inherited from interface javax.servlet.Registration
getClassName, getInitParameter, getInitParameters, getName, setInitParameter, setInitParameters
 

Method Detail

addMappingForServletNames

void addMappingForServletNames(EnumSet<DispatcherType> dispatcherTypes,
                               boolean isMatchAfter,
                               String... servletNames)
Parameters:
dispatcherTypes -
isMatchAfter -
servletNames -
Throws:
IllegalArgumentException
IllegalStateException

getServletNameMappings

Collection<String> getServletNameMappings()
Returns:

addMappingForUrlPatterns

void addMappingForUrlPatterns(EnumSet<DispatcherType> dispatcherTypes,
                              boolean isMatchAfter,
                              String... urlPatterns)
Parameters:
dispatcherTypes -
isMatchAfter -
urlPatterns -
Throws:
IllegalArgumentException
IllegalStateException

getUrlPatternMappings

Collection<String> getUrlPatternMappings()
Returns:

(Built by coreservlets)

As of July 2010, there were no online versions of the servlet 3.0, JSP 2.2, and EL 2.2 Javadocs, except as part of the huge Java EE 6 API. So, I built them myself from the Tomcat 7 source code.

Java EE TutorialsJava EE Training