@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(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, inboundMessage, inboundMessageRead, inboundUncompressedSize, inboundWireSize, outboundMessage, outboundMessage, outboundMessageSent, outboundUncompressedSize, outboundWireSize, streamClosed
public <ReqT,RespT> Context filterContext(Context context)
public void serverCallStarted(ServerCall<?,?> call)
ServerCall
is created. This is for the tracer to access information
about the ServerCall
.