Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-17319

Consider caching PayloadArgumentResolver MethodParameter parsing

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.1 GA
    • Fix Version/s: 5.x Backlog
    • Component/s: Messaging
    • Labels:
      None
    • Last commented by a User:
      true

      Description

      Currently, the validate() method parses the parameter annotations on every call.

      It should be possible to cache the results and only parse on the first call.

        Attachments

          Activity

            People

            • Assignee:
              juergen.hoeller Juergen Hoeller
              Reporter:
              grussell Gary Russell
              Last updater:
              Spring Issuemaster
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Days since last comment:
                47 weeks, 5 days ago