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