|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.filters.HeaderFilter
public class HeaderFilter
Adds custom headers to a response
| Nested Class Summary | |
|---|---|
static class |
HeaderFilter.Header
|
| Constructor Summary | |
|---|---|
HeaderFilter()
|
|
| Method Summary | |
|---|---|
void |
addHeader(HeaderFilter.Header header)
|
void |
destroy()
Any cleanup for the filter. |
void |
doFilter(ServletRequest request,
ServletResponse response,
FilterChain nextFilter)
Creates a wrapper to compress the output. |
void |
init(FilterConfig config)
Initialize the filter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HeaderFilter()
| Method Detail |
|---|
public void addHeader(HeaderFilter.Header header)
public void init(FilterConfig config)
throws ServletException
Filter
init in interface FilterServletException
public void doFilter(ServletRequest request,
ServletResponse response,
FilterChain nextFilter)
throws ServletException,
java.io.IOException
doFilter in interface Filterrequest - the servlet requestresponse - the servlet responsenextFilter - the next filter in the chain
ServletException
java.io.IOExceptionpublic void destroy()
destroy in interface Filter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||