Package io.grpc

Class ServerStreamTracer.Factory

  • Enclosing class:
    ServerStreamTracer

    public abstract static class ServerStreamTracer.Factory
    extends java.lang.Object
    • Constructor Detail

      • Factory

        public Factory()
    • Method Detail

      • newServerStreamTracer

        public abstract ServerStreamTracer newServerStreamTracer​(java.lang.String fullMethodName,
                                                                 Metadata headers)
        Creates a ServerStreamTracer for a new server stream.

        Called right before the stream is created

        Parameters:
        fullMethodName - the fully qualified method name
        headers - 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.