Annotation Interface 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:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Version number that the annotated resource was deprecated in.
  • Element Details

    • value

      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:
      ""