public abstract static class ClientStreamTracer.Factory extends Object
ClientStreamTracer
.Constructor and Description |
---|
Factory() |
Modifier and Type | Method and Description |
---|---|
ClientStreamTracer |
newClientStreamTracer(CallOptions callOptions,
Metadata headers)
Creates a
ClientStreamTracer for a new client stream. |
ClientStreamTracer |
newClientStreamTracer(Metadata headers)
Deprecated.
Override/call
newClientStreamTracer(CallOptions, Metadata) instead. |
@Deprecated public ClientStreamTracer newClientStreamTracer(Metadata headers)
newClientStreamTracer(CallOptions, Metadata)
instead.ClientStreamTracer
for a new client stream.public ClientStreamTracer newClientStreamTracer(CallOptions callOptions, Metadata headers)
ClientStreamTracer
for a new client stream.callOptions
- the effective CallOptions of the callheaders
- the mutable headers of the stream. 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.