public class FilterManager
extends java.lang.Object
Constructor and Description |
---|
FilterManager() |
Modifier and Type | Method and Description |
---|---|
void |
addFilter(FilterConfigImpl config)
Adds a filter to the filter manager.
|
void |
addFilterMapping(FilterMapping filterMapping) |
Filter |
createFilter(java.lang.String filterName)
Instantiates a filter given its configuration.
|
void |
destroy() |
FilterConfigImpl |
getFilter(java.lang.String filterName)
Adds a filter to the filter manager.
|
java.util.HashMap<java.lang.String,FilterConfigImpl> |
getFilters() |
java.util.Set<java.lang.String> |
getServletNameMappings(java.lang.String filterName) |
java.util.Set<java.lang.String> |
getUrlPatternMappings(java.lang.String filterName) |
void |
init()
Initialize filters that need starting at server start.
|
public void addFilter(FilterConfigImpl config)
public FilterConfigImpl getFilter(java.lang.String filterName)
public java.util.HashMap<java.lang.String,FilterConfigImpl> getFilters()
@PostConstruct public void init()
public void addFilterMapping(FilterMapping filterMapping)
public java.util.Set<java.lang.String> getUrlPatternMappings(java.lang.String filterName)
public java.util.Set<java.lang.String> getServletNameMappings(java.lang.String filterName)
public Filter createFilter(java.lang.String filterName) throws ServletException
filterName
- the filterServletException
public void destroy()