@Test public void TestElasticsearchHTTP() { HttpHost host = null; host = HttpHost.create(""); Assert.assertEquals(host.getSchemeName(), "http"); Assert.assertEquals(host.getAddress(), null); Assert.assertEquals(host.getHostName(), ""); Assert.assertEquals(host.getPort(), -1); host = HttpHost.create("192.168.0.100"); Assert.assertEquals(host.getSchemeName(), "http"); Assert.assertEquals(host.getAddress(), null); Assert.assertEquals(host.getHostName(), "192.168.0.100"); Assert.assertEquals(host.getPort(), -1); host = HttpHost.create("192.168.0.100:80"); Assert.assertEquals(host.getSchemeName(), "http"); Assert.assertEquals(host.getAddress(), null); Assert.assertEquals(host.getHostName(), "192.168.0.100"); Assert.assertEquals(host.getPort(), 80); host = HttpHost.create("http: Assert.assertEquals(host.getSchemeName(), "http"); Assert.assertEquals(host.getAddress(), null); Assert.assertEquals(host.getHostName(), "192.168.0.100"); Assert.assertEquals(host.getPort(), -1); host = HttpHost.create("https: Assert.assertEquals(host.getSchemeName(), "https"); Assert.assertEquals(host.getAddress(), null); Assert.assertEquals(host.getHostName(), "192.168.0.100"); Assert.assertEquals(host.getPort(), -1); }
public ElasticsearchHTTP(Map config) { super(config); }
ElasticsearchHTTP extends BaseOutput { public ElasticsearchHTTP(Map config) { super(config); } }
ElasticsearchHTTP extends BaseOutput { public ElasticsearchHTTP(Map config) { super(config); } ElasticsearchHTTP(Map config); }
ElasticsearchHTTP extends BaseOutput { public ElasticsearchHTTP(Map config) { super(config); } ElasticsearchHTTP(Map config); void shutdown(); }
ElasticsearchHTTP extends BaseOutput { public ElasticsearchHTTP(Map config) { super(config); } ElasticsearchHTTP(Map config); void shutdown();  }