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

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

Introduction

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

Prototype

boolean DEFAULT_KEEP_ALIVE

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

Click Source Link

Document

Default value of whether keep-alive is enabled = true

Usage

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

License:Apache License

public static boolean getConnectionKeepAlive() {
    return DynamicPropertyFactory.getInstance().getBooleanProperty(
            "servicecomb.rest.client.connection.keepAlive", HttpClientOptions.DEFAULT_KEEP_ALIVE).get();
}