@Override
public void start() throws Exception {
HttpClientOptions options = new HttpClientOptions().
setSsl(true).
setUseAlpn(true).
<BUG>setOpenSslEngineOptions(new OpenSSLEngineOptions()).</BUG>
setProtocolVersion(HttpVersion.HTTP_2).
setTrustAll(true);
vertx.createHttpClient(options
).getNow(8443, "localhost", "/", resp -> {
System.out.println("Got response " + resp.statusCode() + " with protocol " + resp.version());
resp.bodyHandler(body -> System.out.println("Got data " + body.toString("ISO-8859-1")));
});
}
}

@Override
public void start() throws Exception {
HttpClientOptions options = new HttpClientOptions().
setSsl(true).
setUseAlpn(true).
setProtocolVersion(HttpVersion.HTTP_2).
setTrustAll(true);
vertx.createHttpClient(options
).getNow(8443, "localhost", "/", resp -> {
