JavaVertXWebServer.formParams.mustache Maven / Gradle / Ivy
{{#isFormParam}}
{{^isFile}}
RequestParameter body = requestParameters.body();
JsonObject {{paramName}} = body != null ? body.getJsonObject() : null;
{{/isFile}}
{{#isFile}}
{{{dataType}}} {{paramName}} = routingContext.fileUploads().iterator().next();
{{/isFile}}
{{/isFormParam}}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy