code: public static void serverReceived(NettyHttpRequest request) {
          try {
              SofaRequest sofaRequest = new SofaRequest();
  
              HttpHeaders headers = request.getHttpHeaders();
              String rpcTraceContext = headers.getHeaderString(RemotingConstants.NEW_RPC_TRACE_NAME);
              if (StringUtils.isNotBlank(rpcTraceContext)) {
                  // 新格式
                  sofaRequest.addRequestProp(RemotingConstants.NEW_RPC_TRACE_NAME, rpcTraceContext);
              } else {
                  String traceIdKey = headers.getHeaderString(RemotingConstants.HTTP_HEADER_TRACE_ID_KEY);
                  String rpcIdKey = headers.getHeaderString(RemotingConstants.HTTP_HEADER_RPC_ID_KEY);
                  if (StringUtils.isEmpty(rpcIdKey)) {
                      rpcIdKey = request.getUri().getQueryParameters().getFirst(RemotingConstants.RPC_ID_KEY);
                  }
                  if (StringUtils.isEmpty(traceIdKey)) {
                      traceIdKey = request.getUri().getQueryParameters().getFirst(RemotingConstants.TRACE_ID_KEY);
                  }
  
                  if (StringUtils.isNotEmpty(traceIdKey) && StringUtils.isNotEmpty(rpcIdKey)) {
                      Map<String, String> map = new HashMap<String, String>();
                      map.put(RemotingConstants.TRACE_ID_KEY, traceIdKey);
                      map.put(RemotingConstants.RPC_ID_KEY, rpcIdKey);
                      String penAttrs = headers.getHeaderString(RemotingConstants.PEN_ATTRS_KEY);
                      map.put(RemotingConstants.PEN_ATTRS_KEY, penAttrs);
                      sofaRequest.addRequestProp(RemotingConstants.RPC_TRACE_NAME, map);
                  }
              }
              Tracers.serverReceived(sofaRequest);
          } catch (Throwable t) {
              if (LOGGER.isWarnEnabled()) {
                  LOGGER.warn("the process of rest tracer server receive occur error ", t);
              }
          }
      }
docs: 适配服务端serverReceived