Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Does the content of a multipart body data get decoded?

843830May 15 2003 — edited May 26 2003
When using MimeBodyPart.getContent(), is the content in the InputStream returned already decoded. For instance, I retrieve content from a multipart/form-data where the content is audio, e.g.


Content-Disposition: form-data; name="recording"
Content-Type: audio/x-wav
Content-Length: 17980

UklGRqQ0AABXQVZFZm10IBAAAAAHAAEAQB8AAEAfAAABAAgAZGF0YYA0AAD.......

When retrieving the input stream for this part, is the audio automatically decoded, or do I specifically need to do a base65 decode?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 23 2003
Added on May 15 2003
3 comments
189 views