Package brave.rpc
Class RpcServerRequest
- java.lang.Object
- 
- brave.Request
- 
- brave.rpc.RpcRequest
- 
- brave.rpc.RpcServerRequest
 
 
 
- 
 public abstract class RpcServerRequest extends RpcRequest Marks an interface for use inRpcServerHandler.handleReceive(RpcServerRequest). This gives a standard type to consider when parsing an incoming context.- Since:
- 5.8
- See Also:
- RpcServerResponse
 
- 
- 
Constructor SummaryConstructors Constructor Description RpcServerRequest()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringpropagationField(String keyName)Returns one value corresponding to the specifiedpropagation field, or null.Span.KindspanKind()- 
Methods inherited from class brave.rpc.RpcRequestmethod, parseRemoteIpAndPort, service, startTimestamp
 
- 
 
- 
- 
- 
Method Detail- 
propagationField@Nullable protected String propagationField(String keyName) Returns one value corresponding to the specifiedpropagation field, or null.Note: Header based requests will use headers, but this could be read from RPC envelopes or even binary data. NotesThis is only used when injectinga trace context as internally implemented byRpcClientHandler. Calls during sampling or parsing are invalid and may be ignored by instrumentation.Header based requests will use headers, but this could set RPC envelopes or even binary data. - Parameters:
- keyName- key used for- Propagation.Getter.get(Object, Object)
- Since:
- 5.12
- See Also:
- GETTER,- Propagation.keys(),- BaggagePropagation.allKeyNames(Propagation)
 
 
- 
 
-