PoolKeyUtils { public static String keyToUriString(Object key) { return UriComponentsBuilder.fromUriString((String) key).userInfo(null).build().toString(); }  static String getKey(RpcHost host, String credentials); static String keyToUriString(Object key); @Deprecated static URI keyToURI(Object key); static ConnectionSpec keyToConnectionSpec(Object key);  }
@Test public void testKeyToUriString() throws Exception { assertThat(PoolKeyUtils.keyToUriString("vrpcb: assertThat(PoolKeyUtils.keyToConnectionSpec("vrpcb: }