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

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

Introduction

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

Prototype

int DEFAULT_HTTP2_MULTIPLEXING_LIMIT

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

Click Source Link

Document

The default maximum number of concurrent streams per connection for HTTP/2 = -1

Usage

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

License:Apache License

public static int getHttp2MultiplexingLimit() {
    return DynamicPropertyFactory.getInstance()
            .getIntProperty("servicecomb.rest.client.http2.multiplexingLimit",
                    HttpClientOptions.DEFAULT_HTTP2_MULTIPLEXING_LIMIT)
            .get();/*  ww  w . j a v  a 2s.c  o m*/
}