Class RestClientWrapper
java.lang.Object
org.apache.drill.exec.store.druid.rest.RestClientWrapper
- All Implemented Interfaces:
RestClient
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
RestClientWrapper
public RestClientWrapper()
-
-
Method Details
-
get
Description copied from interface:RestClientExecutes an HTTP GET.- Specified by:
getin interfaceRestClient- Parameters:
url- request URL- Returns:
- a Response object that the caller is responsible for closing.
- Throws:
IOException
-
post
Description copied from interface:RestClientExecutes an HTTP POST.- Specified by:
postin interfaceRestClient- Parameters:
url- request URL.body- request body.- Returns:
- a Response object that the caller is responsible for closing.
- Throws:
IOException
-