@Target(value=TYPE) @Retention(value=RUNTIME) @Documented public @interface WebServlet
This annotation is processed by the container at deployment time, and the corresponding servlet made available at the specified URL patterns.
Servlet| Modifier and Type | Optional Element and Description | 
|---|---|
| boolean | asyncSupportedDeclares whether the servlet supports asynchronous operation mode. | 
| String | descriptionThe description of the servlet | 
| String | displayNameThe display name of the servlet | 
| WebInitParam[] | initParamsThe init parameters of the servlet | 
| String | largeIconThe large-icon of the servlet | 
| int | loadOnStartupThe load-on-startup order of the servlet | 
| String | nameThe name of the servlet | 
| String | smallIconThe small-icon of the servlet | 
| String[] | urlPatternsThe URL patterns of the servlet | 
| String[] | valueThe URL patterns of the servlet | 
public abstract String name
public abstract String[] value
public abstract String[] urlPatterns
public abstract int loadOnStartup
public abstract WebInitParam[] initParams
public abstract boolean asyncSupported
true if the servlet supports asynchronous operation modeServletRequest.startAsync(), 
ServletRequest.startAsync( jakarta.servlet.ServletRequest,jakarta.servlet.ServletResponse)public abstract String smallIcon
public abstract String largeIcon
public abstract String description
public abstract String displayName
Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.