| Modifier and Type | Class and Description |
|---|---|
| pack-priv abstract static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private final HttpClientBase | |
| private Handler | |
| private boolean | |
| private Handler | |
| private long | |
| private final ClientMetrics |
| Access | Constructor and Description |
|---|---|
| pack-priv | Http2ClientConnection(HttpClientBase client, ContextInternal context, VertxHttp2ConnectionHandler<C extends Http2ConnectionBase> connHandler, ClientMetrics<M, T, Req, Resp> metrics)
|
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public long | |
| protected void | concurrencyChanged(long concurrency)
Overrides io.
|
| public Http2ClientConnection | concurrencyChangeHandler(Handler<Long>
the handler handler)Implements io. Set a |
| public static VertxHttp2ConnectionHandler | createHttp2ConnectionHandler(HttpClientBase client, ClientMetrics<M, T, Req, Resp> metrics, ContextInternal context, boolean upgrade, Object socketMetric)
|
| public Future | createRequest(ContextInternal
the stream context context)Implements io. Create an HTTP stream. |
| public void | createStream(ContextInternal
the stream context context, Handler<AsyncResult<HttpClientStream>> the handler called when the stream is created handler)Implements io. Create an HTTP stream. |
| private Http2ClientConnection. | |
| public Http2ClientConnection | evictionHandler(Handler<Void>
the handler handler)Implements io. Set a |
| protected void | handleIdle(IdleStateEvent event)
Overrides io. Called by the Netty handler when the connection becomes idle. |
| public boolean | |
| public long | |
| public HttpClientMetrics | |
| private void | |
| pack-priv boolean | |
| pack-priv boolean | |
| protected synchronized void | onHeadersRead(int streamId, Http2Headers headers, StreamPriority streamPriority, boolean endOfStream)
Implements abstract io.
|
| public synchronized void | onPushPromiseRead(ChannelHandlerContext
the context from the handler where the frame was read. ctx, int the stream the frame was sent on. streamId, int the ID of the promised stream. promisedStreamId, Http2Headers the received headers. headers, int additional bytes that should be added to obscure the true content size. Must be between 0 and
256 (inclusive). padding)Overrides io. Implements io. Handles an inbound |
| private void | |
| private void | |
| pack-priv void | upgradeStream(Object metric, Object trace, ContextInternal context, Handler<AsyncResult<HttpClientStream>> completionHandler)
|