Package brave.dubbo.rpc
Interface DubboRequest
-
public interface DubboRequestUsed to access Dubbo specific aspects of a client or server request.Here's an example that adds default tags, and if Dubbo, Java arguments:
rpcTracing = rpcTracingBuilder .clientRequestParser((req, context, span) -> { RpcRequestParser.DEFAULT.parse(req, context, span); if (req instanceof DubboRequest) { tagArguments(((DubboRequest) req).invocation().getArguments()); } }).build();Note: Do not implement this type directly. An implementation will be either as
RpcClientRequestor anRpcServerRequest.- Since:
- 5.12
- See Also:
RpcTracing.clientRequestParser(),RpcTracing.serverRequestParser(),DubboResponse
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.alibaba.dubbo.rpc.Invocationinvocation()com.alibaba.dubbo.rpc.Invoker<?>invoker()
-