Annotation Type WebFilter
Annotation used to declare a servlet filter.
This annotation is processed by the container at deployment time, and the corresponding filter applied to the specified URL patterns, servlets, and dispatcher types.
- Since:
- Servlet 3.0
- See Also:
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanDeclares whether the filter supports asynchronous operation mode.The description of the filterThe dispatcher types to which the filter appliesThe display name of the filterThe name of the filterThe init parameters of the filterThe large-icon of the filterString[]The names of the servlets to which the filter applies.The small-icon of the filterString[]The URL patterns to which the filter appliesString[]The URL patterns to which the filter applies
-
Element Details
-
description
-
displayName
-
initParams
-
filterName
-
smallIcon
-
largeIcon
-
servletNames
-
value
-
urlPatterns
-
dispatcherTypes
DispatcherType[] dispatcherTypesThe dispatcher types to which the filter applies- Default:
{REQUEST}
-
asyncSupported
boolean asyncSupportedDeclares whether the filter supports asynchronous operation mode.- See Also:
- Default:
false
-