| java.lang.Object | |
| ↳ | com.ning.http.multipart.MultipartBody |
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Releases any resources associated with this body.
| |||||||||||
Gets the length of the body.
| |||||||||||
Reads the next chunk of bytes from the body.
| |||||||||||
Transfers the specified chunk of bytes from this body to the specified channel.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.ning.http.client.Body
| |||||||||||
From interface
com.ning.http.client.RandomAccessBody
| |||||||||||
Releases any resources associated with this body.
| IOException |
|---|
Gets the length of the body.
Reads the next chunk of bytes from the body.
| buffer | The buffer to store the chunk in, must not be null. |
|---|
-1 if the body has been read completely.| IOException |
|---|
Transfers the specified chunk of bytes from this body to the specified channel.
| position | The zero-based byte index from which to start the transfer, must not be negative. |
|---|---|
| count | The maximum number of bytes to transfer, must not be negative. |
| target | The destination channel to transfer the body chunk to, must not be null. |
| IOException |
|---|