public class ModuleFilterChain extends Object implements javax.servlet.FilterChain
Modifier and Type | Method and Description |
---|---|
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
This Iterates across all of the Filters defined by modules before handing control back over
to the initial filter chain to continue on.
|
static ModuleFilterChain |
getInstance(Collection<javax.servlet.Filter> filters,
javax.servlet.FilterChain initialFilterChain)
Factory method to construct and return a ModuleFilterChain
|
public static ModuleFilterChain getInstance(Collection<javax.servlet.Filter> filters, javax.servlet.FilterChain initialFilterChain)
filters:
- The Collection of Filter
s that this FilterChain will iterate over
before returning control back the the initialFilterChain
initialFilterChain:
- The FilterChain
to return control to once all of the
Filter
s have been executedpublic void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response) throws javax.servlet.ServletException, IOException
doFilter
in interface javax.servlet.FilterChain
javax.servlet.ServletException
IOException
FilterChain.doFilter(javax.servlet.ServletRequest,
javax.servlet.ServletResponse)
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.