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

PropertyHandlerMapping should allow unprefixed names

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.3
    • Fix Version/s: 3.1.4
    • Component/s: Source
    • Labels:
      None

      Description

      Currently PropertyHandlerMapping will always register method names with the form "<pKey>.<methodname>", there is no way to create a method without prefix. Even when pKey is null, the name generated will be "null.<methodname>".

      Similiar to the recent change on the client side, I propose to change name generation to not generate a prefix if pKey is null, e.g. in registerPublicMethods():

      String name=(pKey!=null)?(pKey + "." + method.getName()):method.getName();

        Attachments

          Activity

            People

            • Assignee:
              jochen@apache.org Jochen Wiedmann
              Reporter:
              owagner Oliver Wagner
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: