Annotation Type WebInitParam



  • @Target(TYPE)
    @Retention(RUNTIME)
    @Documented
    public @interface WebInitParam
    This annotation is used on a Servlet or Filter implementation class to specify an initialization parameter.
    Since:
    Servlet 3.0
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String name
      Name of the initialization parameter
      java.lang.String value
      Value of the initialization parameter
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String description
      Description of the initialization parameter
    • Element Detail

      • name

        java.lang.String name
        Name of the initialization parameter
        Returns:
        name of the initialization parameter
      • value

        java.lang.String value
        Value of the initialization parameter
        Returns:
        value of the initialization parameter
      • description

        java.lang.String description
        Description of the initialization parameter
        Returns:
        description of the initialization parameter
        Default:
        ""