Class QueryFiller

  • All Implemented Interfaces:
    Filler

    public class QueryFiller
    extends Object
    implements Filler
    「Co」JSR311 for .@QueryParam This `Filler` is for query string `/api/xxx?name={name}` format to extract to ```shell //
    
        name = value
     // 
    ```
    Author:
    Lang
    • Constructor Detail

      • QueryFiller

        public QueryFiller()
    • Method Detail

      • apply

        public Object apply​(String name,
                            Class<?> paramType,
                            io.vertx.ext.web.RoutingContext context)
        Description copied from interface: Filler
        The major code logic to get the value of input field name here.
        Specified by:
        apply in interface Filler
        Parameters:
        name - The parameter name
        paramType - The parameter declared type
        context - The `RoutingContext` of Vert.x ( vertx-web )
        Returns:
        The extracted value of parameter