Annotation Type Header


@Retention(RUNTIME) @Target(FIELD) public @interface Header

HTTP header annotation interface

Author:
atolomei@novamens.com (Alejandro Tolomei)
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    HTTP header name
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Setter method name.
  • Element Details

    • value

      String value

      HTTP header name

    • setter

      String setter

      Setter method name. 'setFieldName' is used if empty

      Default:
      ""