com.ephox.editlive.http.manager.inputstream
Interface HttpInputStreamManager


public interface HttpInputStreamManager

InputStream Download manager. Instance available via HttpManagerFactory.

Since:
8.0

Method Summary
 InputStream getInputStream(URL url)
          Downloads and caches a URL as an InputStream.
 

Method Detail

getInputStream

InputStream getInputStream(URL url)
Downloads and caches a URL as an InputStream. NOTE: The caller must completely consume this stream for it to be cached.

Parameters:
url - the URL to download from.
Returns:
The downloaded InputStream or null if the download fails
Since:
8.0

Copyright (c) 2005-2012 Ephox Pty Ltd. All rights reserved.