@Test(expected = NullPointerException.class) public void createClientFromNullConfigTest() { EsClient.from(null); }
public static EsClient from(EsConfig config) { return new EsClient(config); }
EsClient implements AutoCloseable { public static EsClient from(EsConfig config) { return new EsClient(config); } }
EsClient implements AutoCloseable { public static EsClient from(EsConfig config) { return new EsClient(config); } private  EsClient(EsConfig config); }
EsClient implements AutoCloseable { public static EsClient from(EsConfig config) { return new EsClient(config); } private  EsClient(EsConfig config); static EsClient from(EsConfig config); Response performGetRequest(String endpoint); Response performPutRequest(String endpoint, Map<String, String> params, HttpEntity body); Response performPostRequest(String endpoint, Map<String, String> params, HttpEntity body); Response performDeleteRequest(String endpoint); @Override @SneakyThrows void close(); }
EsClient implements AutoCloseable { public static EsClient from(EsConfig config) { return new EsClient(config); } private  EsClient(EsConfig config); static EsClient from(EsConfig config); Response performGetRequest(String endpoint); Response performPutRequest(String endpoint, Map<String, String> params, HttpEntity body); Response performPostRequest(String endpoint, Map<String, String> params, HttpEntity body); Response performDeleteRequest(String endpoint); @Override @SneakyThrows void close();  }