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

JavaVertXWebServer.apiImpl.mustache Maven / Gradle / Ivy

There is a newer version: 7.9.0
Show newest version
package {{package}};

{{#imports}}import {{import}};
{{/imports}}

import {{invokerPackage}}.ApiResponse;

import io.vertx.core.Future;
import io.vertx.core.json.JsonObject;
import io.vertx.ext.web.handler.impl.HttpStatusException;

import java.util.List;
import java.util.Map;

// Implement this class

public class {{classname}}Impl implements {{classname}} {
{{#operations}}
{{#operation}}
    public Future> {{operationId}}({{#allParams}}{{{dataType}}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) {
        return Future.failedFuture(new HttpStatusException(501));
    }

{{/operation}}
{{/operations}}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy