javax.servlet.annotation
Annotation Type WebServlet


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

Servlet

Since:
Servlet 3.0

Optional Element Summary
 boolean asyncSupported
           
 java.lang.String description
           
 java.lang.String displayName
           
 WebInitParam[] initParams
           
 java.lang.String largeIcon
           
 int loadOnStartup
           
 java.lang.String name
           
 java.lang.String smallIcon
           
 java.lang.String[] urlPatterns
           
 java.lang.String[] value
           
 

asyncSupported

public abstract boolean asyncSupported
Default:
false

displayName

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

description

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

smallIcon

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

largeIcon

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

initParams

public abstract WebInitParam[] initParams
Default:
{}

loadOnStartup

public abstract int loadOnStartup
Default:
-1

name

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

urlPatterns

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

value

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