Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-4826

ServletBinding should initialize "parameters" binding lazilly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.8.0
    • None
    • Groovlet / GSP
    • None

    Description

      I tried GroovyServlet with Winstone servlet container. When i retrieved inputStream from the request, the Winstone server logged this error:
      > Called getInputStream after getParameter ... error
      After debugging, I discovered that ServletBinding in its constructor calls request.getParameterNames() to construct a map of all request parameters. This could be done lazilly just like "out" etc. is initialized.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jakub.neubauer Jakub Neubauer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: