Annotation Type HttpFormParam
Use this annotation to bind specific java parameters to HTTP form parameters coming from the request. These will only be processed if the method has an ApiAction annotation.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanWhether the parameter should be considered optional.
-
Element Details
-
value
String valueThe name of the HTTP parameter to bind to.- Returns:
- The parameter name
-
optional
boolean optionalWhether the parameter should be considered optional. If it is, and no value for it is passed in the request the method will receive null as the value.- Returns:
- The optional property
- Default:
false
-