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