@Test public void yesDecode() throws Exception { Parameters parameters = UriComponent.decodeQuery("a=" + URLEncoder.encode("1&b=2", US_ASCII.name()), true); assertThat(parameters.first("a").get(), is("1&b=2")); }
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();   }