Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.5
-
None
-
None
Description
Currently it is not possible to build a Message object out of the box. This is because the user has to write a custom class that holds the message body first. TempFileBinaryBody and TempFileTextBody are package private and there is no other alternative.
But instead of making these classes public a factory class should be added. This factory should provide methods for
creating text and binary bodies from various sources such as InputStreams or Strings.