@Target(value=TYPE) @Retention(value=RUNTIME) @Documented public @interface WebFilter
This annotation is processed by the container at deployment time, and the corresponding filter applied to the specified URL patterns, servlets, and dispatcher types.
Filter| Modifier and Type | Optional Element and Description | 
|---|---|
| boolean | asyncSupportedDeclares whether the filter supports asynchronous operation mode. | 
| String | descriptionThe description of the filter | 
| DispatcherType[] | dispatcherTypesThe dispatcher types to which the filter applies | 
| String | displayNameThe display name of the filter | 
| String | filterNameThe name of the filter | 
| WebInitParam[] | initParamsThe init parameters of the filter | 
| String | largeIconThe large-icon of the filter | 
| String[] | servletNamesThe names of the servlets to which the filter applies. | 
| String | smallIconThe small-icon of the filter | 
| String[] | urlPatternsThe URL patterns to which the filter applies | 
| String[] | valueThe URL patterns to which the filter applies The default value is an empty array. | 
public abstract String description
public abstract String displayName
public abstract WebInitParam[] initParams
public abstract String filterName
public abstract String smallIcon
public abstract String largeIcon
public abstract String[] servletNames
public abstract String[] value
public abstract String[] urlPatterns
public abstract DispatcherType[] dispatcherTypes
public abstract boolean asyncSupported
true if the filter supports asynchronous operation modeServletRequest.startAsync(), 
ServletRequest.startAsync( javax.servlet.ServletRequest,javax.servlet.ServletResponse)Comments to: [email protected].
 Copyright © 2019 Eclipse Foundation. All rights reserved.
 Use is subject to license terms.