java.com.ionic.sdk.httpclient.HttpClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ionic-sdk Show documentation
Show all versions of ionic-sdk Show documentation
The Ionic Java SDK provides an easy-to-use interface to the Ionic Platform.
package com.ionic.sdk.httpclient;
import java.io.IOException;
/**
* The object that provides the ability to communicate with an HTTP server.
*/
public interface HttpClient {
/**
* Send a request to the specified HTTP server.
*
* @param httpRequest the data associated with the client request
* @return the response received from the server
* @throws IOException if an I/O error occurs
*/
HttpResponse execute(HttpRequest httpRequest) throws IOException;
}