From c4a1facf797888e61fd24ef49f64abd3a4fd3db7 Mon Sep 17 00:00:00 2001 From: Julien Viet Date: Thu, 9 Nov 2023 21:51:18 +0100 Subject: [PATCH] Adapt to HttpClientOptions changes --- src/main/java/io/vertx/ext/consul/ConsulClientOptions.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } /**