Annotation Interface RemovedSince


@Documented @Retention(RUNTIME) @Target({METHOD,TYPE}) public @interface RemovedSince
Denotes the version the annotated resource was removed from. Can be applied to Servlet sub-types and servlet doXXXX methods.

To denote when a particular PathTemplate was removed use the PathTemplate.removedSince() property

Note: Removing resources is never recommended and must only be done as a last restort, as it causes a breaking backwards incompatibility.

Author:
cdivilly
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Version number indicating the version that the annotated resource was removed from.
  • Element Details

    • value

      String value
      Version number indicating the version that the annotated resource was removed from. This value should be a constant rather than a literal value.
      Returns:
      Version number string
      Default:
      ""