| Modifier and Type | Field and Description |
|---|---|
| private final ConcurrentMap | |
| private static final CompressorRegistry |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static CompressorRegistry | |
| public Compressor | |
| public static CompressorRegistry | |
| public void | register(Compressor
The compressor to register c)Registers a compressor for both decompression and message encoding negotiation. |
| compressors | back to summary |
|---|---|
| private final ConcurrentMap<String, Compressor> compressors | |
| DEFAULT_INSTANCE | back to summary |
|---|---|
| private static final CompressorRegistry DEFAULT_INSTANCE | |
| CompressorRegistry | back to summary |
|---|---|
pack-priv CompressorRegistry(Compressor... cs)
| |
| getDefaultInstance | back to summary |
|---|---|
| public static CompressorRegistry getDefaultInstance() Returns the default instance used by gRPC when the registry is not specified. Currently the registry just contains support for gzip. | |
| lookupCompressor | back to summary |
|---|---|
public Compressor lookupCompressor(String compressorName)
| |
| newEmptyInstance | back to summary |
|---|---|
| public static CompressorRegistry newEmptyInstance() Returns a new instance with no registered compressors. | |
| register | back to summary |
|---|---|
| public void register(Compressor c) Registers a compressor for both decompression and message encoding negotiation.
| |