All Downloads are FREE. Search and download functionalities are using the official Maven repository.

JavaVertXWebServer.pathParams.mustache Maven / Gradle / Ivy

The newest version!
{{#isPathParam}}
{{^isListContainer}}
{{#isModel}}
            {{{dataType}}} {{paramName}} = ParameterCast.toObject(routingContext.pathParams().get("{{baseName}}"), {{dataType}}.class);
{{/isModel}}
{{^isModel}}
            {{{dataType}}} {{paramName}} = ParameterCast.to{{dataType}}(routingContext.pathParams().get("{{baseName}}"));
{{/isModel}}
{{/isListContainer}}
{{#isListContainer}}
            {{{dataType}}} {{paramName}} = routingContext.request().params().getAll("{{baseName}}");
{{/isListContainer}}
{{/isPathParam}}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy