[Axis2][Axiom] Proposal to change the OMBuilder interface

"Thilina Gunarathne" <[email protected]>
Newsgroups gmane.text.xml.axis.devel,gmane.text.xml.commons.devel
Message-ID <[email protected]>
Hi all,
As requested in the AXIS2-2213 I would like to change the method
signature of the  init method in the OMBuilder  as follows.

public void init(InputStream inputStream, String charSetEncoding,
String url, String contentType)

URL will be useful when building an OM from query parameters. Also the
content-type will be useful to find the boundary value when handling a
boundary delimited message... This will be useful for
multipart/form-data as well as for the MIME..

With the above change we'll be able to move the MIME builder creation
logic in to builders.. In order to make it possible I would like to
add a getAttachments() method to the OMBuilder.

Thanks,
Thilina
-- 
Thilina Gunarathne
WSO2, Inc.; http://www.wso2.com/
Home page: http://webservices.apache.org/~thilina/
Blog: http://thilinag.blogspot.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.