Modifier and Type | Method and Description |
---|---|
InputStream |
getInputStream()
Returns an input stream for the content.
|
long |
getLength()
Returns the content length, if known.
|
void |
release()
Releases this connection.
|
String |
toString()
Returns a debug string.
|
assertOk, getContentLength, getHeaderField, getHeaders, getResponseCode, getResponseMessage, isNotFound, isOk, parse
public InputStream getInputStream() throws IOException
release()
) after done reading.IOException
public long getLength()
public void release()
Copyright © 2013. All Rights Reserved.