@Test public void sanityParse() throws Exception { Parameters parameters = UriComponent.decodeQuery(URI.create("http: assertThat(parameters.all("a"), hasItems(is("b"), is("e"))); assertThat(parameters.all("c"), hasItems(is("d"))); assertThat(parameters.all("z"), hasSize(0)); }
static Parameters decodeQuery(String query, boolean decode) { return decodeQuery(query, true, decode); }
UriComponent { static Parameters decodeQuery(String query, boolean decode) { return decodeQuery(query, true, decode); } }
UriComponent { static Parameters decodeQuery(String query, boolean decode) { return decodeQuery(query, true, decode); } private  UriComponent(); }
UriComponent { static Parameters decodeQuery(String query, boolean decode) { return decodeQuery(query, true, decode); } private  UriComponent();  }
UriComponent { static Parameters decodeQuery(String query, boolean decode) { return decodeQuery(query, true, decode); } private  UriComponent();   }