Annotation Type DeprecatedSince


  • @Documented
    @Retention(RUNTIME)
    @Target({METHOD,TYPE})
    public @interface DeprecatedSince
    Denotes the version the annotated resource was deprecated in. Can be applied to Servlet sub-types and servlet doXXXX methods. To denote when a particular PathTemplate was deprecated use the PathTemplate.deprecatedSince() property
    Author:
    cdivilly
    See Also:
    IntroducedSince
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String value
      Version number that the annotated resource was deprecated in.
    • Element Detail

      • value

        java.lang.String value
        Version number that the annotated resource was deprecated in. This value should be a constant rather than a literal value.
        Returns:
        Version number string
        Default:
        ""