Interface ContentFactory
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
ByteArrayContentFactory, FileContentFactory, InputStreamContentFactory
-
Method Summary
Modifier and TypeMethodDescriptionReturns a new data source of the data to be sent.
-
Method Details
-
getContent
Returns a new data source of the data to be sent. The instance must ensure that the returned stream will deliver the identical data during the lifetime of this instance. Nevertheless, how often the method will be called.- Returns:
- a new data source of the data to be sent.
- Throws:
IOException
-