@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/2861") @ThreadSafe public abstract class ServerStreamTracer extends StreamTracer
| Modifier and Type | Class and Description |
|---|---|
static class |
ServerStreamTracer.Factory |
| Constructor and Description |
|---|
ServerStreamTracer() |
| Modifier and Type | Method and Description |
|---|---|
<ReqT,RespT> |
filterContext(io.grpc.Context context)
Called before the interceptors and the call handlers and make changes to the Context object
if needed.
|
void |
serverCallStarted(ServerCall<?,?> call)
Called when
ServerCall is created. |
inboundMessage, inboundUncompressedSize, inboundWireSize, outboundMessage, outboundUncompressedSize, outboundWireSize, streamClosedpublic <ReqT,RespT> io.grpc.Context filterContext(io.grpc.Context context)
public void serverCallStarted(ServerCall<?,?> call)
ServerCall is created. This is for the tracer to access information
about the ServerCall.