AbstractJestClient implements JestClient { protected String getRequestURL(String elasticSearchServer, String uri) { StringBuilder sb = new StringBuilder(elasticSearchServer); if (uri.length() > 0 && uri.charAt(0) == '/') sb.append(uri); else sb.append('/').append(uri); return sb.toString(); }  void setNodeChecker(NodeChecker nodeChecker); void setIdleConnectionReaper(IdleConnectionReaper idleConnectionReaper); void setServers(Set<String> servers); @Override void shutdownClient(); @Override void close(); boolean isRequestCompressionEnabled(); void setRequestCompressionEnabled(boolean requestCompressionEnabled); static final String ELASTIC_SEARCH_DATE_FORMAT; }
@Test public void getRequestURL() { String requestURI = "twitter/tweet/1"; String elasticSearchServer = "http: assertEquals("http: }