@Test(dataProvider = "strings") public void testReplaceQueryIsEncoded(String key) { assertThat(uriBuilder("/redirect").addQuery("foo", key).build().getQuery()).isEqualTo("foo=" + key); assertThat(uriBuilder("/redirect").addQuery("foo", key).build().getRawQuery()) .isEqualTo("foo=" + urlEncode(key, '/', ',')); }
public static UriBuilder uriBuilder(CharSequence template) { return new UriBuilder(template); }
Uris { public static UriBuilder uriBuilder(CharSequence template) { return new UriBuilder(template); } }
Uris { public static UriBuilder uriBuilder(CharSequence template) { return new UriBuilder(template); }  }
Uris { public static UriBuilder uriBuilder(CharSequence template) { return new UriBuilder(template); }  static UriBuilder uriBuilder(CharSequence template); static UriBuilder uriBuilder(URI uri); static boolean lastCharIsToken(CharSequence left, char token); static char lastChar(CharSequence in); static char firstChar(CharSequence in); static boolean isToken(CharSequence right, char token); }
Uris { public static UriBuilder uriBuilder(CharSequence template) { return new UriBuilder(template); }  static UriBuilder uriBuilder(CharSequence template); static UriBuilder uriBuilder(URI uri); static boolean lastCharIsToken(CharSequence left, char token); static char lastChar(CharSequence in); static char firstChar(CharSequence in); static boolean isToken(CharSequence right, char token);  }