Interface Connector

  • All Known Implementing Classes:
    URLConnector

    public interface Connector
    Interface wrapping HTTP connection logic
    See Also:
    URLConnector
    • Method Detail

      • get

        String get​(String link)
            throws IOException
        Perform an HTTP request. Return the response body as String.
        Parameters:
        link - a full link, including scheme
        Returns:
        server response body as String, never null
        Throws:
        IOException - if a problem occurred with the connection