public class StreamingUrl extends Url
call, client, headersRequest, headersResponse, KNOWN_HEADERS, request, response, responseCharset, responseCode, responseContentLength, responseContentType, responseMessage, uri, url, USER_AGENT
Constructor and Description |
---|
StreamingUrl(String url) |
Modifier and Type | Method and Description |
---|---|
InputStream |
getInputStream()
get the InputStream of the content.
|
addHeader, addHeader, addHeaders, cleanup, download, download, getBytes, getBytesWithRetry, getCharset, getContentEncoding, getContentLength, getHeader, getHeadersResponse, getInputStreamWithRetry, getStatusCode, getStatusLine, getUrl, isFault, morphStringToUri, setUserAgent, splitHeadersFromUrl, toString
public StreamingUrl(String url) throws IOException
IOException
public InputStream getInputStream() throws IOException, InterruptedException
getInputStream
in class Url
IOException
- Signals that an I/O exception has occurred.InterruptedException
Copyright © 2012–2018 tinyMediaManager. All rights reserved.