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

Improve toString in path extension and query parameter predicates

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: None
    • Fix Version/s: 5.0.7, 5.1 RC1
    • Component/s: Reactive, Web
    • Labels:
      None
    • Last commented by a User:
      false

      Description

      Unlike the other RequestPredicate implementations, the RequestPredicates.queryParam and RequestPredicates.pathExtension predicates are implemented as inline lambda's. Lambda's do not have a usable toString, making them useless for logging purposes.

      We should move the lambda's for these extensions to inner classes, so that they can have a proper toString}.

        Attachments

          Activity

            People

            • Assignee:
              arjen.poutsma Arjen Poutsma
              Reporter:
              arjen.poutsma Arjen Poutsma
              Last updater:
              St├ęphane Nicoll
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                13 weeks ago