/** * Construct a new ApplicationFilterConfig for the specified filter * definition. * * @param context The context with which we are associated * @param filterDef Filter definition for which a FilterConfig is to be * constructed * * @exception ClassCastException if the specified class does not implement * the <code>javax.servlet.Filter</code> interface * @exception ClassNotFoundException if the filter class cannot be found * @exception IllegalAccessException if the filter class cannot be * publicly instantiated * @exception InstantiationException if an exception occurs while * instantiating the filter object * @exception ServletException if thrown by the filter's init() method */ public ApplicationFilterConfig(Context context, FilterDef filterDef) throws ClassCastException, ClassNotFoundException, IllegalAccessException, InstantiationException, ServletException { super(); this.context = context; setFilterDef(filterDef); }
super(); this.context = context; setFilterDef(filterDef);
setFilterDef(filterDef); if (filterDef.getFilter() != null) { this.filter = filterDef.getFilter();
setFilterDef(filterDef); if (filterDef.getFilter() != null) { this.filter = filterDef.getFilter();
setFilterDef(filterDef); if (filterDef.getFilter() != null) { this.filter = filterDef.getFilter();
setFilterDef(filterDef); if (filterDef.getFilter() != null) { this.filter = filterDef.getFilter();