protected class ObservableBodyGenerator.ObservableBody
extends java.lang.Object
implements com.ning.http.client.Body
| Modifier | Constructor and Description |
|---|---|
protected |
ObservableBody() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
getContentLength() |
long |
read(java.nio.ByteBuffer buffer) |
public long getContentLength()
getContentLength in interface com.ning.http.client.Bodypublic long read(java.nio.ByteBuffer buffer)
throws java.io.IOException
read in interface com.ning.http.client.Bodyjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOException