Annotation Type FormParam
-
@Target(PARAMETER) @Retention(RUNTIME) public @interface FormParam
MarkerAnnotation
for denoting a Jackson "injectable value" which should be obtained from a Finagle HTTP Request form parameter.- See Also:
InjectableValue
, Finatra User's Guide - JSON Injectable Values, Finatra User's Guide - HTTP Request Field Annotations
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String
value
An optional field name to use for reading the form parameter from the Finagle HTTP Request.
-
-
-
Element Detail
-
value
java.lang.String value
An optional field name to use for reading the form parameter from the Finagle HTTP Request. When empty, the annotated case class field name will be used to read the form parameter from the Finagle HTTP Request parameters.- Returns:
- the name of the form parameter field.
- Default:
- ""
-
-