Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-7049

Avoid allocation for empty buckets in FilteringHeaderResponse

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 9.12.0
    • 9.14.0
    • wicket-core
    • None

    Description

      FilteringHeaderResponse currently allocates a new StringResponse for every header bucket. In ajax requests, these buckets are almost always empty in our case. We should use LazyStringResponse in this case to prevent allocating the underlying string buffer.

      Attachments

        Issue Links

          Activity

            People

              thomas.heigl Thomas Heigl
              thomas.heigl Thomas Heigl
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: