@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/1704") public interface Decompressor
Modifier and Type | Method and Description |
---|---|
InputStream |
decompress(InputStream is)
Wraps an existing input stream with a decompressing input stream.
|
String |
getMessageEncoding()
Returns the message encoding that this compressor uses.
|
String getMessageEncoding()
This can be values such as "gzip", "deflate", "snappy", etc.
InputStream decompress(InputStream is) throws IOException
is
- The input stream of uncompressed dataIOException