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: 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