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

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

Introduction

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

Prototype

boolean DEFAULT_TRY_USE_COMPRESSION

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

Click Source Link

Document

Default value of whether the client will attempt to use compression = false

Usage

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

License:Apache License

public static boolean getConnectionCompression() {
    return DynamicPropertyFactory.getInstance()
            .getBooleanProperty("servicecomb.rest.client.connection.compression",
                    HttpClientOptions.DEFAULT_TRY_USE_COMPRESSION)
            .get();/*from w  w w.jav a  2s.com*/
}