[BUG] java-vertx-web uses internal HttpStatusException vertx class
Created by: indiketa
The vertx generator is using io.vertx.ext.web.handler.impl.HttpStatusException
in each method default implementation.
example:
import io.vertx.ext.web.handler.impl.HttpStatusException;
import java.util.List;
import java.util.Map;
// Implement this class
public class BusinessApiImpl implements BusinessApi {
public Future<ApiResponse<Void>> deleteCompanyId(String q, Integer id) {
return Future.failedFuture(new HttpStatusException(501));
}
This class was internal: Since vertx 4.1 this class is part of vertx official API and has changed to io.vertx.ext.web.handler.HttpException
, code generated with java-vertx-web
is uncompilable in the stable vertx versions.