Annotation Interface Http.HttpMethod

Enclosing class:
Http

@Retention(CLASS) @Documented @Target({METHOD,ANNOTATION_TYPE}) public static @interface Http.HttpMethod
HTTP method. Can be used as a meta annotation. The method value is case-sensitive and is preserved exactly.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Exact text of the HTTP method, such as GET.
  • Element Details

    • value

      String value
      Exact text of the HTTP method, such as GET.
      Returns:
      method