public interface PartData
| Modifier and Type | Method and Description | 
|---|---|
| ByteBuffer | getByteBuffer()Gets the content of this chunk as a ByteBuffer. | 
| byte[] | getBytes()Gets the content of this chunk as a byte[]. | 
| Optional<MediaType> | getContentType()Gets the content type of this chunk. | 
| InputStream | getInputStream()Gets the content of this chunk as an InputStream. | 
InputStream getInputStream() throws IOException
IOException - If an error occurs in retrieving the contentbyte[] getBytes()
         throws IOException
IOException - If an error occurs in retrieving the contentByteBuffer getByteBuffer() throws IOException
IOException - If an error occurs in retrieving the content