Modifier and Type | Method and Description |
---|---|
static CompressorRegistry |
CompressorRegistry.getDefaultInstance()
Returns the default instance used by gRPC when the registry is not specified.
|
static CompressorRegistry |
CompressorRegistry.newEmptyInstance()
Returns a new instance with no registered compressors.
|
Modifier and Type | Method and Description |
---|---|
abstract T |
ManagedChannelBuilder.compressorRegistry(CompressorRegistry registry)
Set the compression registry for use in the channel.
|
abstract T |
ServerBuilder.compressorRegistry(CompressorRegistry registry)
Set the compression registry for use in the channel.
|
T |
ForwardingChannelBuilder.compressorRegistry(CompressorRegistry registry) |