| Package | Description | 
|---|---|
| io.vertx.reactivex.core.http | 
| Modifier and Type | Field and Description | 
|---|---|
static io.vertx.lang.rx.TypeArg<HttpConnection> | 
HttpConnection.__TYPE_ARG  | 
| Modifier and Type | Method and Description | 
|---|---|
HttpConnection | 
HttpConnection.closeHandler(Handler<Void> handler)
Set a close handler. 
 | 
HttpConnection | 
HttpClientRequest.connection()  | 
HttpConnection | 
HttpServerRequest.connection()  | 
HttpConnection | 
HttpConnection.exceptionHandler(Handler<Throwable> handler)
Set an handler called when a connection error happens 
 | 
HttpConnection | 
HttpConnection.goAway(long errorCode)
Like  
goAway(long) with a last stream id -1 which means to disallow any new stream creation. | 
HttpConnection | 
HttpConnection.goAway(long errorCode,
      int lastStreamId)
Like  
goAway(long) with no buffer. | 
HttpConnection | 
HttpConnection.goAway(long errorCode,
      int lastStreamId,
      Buffer debugData)
Send a go away frame to the remote endpoint of the connection. 
 | 
HttpConnection | 
HttpConnection.goAwayHandler(Handler<GoAway> handler)
Set an handler called when a  frame is received. 
 | 
static HttpConnection | 
HttpConnection.newInstance(HttpConnection arg)  | 
HttpConnection | 
HttpConnection.ping(Buffer data)
Send a  frame to the remote endpoint. 
 | 
HttpConnection | 
HttpConnection.ping(Buffer data,
    Handler<AsyncResult<Buffer>> pongHandler)
Send a  frame to the remote endpoint. 
 | 
HttpConnection | 
HttpConnection.pingHandler(Handler<Buffer> handler)
Set an handler notified when a  frame is received from the remote endpoint. 
 | 
HttpConnection | 
HttpConnection.remoteSettingsHandler(Handler<Http2Settings> handler)
Set an handler that is called when remote endpoint  
Http2Settings are updated. | 
HttpConnection | 
HttpConnection.setWindowSize(int windowSize)
Update the current connection wide window size to a new size. 
 | 
HttpConnection | 
HttpConnection.shutdownHandler(Handler<Void> handler)
Set an handler called when a  frame has been sent or received and all connections are closed. 
 | 
HttpConnection | 
HttpConnection.updateSettings(Http2Settings settings)
Send to the remote endpoint an update of this endpoint settings
 
 The  
completionHandler will be notified when the remote endpoint has acknowledged the settings. | 
HttpConnection | 
HttpConnection.updateSettings(Http2Settings settings,
              Handler<AsyncResult<Void>> 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. | 
| Modifier and Type | Method and Description | 
|---|---|
HttpServer | 
HttpServer.connectionHandler(Handler<HttpConnection> handler)
Set a connection handler for the server. 
 | 
HttpClient | 
HttpClient.connectionHandler(Handler<HttpConnection> handler)
Set a connection handler for the client. 
 | 
Copyright © 2023 Eclipse. All rights reserved.