Java io.vertx.core.http HttpConnection fields, constructors, methods, implement or subclass

Example usage for Java io.vertx.core.http HttpConnection fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for io.vertx.core.http HttpConnection.

The text is from its open source code.

Method

Futureclose()
Close the connection and all the currently active streams.
HttpConnectiongoAway(long errorCode)
Like #goAway(long,int) with a last stream id -1 which means to disallow any new stream creation.
HttpConnectiongoAwayHandler(@Nullable Handler handler)
Set an handler called when a GOAWAY frame is received.
HttpConnectionping(Buffer data, Handler> pongHandler)
Send a PING frame to the remote endpoint.
HttpConnectionpingHandler(@Nullable Handler handler)
Set an handler notified when a PING frame is received from the remote endpoint.
HttpConnectionremoteSettingsHandler(Handler handler)
Set an handler that is called when remote endpoint Http2Settings are updated.
HttpConnectionshutdown()
Initiate a connection shutdown, a go away frame is sent and the connection is closed when all current active streams are closed or after a time out of 30 seconds.
HttpConnectionshutdownHandler(@Nullable Handler handler)
Set an handler called when a GOAWAY frame has been sent or received and all connections are closed.
FutureupdateSettings(Http2Settings settings)
Send to the remote endpoint an update of the server settings.
HttpConnectionupdateSettings(Http2Settings settings, Handler> completionHandler)
Send to the remote endpoint an update of this endpoint settings

The completionHandler will be notified when the remote endpoint has acknowledged the settings.