com.ning.http.client.generators
protected class InputStreamBodyGenerator.ISBody extends java.lang.Object implements Body
Modifier | Constructor and Description |
---|---|
protected |
InputStreamBodyGenerator.ISBody() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Releases any resources associated with this body.
|
long |
getContentLength()
Gets the length of the body.
|
long |
read(java.nio.ByteBuffer buffer)
Reads the next chunk of bytes from the body.
|
public long getContentLength()
Body
getContentLength
in interface Body
public long read(java.nio.ByteBuffer buffer) throws java.io.IOException
Body
Copyright © 2014. All Rights Reserved.