Interface HttpDataFetcher


public interface HttpDataFetcher
Author:
Ingrid Kamga
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.JsonNode
    Performs an HTTP GET at the URI and parses the response as JSON
  • Method Details

    • fetchJsonData

      com.fasterxml.jackson.databind.JsonNode fetchJsonData(String uri) throws IOException
      Performs an HTTP GET at the URI and parses the response as JSON
      Throws:
      IOException - if I/O error or HTTP status not OK (200)