From 4f7512668b9377fe8cf1ba07687b8a7787fc6b0b Mon Sep 17 00:00:00 2001 From: Clayton Walker Date: Thu, 8 Feb 2024 14:04:40 -0700 Subject: [PATCH] Remove flag in properties --- .../client/config/GrpcChannelProperties.java | 32 ------------------- 1 file changed, 32 deletions(-) diff --git a/grpc-client-spring-boot-starter/src/main/java/net/devh/boot/grpc/client/config/GrpcChannelProperties.java b/grpc-client-spring-boot-starter/src/main/java/net/devh/boot/grpc/client/config/GrpcChannelProperties.java index dff796cc1..22994b5a5 100644 --- a/grpc-client-spring-boot-starter/src/main/java/net/devh/boot/grpc/client/config/GrpcChannelProperties.java +++ b/grpc-client-spring-boot-starter/src/main/java/net/devh/boot/grpc/client/config/GrpcChannelProperties.java @@ -372,35 +372,6 @@ public void setMaxInboundMetadataSize(DataSize maxInboundMetadataSize) { } // -------------------------------------------------- - private Boolean fullStreamDecompression; - private static final boolean DEFAULT_FULL_STREAM_DECOMPRESSION = false; - - /** - * Gets whether full-stream decompression of inbound streams should be enabled. - * - * @return True, if full-stream decompression of inbound streams should be enabled. False otherwise. - * - * @see #setFullStreamDecompression(Boolean) - */ - public boolean isFullStreamDecompression() { - return this.fullStreamDecompression == null ? DEFAULT_FULL_STREAM_DECOMPRESSION : this.fullStreamDecompression; - } - - /** - * Sets whether full-stream decompression of inbound streams should be enabled. This will cause the channel's - * outbound headers to advertise support for GZIP compressed streams, and gRPC servers which support the feature may - * respond with a GZIP compressed stream. - * - * @param fullStreamDecompression Whether full stream decompression should be enabled or null to use the fallback. - * - * @see ManagedChannelBuilder#enableFullStreamDecompression() - */ - public void setFullStreamDecompression(final Boolean fullStreamDecompression) { - this.fullStreamDecompression = fullStreamDecompression; - } - - // -------------------------------------------------- - private NegotiationType negotiationType; private static final NegotiationType DEFAULT_NEGOTIATION_TYPE = NegotiationType.TLS; @@ -530,9 +501,6 @@ public void copyDefaultsFrom(final GrpcChannelProperties config) { if (this.maxInboundMessageSize == null) { this.maxInboundMessageSize = config.maxInboundMessageSize; } - if (this.fullStreamDecompression == null) { - this.fullStreamDecompression = config.fullStreamDecompression; - } if (this.negotiationType == null) { this.negotiationType = config.negotiationType; }