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

PropertyHandlerMapping should allow unprefixed names

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.1.3
    • 3.1.4
    • Source
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: