You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-auto@ws.apache.org by "Steffen Pingel (JIRA)" <xm...@ws.apache.org> on 2007/01/15 20:24:27 UTC
[jira] Commented: (XMLRPC-131) Improve extensibility of
XmlRpcCommonsTransport
[ https://issues.apache.org/jira/browse/XMLRPC-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464939 ]
Steffen Pingel commented on XMLRPC-131:
---------------------------------------
MyHttpClientTransport.java is a stripped down version of the custom transport used in the Mylar project: http://dev.eclipse.org/viewcvs/indextech.cgi/org.eclipse.mylar/org.eclipse.mylar.trac.core/src/org/eclipse/mylar/internal/trac/core/util/TracHttpClientTransportFactory.java?view=markup . It is meant as an example why the patch is needed.
> Improve extensibility of XmlRpcCommonsTransport
> -----------------------------------------------
>
> Key: XMLRPC-131
> URL: https://issues.apache.org/jira/browse/XMLRPC-131
> Project: XML-RPC
> Issue Type: Improvement
> Reporter: Steffen Pingel
> Attachments: MyHttpClientTransport.java, xmlrpc.patch
>
>
> As mentioned in XMLRPC-101 comment 7 it is not easily possible to add proxy and ssl support to XmlRpcCommonsTransport. The client and method fields should be made accessible to sub-classes for better extensibility. Currently using reflection is the only work around to access these.
> I have attached a patch that contains an additional change:
> Calling the protected method newHttpClient() from the constructor is error prone. The constructor of sub-classes overriding it has not been completed when it is run so assignments to fields etc. has not been done. I moved the call to initHttpHeaders() instead
> .
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira