Package brave.rpc
Class RpcClientResponse
java.lang.Object
brave.Response
brave.rpc.RpcResponse
brave.rpc.RpcClientResponse
public abstract class RpcClientResponse extends RpcResponse
Marks an interface for use in
RpcClientHandler.handleReceive(RpcClientResponse, Span).
This gives a standard type to consider when parsing an incoming context.- Since:
- 5.10
- See Also:
RpcClientRequest
-
Constructor Summary
Constructors Constructor Description RpcClientResponse() -
Method Summary
Modifier and Type Method Description booleanparseRemoteIpAndPort(Span span)LikeRpcRequest.parseRemoteIpAndPort(Span)for when the client library cannot read socket information before a request is made.Span.KindspanKind()
-
Constructor Details
-
RpcClientResponse
public RpcClientResponse()
-
-
Method Details
-
spanKind
-
parseRemoteIpAndPort
LikeRpcRequest.parseRemoteIpAndPort(Span)for when the client library cannot read socket information before a request is made.To reduce overhead, only implement this when not implementing
RpcRequest.parseRemoteIpAndPort(Span).- Since:
- 5.10
-