List of usage examples for io.vertx.core.http HttpConnection updateSettings
@Fluent HttpConnection updateSettings(Http2Settings settings, Handler<AsyncResult<Void>> completionHandler);
From source file:examples.HTTP2Examples.java
License:Open Source License
public void example21(HttpConnection connection) { connection.updateSettings(new Http2Settings().setMaxConcurrentStreams(100), ar -> { if (ar.succeeded()) { System.out.println("The settings update has been acknowledged "); }/*from w ww . j a va 2 s .c om*/ }); }