Interface RestClient
- All Known Implementing Classes:
RestClientWrapper
public interface RestClient
-
Method Summary
-
Method Details
-
get
Executes an HTTP GET.- Parameters:
url
- request URL- Returns:
- a Response object that the caller is responsible for closing.
- Throws:
IOException
-
post
Executes an HTTP POST.- Parameters:
url
- request URL.body
- request body.- Returns:
- a Response object that the caller is responsible for closing.
- Throws:
IOException
-