Package io.grpc
Class ServerStreamTracer.Factory
- java.lang.Object
-
- io.grpc.ServerStreamTracer.Factory
-
- Enclosing class:
- ServerStreamTracer
public abstract static class ServerStreamTracer.Factory extends Object
-
-
Constructor Summary
Constructors Constructor Description Factory()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract ServerStreamTracer
newServerStreamTracer(String fullMethodName, Metadata headers)
Creates aServerStreamTracer
for a new server stream.
-
-
-
Method Detail
-
newServerStreamTracer
public abstract ServerStreamTracer newServerStreamTracer(String fullMethodName, Metadata headers)
Creates aServerStreamTracer
for a new server stream.Called right before the stream is created
- Parameters:
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.
-
-