public class Http2ConnectionManager extends Object
Http2ConnectionManager Manages HTTP/2 connections.| Constructor and Description |
|---|
Http2ConnectionManager(PoolConfiguration poolConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
void |
addHttp2ClientChannel(io.netty.channel.EventLoop eventLoop,
HttpRoute httpRoute,
Http2ClientChannel http2ClientChannel)
Add a given
Http2ClientChannel to the relevant pool. |
Http2ClientChannel |
borrowChannel(Http2SourceHandler http2SrcHandler,
HttpRoute httpRoute)
Borrow an HTTP/2 client channel.
|
public Http2ConnectionManager(PoolConfiguration poolConfiguration)
public void addHttp2ClientChannel(io.netty.channel.EventLoop eventLoop,
HttpRoute httpRoute,
Http2ClientChannel http2ClientChannel)
Http2ClientChannel to the relevant pool.eventLoop - netty event loophttpRoute - http routehttp2ClientChannel - newly created http/2 client channelpublic Http2ClientChannel borrowChannel(Http2SourceHandler http2SrcHandler, HttpRoute httpRoute)
http2SrcHandler - Relevant http/2 source handler where the source connection belongs tohttpRoute - the http routeCopyright © 2022 WSO2. All rights reserved.