Annotation Type WebServlet


@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 asyncSupported
      Get asyns supported flag.
      Returns:
      the async supported flag.
      Default:
      false
    • description

      java.lang.String description
      Get the description.
      Returns:
      the description.
      Default:
      ""
    • displayName

      java.lang.String displayName
      Get the display name.
      Returns:
      the display name.
      Default:
      ""
    • initParams

      WebInitParam[] initParams
      Get the init parameters.
      Returns:
      the init parameters.
      Default:
      {}
    • largeIcon

      java.lang.String largeIcon
      Get the large icon.
      Returns:
      the large icon.
      Default:
      ""
    • loadOnStartup

      int loadOnStartup
      Get the load on startup order.
      Returns:
      the load on startup order.
      Default:
      -1
    • name

      java.lang.String name
      Get the name.
      Returns:
      the name.
      Default:
      ""
    • smallIcon

      java.lang.String smallIcon
      Get the small icon.
      Returns:
      the small icon.
      Default:
      ""
    • urlPatterns

      java.lang.String[] urlPatterns
      Get the URL patterns.
      Returns:
      the URL patterns.
      Default:
      {}
    • value

      java.lang.String[] value
      Get the URL patterns.
      Returns:
      the URL patterns.
      Default:
      {}