public abstract static class ServerStreamTracer.Factory extends Object
| Constructor and Description |
|---|
Factory() |
| Modifier and Type | Method and Description |
|---|---|
abstract ServerStreamTracer |
newServerStreamTracer(String fullMethodName,
Metadata headers)
Creates a
ServerStreamTracer for a new server stream. |
public abstract ServerStreamTracer newServerStreamTracer(String fullMethodName, Metadata headers)
ServerStreamTracer for a new server stream.
Called right before the stream is created
fullMethodName - the fully qualified method nameheaders - the received request headers. It can be safely mutated within this method.
It should not be saved because it is not safe for read or write after the method
returns.