javax.servlet.annotation
Annotation Type WebFilter


@Target(value=TYPE)
@Retention(value=RUNTIME)
@Documented
public @interface WebFilter

Filter

Since:
Servlet 3.0

Optional Element Summary
 boolean asyncSupported
           
 java.lang.String description
           
 DispatcherType[] dispatcherTypes
           
 java.lang.String displayName
           
 java.lang.String filterName
           
 WebInitParam[] initParams
           
 java.lang.String largeIcon
           
 java.lang.String[] servletNames
           
 java.lang.String smallIcon
           
 java.lang.String[] urlPatterns
           
 java.lang.String[] value
           
 

asyncSupported

public abstract boolean asyncSupported
Default:
false

description

public abstract java.lang.String description
Default:
""

dispatcherTypes

public abstract DispatcherType[] dispatcherTypes
Default:
javax.servlet.DispatcherType.REQUEST

displayName

public abstract java.lang.String displayName
Default:
""

filterName

public abstract java.lang.String filterName
Default:
""

smallIcon

public abstract java.lang.String smallIcon
Default:
""

largeIcon

public abstract java.lang.String largeIcon
Default:
""

initParams

public abstract WebInitParam[] initParams
Default:
{}

servletNames

public abstract java.lang.String[] servletNames
Default:
{}

urlPatterns

public abstract java.lang.String[] urlPatterns
Default:
{}

value

public abstract java.lang.String[] value
Default:
{}