Class HttpClient
- java.lang.Object
-
- com.floragunn.searchguard.httpclient.HttpClient
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class HttpClient extends Object implements Closeable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHttpClient.HttpClientBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static HttpClient.HttpClientBuilderbuilder(String... servers)voidclose()booleanindex(String content, String index, String type, boolean refresh)
-
-
-
Method Detail
-
builder
public static HttpClient.HttpClientBuilder builder(String... servers)
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-