Annotation Interface GET


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

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

    • value

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

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

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