public static void pickupFromRequest(RpcInvokeContext context, SofaRequest request, boolean init) {
        if (context == null && !init) {
            return;
        }
        // 解析请求 
        Map<String, String> requestBaggage = (Map<String, String>) request
            .getRequestProp(RemotingConstants.RPC_REQUEST_BAGGAGE);
        if (CommonUtils.isNotEmpty(requestBaggage)) {
            if (context == null) {
                context = RpcInvokeContext.getContext();
            }
            context.putAllRequestBaggage(requestBaggage);
        }
    }
@Test
    public void testPickupFromRequest() {
        SofaRequest sofaRequest = new SofaRequest();
        RpcInvokeContext context = RpcInvokeContext.getContext();
        context.putRequestBaggage(KEY, VALUE);
        HashMap<String, String> hashMap = new HashMap<>();
        hashMap.put(null, "null");
        hashMap.put(KEY, VALUE);
        sofaRequest.addRequestProp(RemotingConstants.RPC_REQUEST_BAGGAGE, hashMap);
        BaggageResolver.pickupFromRequest(context, sofaRequest);
        assertEquals(VALUE, RpcInvokeContext.getContext().getAllRequestBaggage().get(KEY));
        assertEquals(null, RpcInvokeContext.getContext().getAllRequestBaggage().get(null));
        assertEquals(1, RpcInvokeContext.getContext().getAllRequestBaggage().size());
        assertEquals(SafeConcurrentHashMap.class, RpcInvokeContext.getContext().getAllRequestBaggage().getClass());
    }