Annotation Type Header


  • @Target(PARAMETER)
    @Retention(RUNTIME)
    public @interface Header
    Maps an HTTP header in annotation-based Web Scripts to a handler method argument.

    This annotation currently only works with String arguments.

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value
      The header name.
    • Element Detail

      • value

        java.lang.String value
        The header name.