Class PathFiller

  • All Implemented Interfaces:
    Filler

    public class PathFiller
    extends Object
    implements Filler
    「Co」JSR311 for .@PathParam This `Filler` is for path parsing `/api/xxx/name/{name}` format to extract to ```shell //
    
        name = value
     // 
    ```
    Author:
    Lang
    • Constructor Detail

      • PathFiller

        public PathFiller()
    • 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