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

Nested Classes
`static interface` `FilterRegistration.Dynamic`

### Method Summary

Methods
`void` `addMappingForServletNames(java.util.EnumSet<DispatcherType> dispatcherTypes, boolean isMatchAfter, java.lang.String... servletNames)`
`void` `addMappingForUrlPatterns(java.util.EnumSet<DispatcherType> dispatcherTypes, boolean isMatchAfter, java.lang.String... urlPatterns)`
`java.util.Collection<java.lang.String>` `getServletNameMappings()`
`java.util.Collection<java.lang.String>` `getUrlPatternMappings()`

### Methods inherited from interface javax.servlet.Registration

`getClassName, getInitParameter, getInitParameters, getName, setInitParameter, setInitParameters`

### Method Detail

#### addMappingForServletNames

    void addMappingForServletNames(java.util.EnumSet<DispatcherType> dispatcherTypes,
                                 boolean isMatchAfter,
                                 java.lang.String... servletNames)

Parameters:
  `dispatcherTypes` -
  `isMatchAfter` -
  `servletNames` -
Throws:
  `java.lang.IllegalArgumentException`
  `java.lang.IllegalStateException`

#### getServletNameMappings

    java.util.Collection<java.lang.String> getServletNameMappings()

Returns:
  TODO

#### addMappingForUrlPatterns

    void addMappingForUrlPatterns(java.util.EnumSet<DispatcherType> dispatcherTypes,
                                boolean isMatchAfter,
                                java.lang.String... urlPatterns)

Parameters:
  `dispatcherTypes` -
  `isMatchAfter` -
  `urlPatterns` -
Throws:
  `java.lang.IllegalArgumentException`
  `java.lang.IllegalStateException`

#### getUrlPatternMappings

    java.util.Collection<java.lang.String> getUrlPatternMappings()

Returns:
  TODO