Package | Description |
---|---|
io.vertx.core.http | |
io.vertx.grpc.client | |
io.vertx.grpc.server | |
io.vertx.reactivex.core.http | |
io.vertx.rxjava.core.http | |
io.vertx.rxjava3.core.http |
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
|
default HttpConnection |
HttpConnection.goAway(long errorCode)
Like
goAway(long, int) with a last stream id -1 which means to disallow any new stream creation. |
default HttpConnection |
HttpConnection.goAway(long errorCode,
int lastStreamId)
Like
goAway(long, int, Buffer) 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 GOAWAY frame is received.
|
HttpConnection |
HttpConnection.ping(Buffer data,
Handler<AsyncResult<Buffer>> pongHandler)
Send a PING frame to the remote endpoint.
|
HttpConnection |
HttpConnection.pingHandler(Handler<Buffer> handler)
Set an handler notified when a PING 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. |
default 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 GOAWAY frame has been sent or received and all connections are closed.
|
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.
|
Modifier and Type | Method and Description |
---|---|
HttpConnection |
GrpcClientRequest.connection() |
Modifier and Type | Method and Description |
---|---|
HttpConnection |
GrpcServerRequest.connection() |
Modifier and Type | Method and Description |
---|---|
HttpConnection |
HttpConnection.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static HttpConnection |
HttpConnection.newInstance(HttpConnection arg) |
Constructor and Description |
---|
HttpConnection(HttpConnection delegate) |
Modifier and Type | Method and Description |
---|---|
HttpConnection |
HttpConnection.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static HttpConnection |
HttpConnection.newInstance(HttpConnection arg) |
Constructor and Description |
---|
HttpConnection(HttpConnection delegate) |
Modifier and Type | Method and Description |
---|---|
HttpConnection |
HttpConnection.getDelegate() |
Modifier and Type | Method and Description |
---|---|
static HttpConnection |
HttpConnection.newInstance(HttpConnection arg) |
Constructor and Description |
---|
HttpConnection(HttpConnection delegate) |
Copyright © 2024 Eclipse. All rights reserved.