Class HtsgetResponse.Block

    • Method Detail

      • getUri

        public URI getUri()
      • getData

        public InputStream getData()
        Gets data from this block either from its base64 encoded data url or by making an http request
        Returns:
        InputStream of data from this block
      • parse

        public static HtsgetResponse.Block parse​(org.json.simple.JSONObject blockJson)
        Parse a single data block from a json value
        Parameters:
        blockJson - json value representing a block
        Returns:
        parsed block object