RibbonClient implements Client { static URI cleanUrl(String originalUrl, String host) { return URI.create(originalUrl.replaceFirst(host, "")); } @Deprecated  RibbonClient(); @Deprecated  RibbonClient(Client delegate);   RibbonClient(Client delegate, LBClientFactory lbClientFactory); static RibbonClient create(); static Builder builder(); @Override Response execute(Request request, Request.Options options);  }
@Test public void testCleanUrlWithMatchingHostAndPart() throws IOException { URI uri = RibbonClient.cleanUrl("http: assertEquals("http: }
@Test public void testCleanUrl() throws IOException { URI uri = RibbonClient.cleanUrl("http: assertEquals("http: }