public class CookieBufferingFilter extends Object implements Filter
Filter which wraps the HttpServletResponse via
CookieBufferingFilter.CookieBufferingHttpServletResponseProxy to ensure that only a single cookie of a given name is set.| Modifier and Type | Class and Description |
|---|---|
private class |
CookieBufferingFilter.CookieBufferingHttpServletResponseProxy
An implementation of
HttpServletResponse which buffers added cookies to
ensure only a single cookie of a given name is eventually set. |
| Constructor and Description |
|---|
CookieBufferingFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
void |
doFilter(ServletRequest request,
ServletResponse response,
FilterChain chain) |
void |
init(FilterConfig filterConfig) |
public void init(FilterConfig filterConfig) throws ServletException
init in interface FilterServletExceptionpublic void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException
doFilter in interface FilterIOExceptionServletExceptionCopyright © 1999–2014. All rights reserved.