List of usage examples for io.vertx.core.http HttpConnection pingHandler
@Fluent HttpConnection pingHandler(@Nullable Handler<Buffer> handler);
From source file:examples.HTTP2Examples.java
License:Open Source License
public void example24(HttpConnection connection) { connection.pingHandler(ping -> { System.out.println("Got pinged by remote side"); });/*w w w . j a v a 2 s . c om*/ }