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

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String value
      Version number indicating the version that the annotated resource was removed from.
    • Element Detail

      • value

        java.lang.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:
        ""