Skip to content

Commit 4f75126

Browse files
author
Clayton Walker
committed
Remove flag in properties
1 parent 2ae2349 commit 4f75126

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

grpc-client-spring-boot-starter/src/main/java/net/devh/boot/grpc/client/config/GrpcChannelProperties.java

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -372,35 +372,6 @@ public void setMaxInboundMetadataSize(DataSize maxInboundMetadataSize) {
372372
}
373373
// --------------------------------------------------
374374

375-
private Boolean fullStreamDecompression;
376-
private static final boolean DEFAULT_FULL_STREAM_DECOMPRESSION = false;
377-
378-
/**
379-
* Gets whether full-stream decompression of inbound streams should be enabled.
380-
*
381-
* @return True, if full-stream decompression of inbound streams should be enabled. False otherwise.
382-
*
383-
* @see #setFullStreamDecompression(Boolean)
384-
*/
385-
public boolean isFullStreamDecompression() {
386-
return this.fullStreamDecompression == null ? DEFAULT_FULL_STREAM_DECOMPRESSION : this.fullStreamDecompression;
387-
}
388-
389-
/**
390-
* Sets whether full-stream decompression of inbound streams should be enabled. This will cause the channel's
391-
* outbound headers to advertise support for GZIP compressed streams, and gRPC servers which support the feature may
392-
* respond with a GZIP compressed stream.
393-
*
394-
* @param fullStreamDecompression Whether full stream decompression should be enabled or null to use the fallback.
395-
*
396-
* @see ManagedChannelBuilder#enableFullStreamDecompression()
397-
*/
398-
public void setFullStreamDecompression(final Boolean fullStreamDecompression) {
399-
this.fullStreamDecompression = fullStreamDecompression;
400-
}
401-
402-
// --------------------------------------------------
403-
404375
private NegotiationType negotiationType;
405376
private static final NegotiationType DEFAULT_NEGOTIATION_TYPE = NegotiationType.TLS;
406377

@@ -530,9 +501,6 @@ public void copyDefaultsFrom(final GrpcChannelProperties config) {
530501
if (this.maxInboundMessageSize == null) {
531502
this.maxInboundMessageSize = config.maxInboundMessageSize;
532503
}
533-
if (this.fullStreamDecompression == null) {
534-
this.fullStreamDecompression = config.fullStreamDecompression;
535-
}
536504
if (this.negotiationType == null) {
537505
this.negotiationType = config.negotiationType;
538506
}

0 commit comments

Comments
 (0)