diff --git a/src/main/java/io/vertx/ext/consul/ConsulClientOptions.java b/src/main/java/io/vertx/ext/consul/ConsulClientOptions.java index af9b940b..4047102a 100644 --- a/src/main/java/io/vertx/ext/consul/ConsulClientOptions.java +++ b/src/main/java/io/vertx/ext/consul/ConsulClientOptions.java @@ -601,8 +601,8 @@ public ConsulClientOptions setVerifyHost(boolean verifyHost) { * @return a reference to this, so the API can be used fluently */ @Override - public ConsulClientOptions setTryUseCompression(boolean tryUseCompression) { - return (ConsulClientOptions) super.setTryUseCompression(tryUseCompression); + public WebClientOptions setDecompressionSupported(boolean tryUseCompression) { + return super.setDecompressionSupported(tryUseCompression); } /**