Package org.kohsuke.stapler
Annotation Interface QueryParameter
@Retention(RUNTIME)
@Target(PARAMETER)
@Documented
@InjectedParameter(HandlerImpl.class)
public @interface QueryParameter
Indicates that this parameter is injected from HTTP query parameter.
- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
-
Optional Element Summary
-
Element Details
-
value
String valuequery parameter name. By default, name of the parameter.- Default:
- ""
-
required
boolean requiredIf true, request without this header will be rejected.- Default:
- false
-
fixEmpty
boolean fixEmptyIf 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
-