com.ning.http.client.consumers
public class OutputStreamBodyConsumer extends java.lang.Object implements BodyConsumer
Constructor and Description |
---|
OutputStreamBodyConsumer(java.io.OutputStream outputStream) |
public OutputStreamBodyConsumer(java.io.OutputStream outputStream)
public void consume(java.nio.ByteBuffer byteBuffer) throws java.io.IOException
BodyConsumer
consume
in interface BodyConsumer
byteBuffer
- a ByteBuffer
represntation of the response's chunk.java.io.IOException
public void close() throws java.io.IOException
BodyConsumer
close
in interface BodyConsumer
java.io.IOException
Copyright © 2014. All Rights Reserved.