@SuppressWarnings("deprecation")
    private static Map<String, List<String>> getUriQueryParameters(URI uri) {
        if (uri.getRawQuery() == null) return Map.of();
        MultiMap<String> params = new MultiMap<>();
        UrlEncoded.decodeUtf8To(uri.getRawQuery(), params); // deprecated
        return Map.copyOf(params);
    }
A HTTP request.

@author Anirudha Khanna
@author Einar M R Rosenvinge
container-core/src/main/java/com/yahoo/jdisc/http/HttpRequest.java