|
||||||||||
| 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 | |
|---|---|
java.io.InputStream |
getInputStream()
Returns an input stream for the content. |
long |
getLength()
Returns the content length, if known. |
void |
release()
Releases this connection. |
java.lang.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 java.io.InputStream getInputStream()
throws java.io.IOException
release()) after done reading.
java.io.IOExceptionpublic long getLength()
public void release()
public java.lang.String toString()
toString in class Response
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||