Package | Description |
---|---|
io.grpc |
The gRPC core public API.
|
io.grpc.internal |
Interfaces and implementations that are internal to gRPC.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Codec
Encloses classes related to the compression and decompression of messages.
|
Modifier and Type | Class and Description |
---|---|
static class |
Codec.Gzip
A gzip compressor and decompressor.
|
static class |
Codec.Identity
The "identity", or "none" codec.
|
Modifier and Type | Method and Description |
---|---|
Decompressor |
DecompressorRegistry.lookupDecompressor(String messageEncoding)
Returns a decompressor for the given message encoding, or
null if none has been
registered. |
Modifier and Type | Method and Description |
---|---|
DecompressorRegistry |
DecompressorRegistry.with(Decompressor d,
boolean advertised)
Registers a decompressor for both decompression and message encoding negotiation.
|
Modifier and Type | Method and Description |
---|---|
void |
ServerStream.setDecompressor(Decompressor decompressor)
Sets the decompressor on the deframer.
|
void |
MessageDeframer.setDecompressor(Decompressor decompressor) |
void |
Deframer.setDecompressor(Decompressor decompressor)
Sets the decompressor available to use.
|
void |
ApplicationThreadDeframer.setDecompressor(Decompressor decompressor) |
protected void |
AbstractStream.TransportState.setDecompressor(Decompressor decompressor) |
void |
AbstractServerStream.setDecompressor(Decompressor decompressor) |
Constructor and Description |
---|
MessageDeframer(MessageDeframer.Listener listener,
Decompressor decompressor,
int maxMessageSize,
StatsTraceContext statsTraceCtx,
TransportTracer transportTracer)
Create a deframer.
|
Copyright © 2018. All rights reserved.