Save This Page
Home » JBoss-5.1.0 » org » jboss » web » tomcat » filters » [javadoc | source]
org.jboss.web.tomcat.filters
public class: ReplyHeaderFilter [javadoc | source]
java.lang.Object
   org.jboss.web.tomcat.filters.ReplyHeaderFilter

All Implemented Interfaces:
    Filter

A servlet filter that simply adds all header specified in its config to replies the filter is mapped to. An example would be to set the cache control max age: CacheControlFilter filter.ReplyHeaderFilter Cache-Control max-age=3600 CacheControlFilter /images/* CacheControlFilter *.js
Field Summary
static  Logger log     
Method from org.jboss.web.tomcat.filters.ReplyHeaderFilter Summary:
destroy,   doFilter,   init
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.web.tomcat.filters.ReplyHeaderFilter Detail:
 public  void destroy() 
 public  void doFilter(ServletRequest request,
    ServletResponse response,
    FilterChain chain) throws IOException, ServletException 
 public  void init(FilterConfig config)