Example usage for io.vertx.core.http HttpClientOptions DEFAULT_HTTP2_MAX_POOL_SIZE

List of usage examples for io.vertx.core.http HttpClientOptions DEFAULT_HTTP2_MAX_POOL_SIZE

Introduction

In this page you can find the example usage for io.vertx.core.http HttpClientOptions DEFAULT_HTTP2_MAX_POOL_SIZE.

Prototype

int DEFAULT_HTTP2_MAX_POOL_SIZE

To view the source code for io.vertx.core.http HttpClientOptions DEFAULT_HTTP2_MAX_POOL_SIZE.

Click Source Link

Document

The default maximum number of connections an HTTP/2 client will pool = 1

Usage

From source file:org.apache.servicecomb.transport.rest.client.TransportClientConfig.java

License:Apache License

public static int getHttp2ConnectionMaxPoolSize() {
    return DynamicPropertyFactory.getInstance().getIntProperty("servicecomb.rest.client.http2.maxPoolSize",
            HttpClientOptions.DEFAULT_HTTP2_MAX_POOL_SIZE).get();
}