Annotation Interface PUT


@Target(METHOD) @Retention(RUNTIME) @Repeatable(PUTs.class) public @interface PUT
Apply to Resource Methods to support the HTTP PUT method.
Author:
Mark Allen
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The PUT URL that should be handled by this Resource Method.
  • Element Details

    • value

      The PUT URL that should be handled by this Resource Method.

      The URL must start with a / character, e.g. /widgets/{widgetId}.

      Returns:
      the PUT URL that should be handled by this Resource Method