Package io.grpc
Class ClientStreamTracer
- java.lang.Object
-
- io.grpc.StreamTracer
-
- io.grpc.ClientStreamTracer
-
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/2861") @ThreadSafe public abstract class ClientStreamTracer extends StreamTracer
StreamTracerfor the client-side.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClientStreamTracer.FactoryFactory class forClientStreamTracer.static classClientStreamTracer.StreamInfoInformation about a stream.
-
Constructor Summary
Constructors Constructor Description ClientStreamTracer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinboundHeaders()Headers has been received from the server.voidinboundTrailers(Metadata trailers)Trailing metadata has been received from the server.voidoutboundHeaders()Headers has been sent to the socket.-
Methods inherited from class io.grpc.StreamTracer
inboundMessage, inboundMessageRead, inboundUncompressedSize, inboundWireSize, outboundMessage, outboundMessageSent, outboundUncompressedSize, outboundWireSize, streamClosed
-
-
-
-
Method Detail
-
outboundHeaders
public void outboundHeaders()
Headers has been sent to the socket.
-
inboundHeaders
public void inboundHeaders()
Headers has been received from the server.
-
inboundTrailers
public void inboundTrailers(Metadata trailers)
Trailing metadata has been received from the server.- Parameters:
trailers- the mutable trailing metadata. Modifications to it will be seen by interceptors and the application.- Since:
- 1.17.0
-
-