private LinkedMultiValueMap<String, String> getCookieMapFromHeader(final HttpHeaders httpHeaders) {
        List<String> cookies = httpHeaders.get(HttpHeaders.COOKIE);
        return new LinkedMultiValueMap<>(ListUtils.emptyIfNull(cookies).stream().map(cookiePair -> cookiePair.split(";"))
                .flatMap(s ->
                        Arrays.stream(s).filter(cookie -> cookie.split("=").length == 2)
                                .map(cookie -> Pair.of(cookie.split("=")[0].trim(), Lists.newArrayList(cookie.split("=")[1].trim()))))
                .collect(Collectors.toMap(Pair::getKey, Pair::getValue, (k, v) -> k)));
    }
test MultiValueMap whether contain the key and the value.
shenyu-plugin/shenyu-plugin-request/src/test/java/org/apache/shenyu/plugin/request/RequestPluginTest.java