Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-336

The Cookies service interface could be simplified using a builder pattern

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 5.0.15
    • 5.4
    • tapestry-core
    • None

    Description

      There's half a dozen different variations that could all be simplified using the builder pattern, where you create a CookieBuilder(), chain a sequence of method calls on it, then invoke a commit() method to actually create and add the Cookie to the request.

      Attachments

        Activity

          People

            ulrich.staerk Ulrich Stärk
            hlship Howard Lewis Ship
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: