Package be.ceau.itunesapi.http
Interface Connector
-
- All Known Implementing Classes:
URLConnector
public interface ConnectorInterface wrapping HTTP connection logic- See Also:
URLConnector
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringget(String link)Perform an HTTP request.
-
-
-
Method Detail
-
get
String get(String link) throws IOException
Perform an HTTP request. Return the response body asString.- Parameters:
link- a full link, including scheme- Returns:
- server response body as
String, nevernull - Throws:
IOException- if a problem occurred with the connection
-
-