public interface Payload
Payload contains information for the current content being
processed.| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream()
Creates an
InputStream for the Payload content. |
String |
getMIMEType()
Returns the MIME type for this
Payload. |
long |
getSize()
Returns the length, in bytes, of the
Payload content. |
InputStream getInputStream() throws IOException
InputStream for the Payload content.
After reading, the InputStream must be closed in order to discard
temporary files.InputStream for the Payload contentIOExceptionString getMIMEType()
Payload.Payloadlong getSize()
Payload content.Payload content.