use of org.webpieces.httpclientx.impl.Http2ClientProxy in project webpieces by deanhiller.
the class Http2to11ClientFactory method createHttpClient.
public static Http2Client createHttpClient(String id, ChannelManager mgr, MeterRegistry metrics, BufferPool pool, boolean optimizeForBufferPool) {
HttpParser parser = HttpParserFactory.createParser(id, metrics, pool, optimizeForBufferPool);
HttpClient client11 = HttpClientFactory.createHttpClient(id, mgr, parser);
return new Http2ClientProxy(client11);
}
Aggregations