Uploaded image for project: 'XML-RPC'
  1. XML-RPC
  2. XMLRPC-131

Improve extensibility of XmlRpcCommonsTransport

    XMLWordPrintableJSON

Details

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

      Attachments

        1. xmlrpc.patch
          2 kB
          Steffen Pingel
        2. MyHttpClientTransport.java
          1 kB
          Steffen Pingel

        Activity

          People

            Unassigned Unassigned
            stp Steffen Pingel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: