1 17 package servletunit; 18 19 import javax.servlet.FilterConfig ; 20 import javax.servlet.ServletContext ; 21 import java.util.Enumeration ; 22 23 39 public class FilterConfigSimulator implements FilterConfig { 40 41 private ServletContext context = null; 42 43 44 49 public FilterConfigSimulator(ServletContext context) { 50 this.context = context; 51 } 52 53 54 61 public String getFilterName() { 62 63 throw new java.lang.UnsupportedOperationException ("Method getFilterName() not yet implemented."); 64 } 65 66 67 75 public String getInitParameter(String parm1) { 76 77 throw new java.lang.UnsupportedOperationException ("Method getInitParameter() not yet implemented."); 78 } 79 80 81 89 public Enumeration getInitParameterNames() { 90 91 throw new java.lang.UnsupportedOperationException ("Method getInitParameterNames() not yet implemented."); 92 } 93 94 95 100 public ServletContext getServletContext() { 101 return context; 102 } 103 } 104 | Popular Tags |