diff --git a/grpc-client-spring-boot-autoconfigure/src/main/java/net/devh/boot/grpc/client/config/GrpcChannelProperties.java b/grpc-client-spring-boot-autoconfigure/src/main/java/net/devh/boot/grpc/client/config/GrpcChannelProperties.java index c19ad320e..474f163a7 100644 --- a/grpc-client-spring-boot-autoconfigure/src/main/java/net/devh/boot/grpc/client/config/GrpcChannelProperties.java +++ b/grpc-client-spring-boot-autoconfigure/src/main/java/net/devh/boot/grpc/client/config/GrpcChannelProperties.java @@ -335,35 +335,6 @@ public void setMaxInboundMessageSize(final DataSize maxInboundMessageSize) { // -------------------------------------------------- - 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; @@ -493,9 +464,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; }