public class AddHeaderFilterChain extends java.lang.Object implements FilterChain
Constructor and Description |
---|
AddHeaderFilterChain(FilterChain next,
java.lang.String name,
java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
void |
doFilter(ServletRequest request,
ServletResponse response)
Invokes the next filter in the chain or the final servlet at
the end of the chain.
|
public AddHeaderFilterChain(FilterChain next, java.lang.String name, java.lang.String value)
public void doFilter(ServletRequest request, ServletResponse response) throws ServletException, java.io.IOException
FilterChain
doFilter
in interface FilterChain
request
- the servlet requestresponse
- the servlet responseServletException
java.io.IOException