Skip to content

Commit

Permalink
setTryUseCompression has been removed from HttpClientOptions
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
  • Loading branch information
tsegismont committed Nov 9, 2023
1 parent 7945b83 commit 6dbb1e5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,8 @@
import io.vertx.core.http.HttpMethod;
import io.vertx.core.http.HttpVersion;
import io.vertx.core.json.JsonObject;
import io.vertx.core.net.JdkSSLEngineOptions;
import io.vertx.core.net.JksOptions;
import io.vertx.core.net.KeyCertOptions;
import io.vertx.core.net.OpenSSLEngineOptions;
import io.vertx.core.net.PemKeyCertOptions;
import io.vertx.core.net.PemTrustOptions;
import io.vertx.core.net.PfxOptions;
import io.vertx.core.net.ProxyOptions;
import io.vertx.core.net.SSLEngineOptions;
import io.vertx.core.net.TrustOptions;
import io.vertx.core.net.*;

import java.util.Collections;
import java.util.HashSet;
import java.util.List;
Expand Down Expand Up @@ -358,10 +350,16 @@ public CachingWebClientOptions setVerifyHost(boolean verifyHost) {
}

@Override
@Deprecated
public CachingWebClientOptions setTryUseCompression(boolean tryUseCompression) {
return (CachingWebClientOptions) super.setTryUseCompression(tryUseCompression);
}

@Override
public CachingWebClientOptions setDecompressionSupported(boolean tryUseCompression) {
return (CachingWebClientOptions) super.setDecompressionSupported(tryUseCompression);
}

@Override
public CachingWebClientOptions setSendUnmaskedFrames(boolean sendUnmaskedFrames) {
return (CachingWebClientOptions) super.setSendUnmaskedFrames(sendUnmaskedFrames);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -333,10 +333,16 @@ public WebClientOptions setVerifyHost(boolean verifyHost) {
}

@Override
@Deprecated
public WebClientOptions setTryUseCompression(boolean tryUseCompression) {
return (WebClientOptions) super.setTryUseCompression(tryUseCompression);
}

@Override
public WebClientOptions setDecompressionSupported(boolean tryUseCompression) {
return (WebClientOptions) super.setDecompressionSupported(tryUseCompression);
}

@Override
public WebClientOptions setSendUnmaskedFrames(boolean sendUnmaskedFrames) {
return (WebClientOptions) super.setSendUnmaskedFrames(sendUnmaskedFrames);
Expand Down

0 comments on commit 6dbb1e5

Please sign in to comment.