Class HeaderFiller

  • All Implemented Interfaces:
    Filler

    public class HeaderFiller
    extends Object
    implements Filler
    「Co」JSR311 for .@HeaderParam This `Filler` is for header map `key=value` extract such as ```shell //
    
        Content-Type = application/json
        Authorization = Basic xxxxx
     // 
    ```
    Author:
    Lang
    • Constructor Detail

      • HeaderFiller

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