UriResourcePathUtils { public static URI updateUriHost(URI uri, String newHostPrefix) { try { return new URI(uri.getScheme(), uri.getUserInfo(), newHostPrefix + uri.getHost(), uri.getPort(), uri.getPath(), uri.getQuery(), uri.getFragment()); } catch (URISyntaxException e) { throw new RuntimeException(e); } }  static String addStaticQueryParamtersToRequest(final Request<?> request,
                                                        final String uriResourcePath); static URI updateUriHost(URI uri, String newHostPrefix);  }
@Test public void testUpdateUriHost() throws URISyntaxException { Assert.assertThat(updateUriHost(new URI("https: equalTo(new URI("https: Assert.assertThat(updateUriHost(new URI("http: equalTo(new URI("http: }