Annotation Interface QueryParameter


Indicates that this parameter is injected from HTTP query parameter.
Author:
Kohsuke Kawaguchi
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    If true, and the actual value of this parameter is "", null is passed instead.
    boolean
    If true, request without this header will be rejected.
    query parameter name.
  • Element Details

    • value

      String value
      query parameter name. By default, name of the parameter.
      Default:
      ""
    • required

      boolean required
      If true, request without this header will be rejected.
      Default:
      false
    • fixEmpty

      boolean fixEmpty
      If true, and the actual value of this parameter is "", null is passed instead. This is useful to unify the treatment of the absence of the value vs the empty value.
      Default:
      false