DubboServerRequest extends RpcServerRequest implements DubboRequest { @Override protected String propagationField(String keyName) { return invocation.getAttachment(keyName); } DubboServerRequest(Invoker<?> invoker, Invocation invocation); @Override Invoker<?> invoker(); @Override Invocation invocation(); @Override Invocation unwrap(); @Override String method(); @Override String service(); @Override boolean parseRemoteIpAndPort(Span span);  }
@Test public void propagationField() { when(invocation.getAttachment("b3")).thenReturn("d"); assertThat(request.propagationField("b3")).isEqualTo("d"); }