| Package | Description |
|---|---|
| io.vertx.axle.core.http |
| Modifier and Type | Field and Description |
|---|---|
static TypeArg<HttpConnection> |
HttpConnection.__TYPE_ARG |
| Modifier and Type | Method and Description |
|---|---|
HttpConnection |
HttpConnection.closeHandler(Consumer<Void> handler)
Set a close handler.
|
HttpConnection |
HttpClientRequest.connection() |
HttpConnection |
HttpServerRequest.connection() |
HttpConnection |
HttpConnection.exceptionHandler(Consumer<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(Consumer<io.vertx.core.http.GoAway> handler)
Set an handler called when a frame is received.
|
static HttpConnection |
HttpConnection.newInstance(io.vertx.core.http.HttpConnection arg) |
HttpConnection |
HttpConnection.pingHandler(Consumer<Buffer> handler)
Set an handler notified when a frame is received from the remote endpoint.
|
HttpConnection |
HttpConnection.remoteSettingsHandler(Consumer<io.vertx.core.http.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.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 |
HttpConnection.shutdown(long timeoutMs)
Initiate a connection shutdown, a go away frame is sent and the connection is closed when all current streams
will be closed or the
timeout is fired. |
HttpConnection |
HttpConnection.shutdownHandler(Consumer<Void> handler)
Set an handler called when a frame has been sent or received and all connections are closed.
|
| Modifier and Type | Method and Description |
|---|---|
HttpClient |
HttpClient.connectionHandler(Consumer<HttpConnection> handler)
Set a connection handler for the client.
|
HttpServer |
HttpServer.connectionHandler(Consumer<HttpConnection> handler)
Set a connection handler for the server.
|
HttpClientRequest |
HttpClientRequest.connectionHandler(Consumer<HttpConnection> handler)
Set a connection handler called when an HTTP connection has been established.
|
Copyright © 2019 SmallRye. All rights reserved.