Package io.fluxcapacitor.javaclient.web
Annotation Interface FormParam
Injects an individual form field or a complete form object into a handler method parameter.
The request must use application/x-www-form-urlencoded
or multipart/form-data
.
Examples:
@HandlePost("/newsletter")
void subscribe(@FormParam String email) { ... }
@HandlePost("/user")
UserId createUser(@FormParam UserForm form) { ... }
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String valueForm parameter name. If left empty, it defaults to the method parameter's name;- Default:
""
-