Interface StreamProviderBase

    • Method Detail

      • get

        InputStream get()
        Returns a InputStream for the requested content every time this method is called. Note that the returned `InputStream` must be closed after read otherwise the http client may hang on a later request. Use the StreamProvider.contentType() method to get the mime type of the content delivered via the InputStream.
        Returns:
        InputStream for the requested content that must be closed after use
      • getBytes

        default byte[] getBytes()
      • getStringUtf8

        default String getStringUtf8()