requesting org.apache.axis.attachments.OctetStreamDataSource with configurable
content type
-------------------------------------------------------------------------------------------
Key: AXIS-2691
URL: https://issues.apache.org/jira/browse/AXIS-2691
Project: Axis
Issue Type: Improvement
Components: Basic Architecture
Affects Versions: 1.4
Environment: Win XP, JDK 1.4.2, Axis 1.4
Reporter: Akitoshi Yoshida
Priority: Minor
Fix For: current (nightly)
The current implementation of org.apache.axis.attachments.OctetStreamDataSource
assumes the fixed content type of application/octet-stream.
Since there is no other appropriate implementation for representing some
unknown binary data, it would be more useful if OctetStreamDataSource can take
a configurable content type as in ImageDataSource that has a default content
type of img/jpeg but can be configured to use any image type.
I propose to add an addional constructor to OctetStreamDataSource that takes
the content type parameter.
Enclosed in the diff file and the modified source file.
Best regards, Aki
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]