Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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
.