@Target(TYPE)
@Retention(RUNTIME)
@Documented
public @interface WebServlet
The WebServlet API.
- Author:
- Manfred Riem ([email protected])
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description boolean
asyncSupported
Get asyns supported flag.java.lang.String
description
Get the description.java.lang.String
displayName
Get the display name.WebInitParam[]
initParams
Get the init parameters.java.lang.String
largeIcon
Get the large icon.int
loadOnStartup
Get the load on startup order.java.lang.String
name
Get the name.java.lang.String
smallIcon
Get the small icon.java.lang.String[]
urlPatterns
Get the URL patterns.java.lang.String[]
value
Get the URL patterns.
-
Element Details
-
asyncSupported
boolean asyncSupportedGet asyns supported flag.- Returns:
- the async supported flag.
- Default:
- false
-
description
java.lang.String descriptionGet the description.- Returns:
- the description.
- Default:
- ""
-
displayName
java.lang.String displayNameGet the display name.- Returns:
- the display name.
- Default:
- ""
-
initParams
WebInitParam[] initParamsGet the init parameters.- Returns:
- the init parameters.
- Default:
- {}
-
largeIcon
java.lang.String largeIconGet the large icon.- Returns:
- the large icon.
- Default:
- ""
-
loadOnStartup
int loadOnStartupGet the load on startup order.- Returns:
- the load on startup order.
- Default:
- -1
-
name
java.lang.String nameGet the name.- Returns:
- the name.
- Default:
- ""
-
smallIcon
java.lang.String smallIconGet the small icon.- Returns:
- the small icon.
- Default:
- ""
-
urlPatterns
java.lang.String[] urlPatternsGet the URL patterns.- Returns:
- the URL patterns.
- Default:
- {}
-
value
java.lang.String[] valueGet the URL patterns.- Returns:
- the URL patterns.
- Default:
- {}
-