|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.noderunner.amazon.s3.Response
net.noderunner.amazon.s3.GetStreamResponse
public class GetStreamResponse
A Response object returned from Connection.getStream().
This response, once read, must be released by calling release()
.
Method Summary | |
---|---|
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. |
Methods inherited from class net.noderunner.amazon.s3.Response |
---|
assertOk, getContentLength, getHeaderField, getHeaders, getResponseCode, getResponseMessage, isNotFound, isOk, parse |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public InputStream getInputStream() throws IOException
release()
) after done reading.
IOException
public long getLength()
public void release()
public String toString()
toString
in class Response
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |