Class HttpClient
- java.lang.Object
-
- org.nuxeo.elasticsearch.http.readonly.HttpClient
-
public class HttpClient extends Object
Http client that handle GET request with a body.- Since:
- 7.3
-
-
Constructor Summary
Constructors Constructor Description HttpClient()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
get(String url)
static String
get(String url, String payload)
-
-
-
Constructor Detail
-
HttpClient
public HttpClient()
-
-
Method Detail
-
get
public static String get(String url) throws IOException
- Throws:
IOException
-
get
public static String get(String url, String payload) throws IOException
- Throws:
IOException
-
-