Example usage for Java io.vertx.core.http HttpConnection fields, constructors, methods, implement or subclass
The text is from its open source code.
Future | close() Close the connection and all the currently active streams. |
HttpConnection | goAway(long errorCode) Like #goAway(long,int) with a last stream id -1 which means to disallow any new stream creation. |
HttpConnection | goAwayHandler(@Nullable Handler Set an handler called when a GOAWAY frame is received. |
HttpConnection | ping(Buffer data, Handler Send a PING frame to the remote endpoint. |
HttpConnection | pingHandler(@Nullable Handler Set an handler notified when a PING frame is received from the remote endpoint. |
HttpConnection | remoteSettingsHandler(Handler Set an handler that is called when remote endpoint Http2Settings are updated. |
HttpConnection | shutdown() 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. |
HttpConnection | shutdownHandler(@Nullable Handler Set an handler called when a GOAWAY frame has been sent or received and all connections are closed. |
Future | updateSettings(Http2Settings settings) Send to the remote endpoint an update of the server settings. |
HttpConnection | updateSettings(Http2Settings settings, Handler Send to the remote endpoint an update of this endpoint settings The completionHandler will be notified when the remote endpoint has acknowledged the settings. |