Annotation Type HeaderParam


  • @Target(PARAMETER)
    @Retention(RUNTIME)
    public @interface HeaderParam
    Marker annotation to identify the name of a parameter of a method.
    The value of this parameter is getting from current http request header.
    Since:
    6.0.0
    Author:
    dennis
    See Also:
    Init, Command
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String value
      name of the parameter.
    • Element Detail

      • value

        java.lang.String value
        name of the parameter. Since 9.5.0, it can be omitted if name is the same as the annotated parameter.
        Returns:
        name of the parameter
        Default:
        ""