Annotation Type RouteParam
-
@Target(PARAMETER) @Retention(RUNTIME) public @interface RouteParam
MarkerAnnotation
for denoting a Jackson "injectable value" which should be obtained from a Finagle HTTP Request URI path variable. This specifically allows access to the Finatra "named parameter" of the path of an HTTP route callback defined in a Controller.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String
value
An optional field name to use for reading the route parameter from the Finagle HTTP Request.
-
-
-
Element Detail
-
value
java.lang.String value
An optional field name to use for reading the route parameter from the Finagle HTTP Request. When empty, the annotated case class field name will be used to read the route parameter from the Finagle HTTP Request parameters.- Returns:
- the name of the route parameter field.
- Default:
- ""
-
-