Modifier and Type | Method | 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 | Description |
---|---|---|
T |
ForwardingChannelBuilder.compressorRegistry(CompressorRegistry registry) |
|
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.
|