The Filter wizard enables you to create Java™ filter classes for various J2EE filter types, such as authentication filters, encryption filters, and data compression filters.
To create a filter class, do the following:
You can also add additional interfaces to implement. Click Add to open the Interface Selection dialog. In this dialog, as you type the name of the interface that you are interested in adding in the Choose interfaces field, the list of available interfaces listed in the Matching types list box updates dynamically to display only the interfaces that match the pattern. Select an interface to see the Qualifier and click Add. Click OK when you are finished. The qualifier that you chose appears in the Interfaces dialog.
The Inherited abstract methods option adds stubs for inherited abstract methods, and that must be implemented (unless you intend to create an abstract class). Because the init(), destroy(), and doFilter() methods are all defined in the javax.servlet.Filter interface, stubs for these methods are automatically generated for each new filter class.
Related concepts
The Web deployment descriptor editor
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.