@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/2861") @ThreadSafe public abstract class ClientStreamTracer extends StreamTracer
StreamTracer
for the client-side.Modifier and Type | Class and Description |
---|---|
static class |
ClientStreamTracer.Factory
Factory class for
ClientStreamTracer . |
static class |
ClientStreamTracer.StreamInfo
Information about a stream.
|
Constructor and Description |
---|
ClientStreamTracer() |
Modifier and Type | Method and Description |
---|---|
void |
inboundHeaders()
Headers has been received from the server.
|
void |
inboundTrailers(Metadata trailers)
Trailing metadata has been received from the server.
|
void |
outboundHeaders()
Headers has been sent to the socket.
|
inboundMessage, inboundMessageRead, inboundUncompressedSize, inboundWireSize, outboundMessage, outboundMessageSent, outboundUncompressedSize, outboundWireSize, streamClosed
public void outboundHeaders()
public void inboundHeaders()
public void inboundTrailers(Metadata trailers)
trailers
- the mutable trailing metadata. Modifications to it will be seen by
interceptors and the application.