This annotation is processed by the container at deployment time, and the corresponding filter applied to the specified URL patterns, servlets, and dispatcher types.
javax.servlet.Filter
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the filter supports asynchronous operation modeDeclares whether the filter supports asynchronous operation mode. |
| public String | |
| public DispatcherType[] | Returns: the dispatcher types to which the filter appliesThe dispatcher types to which the filter applies |
| public String | |
| public String | |
| public WebInitParam[] | |
| public String | |
| public String[] | Returns: the names of the servlets to which the filter appliesThe names of the servlets to which the filter applies. |
| public String | |
| public String[] | Returns: the URL patterns to which the filter appliesThe URL patterns to which the filter applies |
| public String[] | Returns: the URL patterns to which the filter appliesThe URL patterns to which the filter applies The default value is an empty array. |
| asyncSupported | back to summary |
|---|---|
| public boolean asyncSupported() Declares whether the filter supports asynchronous operation mode.
| |
| description | back to summary |
|---|---|
| public String description() The description of the filter
| |
| dispatcherTypes | back to summary |
|---|---|
| public DispatcherType[] dispatcherTypes() The dispatcher types to which the filter applies
| |
| displayName | back to summary |
|---|---|
| public String displayName() The display name of the filter
| |
| filterName | back to summary |
|---|---|
| public String filterName() The name of the filter
| |
| initParams | back to summary |
|---|---|
| public WebInitParam[] initParams() The init parameters of the filter
| |
| largeIcon | back to summary |
|---|---|
| public String largeIcon() The large-icon of the filter
| |
| servletNames | back to summary |
|---|---|
| public String[] servletNames() The names of the servlets to which the filter applies.
| |
| smallIcon | back to summary |
|---|---|
| public String smallIcon() The small-icon of the filter
| |
| urlPatterns | back to summary |
|---|---|
| public String[] urlPatterns() The URL patterns to which the filter applies
| |
| value | back to summary |
|---|---|
| public String[] value() The URL patterns to which the filter applies The default value is an empty array.
| |