@Test void testExtB() throws Exception { for (String value : new String[]{"a", "abcdABCD", "\u00C0", "\u697C", "\uD869\uDED5", "\uD840\uDC08"}) { HttpURI uri = new HttpURI("/path?value=" + URLEncoder.encode(value, "UTF-8")); MultiMap<String> parameters = new MultiMap<>(); uri.decodeQueryTo(parameters, StandardCharsets.UTF_8); assertEquals(value, parameters.getString("value")); } }
public void decodeQueryTo(MultiMap<String> parameters) { if (query == null) return; UrlEncoded.decodeUtf8To(query, parameters); }
HttpURI { public void decodeQueryTo(MultiMap<String> parameters) { if (query == null) return; UrlEncoded.decodeUtf8To(query, parameters); } }
HttpURI { public void decodeQueryTo(MultiMap<String> parameters) { if (query == null) return; UrlEncoded.decodeUtf8To(query, parameters); } HttpURI();  HttpURI(String scheme, String host, int port, String path, String param, String query, String fragment);  HttpURI(HttpURI uri);  HttpURI(String uri);  HttpURI(URI uri);  HttpURI(String scheme, String host, int port, String pathQuery); }
HttpURI { public void decodeQueryTo(MultiMap<String> parameters) { if (query == null) return; UrlEncoded.decodeUtf8To(query, parameters); } HttpURI();  HttpURI(String scheme, String host, int port, String path, String param, String query, String fragment);  HttpURI(HttpURI uri);  HttpURI(String uri);  HttpURI(URI uri);  HttpURI(String scheme, String host, int port, String pathQuery); static HttpURI createHttpURI(String scheme, String host, int port, String path, String param, String query, String fragment); void parse(String uri); void parseRequestTarget(String method, String uri); @Deprecated void parseConnect(String uri); void parse(String uri, int offset, int length); String getScheme(); void setScheme(String scheme); String getHost(); int getPort(); String getPath(); void setPath(String path); String getDecodedPath(); String getParam(); String getQuery(); void setQuery(String query); boolean hasQuery(); String getFragment(); void decodeQueryTo(MultiMap<String> parameters); void decodeQueryTo(MultiMap<String> parameters, String encoding); void decodeQueryTo(MultiMap<String> parameters, Charset encoding); void clear(); boolean isAbsolute(); @Override String toString(); @Override boolean equals(Object o); void setAuthority(String host, int port); URI toURI(); String getPathQuery(); void setPathQuery(String path); String getAuthority(); String getUser(); }
HttpURI { public void decodeQueryTo(MultiMap<String> parameters) { if (query == null) return; UrlEncoded.decodeUtf8To(query, parameters); } HttpURI();  HttpURI(String scheme, String host, int port, String path, String param, String query, String fragment);  HttpURI(HttpURI uri);  HttpURI(String uri);  HttpURI(URI uri);  HttpURI(String scheme, String host, int port, String pathQuery); static HttpURI createHttpURI(String scheme, String host, int port, String path, String param, String query, String fragment); void parse(String uri); void parseRequestTarget(String method, String uri); @Deprecated void parseConnect(String uri); void parse(String uri, int offset, int length); String getScheme(); void setScheme(String scheme); String getHost(); int getPort(); String getPath(); void setPath(String path); String getDecodedPath(); String getParam(); String getQuery(); void setQuery(String query); boolean hasQuery(); String getFragment(); void decodeQueryTo(MultiMap<String> parameters); void decodeQueryTo(MultiMap<String> parameters, String encoding); void decodeQueryTo(MultiMap<String> parameters, Charset encoding); void clear(); boolean isAbsolute(); @Override String toString(); @Override boolean equals(Object o); void setAuthority(String host, int port); URI toURI(); String getPathQuery(); void setPathQuery(String path); String getAuthority(); String getUser();  }