@@ -372,35 +372,6 @@ public void setMaxInboundMetadataSize(DataSize maxInboundMetadataSize) {
372
372
}
373
373
// --------------------------------------------------
374
374
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
-
404
375
private NegotiationType negotiationType ;
405
376
private static final NegotiationType DEFAULT_NEGOTIATION_TYPE = NegotiationType .TLS ;
406
377
@@ -530,9 +501,6 @@ public void copyDefaultsFrom(final GrpcChannelProperties config) {
530
501
if (this .maxInboundMessageSize == null ) {
531
502
this .maxInboundMessageSize = config .maxInboundMessageSize ;
532
503
}
533
- if (this .fullStreamDecompression == null ) {
534
- this .fullStreamDecompression = config .fullStreamDecompression ;
535
- }
536
504
if (this .negotiationType == null ) {
537
505
this .negotiationType = config .negotiationType ;
538
506
}
0 commit comments