1 25 26 package net.killingar.servlet.filter; 27 28 29 import javax.servlet.*; 30 31 32 public class GenericFilter implements Filter 33 { 34 private FilterConfig filterConfig; 35 36 37 public void doFilter(final ServletRequest request, final ServletResponse response, FilterChain chain) throws java.io.IOException , javax.servlet.ServletException 38 { 39 chain.doFilter(request, response); 40 } 41 42 43 public void setFilterConfig(final FilterConfig filterConfig) 44 { 45 this.filterConfig = filterConfig; 46 } 47 48 49 public FilterConfig getFilterConfig() 50 { 51 return filterConfig; 52 } 53 54 55 public void init(FilterConfig filterConfig) 56 { 57 } 58 59 60 public void destroy() 61 { 62 } 63 } 64 65 66 | Popular Tags |