List of usage examples for javax.servlet FilterConfig FilterConfig
FilterConfig
From source file:wicket.protocol.http.WicketServlet.java
/** * Servlet initialization// w w w .j a va 2 s . co m */ @Override public void init() throws ServletException { wicketFilter = new WicketFilter(); wicketFilter.init(new FilterConfig() { public ServletContext getServletContext() { return WicketServlet.this.getServletContext(); } public Enumeration getInitParameterNames() { return WicketServlet.this.getInitParameterNames(); } public String getInitParameter(String name) { if (WicketFilter.FILTER_PATH_PARAM.equals(name)) { return WicketFilter.SERVLET_PATH_HOLDER; } return WicketServlet.this.getInitParameter(name); } public String getFilterName() { return WicketServlet.this.getServletName(); } }); }