JavaVertXWebServer.bodyParams.mustache Maven / Gradle / Ivy
{{#isBodyParam}}
RequestParameter body = requestParameters.body();
{{{dataType}}} {{paramName}} = body != null ? DatabindCodec.mapper().convertValue(body.get(), new TypeReference<{{{dataType}}}>(){}) : null;
{{/isBodyParam}}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy