|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ning.http.client.consumers.OutputStreamBodyConsumer
public class OutputStreamBodyConsumer
| Constructor Summary | |
|---|---|
OutputStreamBodyConsumer(java.io.OutputStream outputStream)
|
|
| Method Summary | |
|---|---|
void |
close()
Invoked when all the response bytes has been processed. |
void |
consume(java.nio.ByteBuffer byteBuffer)
Consume the received bytes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OutputStreamBodyConsumer(java.io.OutputStream outputStream)
| Method Detail |
|---|
public void consume(java.nio.ByteBuffer byteBuffer)
throws java.io.IOException
BodyConsumer
consume in interface BodyConsumerbyteBuffer - a ByteBuffer represntation of the response's chunk.
java.io.IOException
public void close()
throws java.io.IOException
BodyConsumer
close in interface BodyConsumerjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||