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

Ease extending XmlRpcServlet

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1.1
    • Component/s: Source
    • Labels:
      None

      Description

      Short story: XmlRpcServlet is not easy to extend since 1) instance variables are private and 2) newPropertyHandlerMapping(URL url) method that often needs to be extended contains logic and potential bug fixes to risk to be missed.

      Long story: the long story is that two classes needs to be extended only to be able to change what methods are to be registered in AbstractReflectiveHandlerMapping.registerPublicMethods (this is done by extending isHandlerMethod).

      I'd prefer a solution where AbstractReflectiveHandlerMapping nor XmlRpcServlet needs to be extended.

        Attachments

        1. XMLRPC-125.diff
          2 kB
          Jimisola Laursen

          Activity

            People

            • Assignee:
              jochen@apache.org Jochen Wiedmann
              Reporter:
              jimisola Jimisola Laursen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: