Class HttpClient
- java.lang.Object
-
- org.nuxeo.elasticsearch.http.readonly.HttpClient
-
@Deprecated(since="11.5", forRemoval=true) public class HttpClient extends Object
Deprecated, for removal: This API element is subject to removal in a future version.since 11.5 in favor of elastic rest clientHttp client that handle GET request with a body.- Since:
- 7.3
-
-
Constructor Summary
Constructors Constructor Description HttpClient()
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static String
get(String url)
Deprecated, for removal: This API element is subject to removal in a future version.static String
get(String url, String payload)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
-
Method Detail
-
get
public static String get(String url) throws IOException
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
get
public static String get(String url, String payload) throws IOException
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
IOException
-
-