Example usage for io.vertx.core.http HttpConnection remoteSettingsHandler

List of usage examples for io.vertx.core.http HttpConnection remoteSettingsHandler

Introduction

In this page you can find the example usage for io.vertx.core.http HttpConnection remoteSettingsHandler.

Prototype

@Fluent
HttpConnection remoteSettingsHandler(Handler<Http2Settings> handler);

Source Link

Document

Set an handler that is called when remote endpoint Http2Settings are updated.

Usage

From source file:examples.HTTP2Examples.java

License:Open Source License

public void example22(HttpConnection connection) {
    connection.remoteSettingsHandler(settings -> {
        System.out.println("Received new settings");
    });/*from  w  ww  . j a va2s .c  om*/
}