Class RuntimeHttpUtils


  • public class RuntimeHttpUtils
    extends Object
    • Constructor Detail

      • RuntimeHttpUtils

        public RuntimeHttpUtils()
    • Method Detail

      • fetchFile

        public static InputStream fetchFile​(URI uri,
                                            ClientConfiguration config)
                                     throws IOException
        Fetches a file from the URI given and returns an input stream to it.
        Parameters:
        uri - the uri of the file to fetch
        config - optional configuration overrides
        Returns:
        an InputStream containing the retrieved data
        Throws:
        IOException - on error