Annotation Interface AdditionalHeader


@Retention(RUNTIME) @Repeatable(AdditionalHeaders.class) @Target({TYPE,METHOD}) public @interface AdditionalHeader
Annotation for an additional HTTP header.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The name of the HTTP header to set.
    The values of the HTTP header to set.
  • Element Details

    • name

      String name
      The name of the HTTP header to set.
    • value

      String[] value
      The values of the HTTP header to set.