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

more parameterizable/extensible GroovyServlet and AbstractHttpServlet

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 1.5.6
    • Fix Version/s: None
    • Component/s: Groovlet / GSP
    • Labels:
      None
    • Environment:
      all

      Description

      It's be super swell if GroovyServlet's 'gse' property were protected instead of private so it's lifecycle could be managed, rather than just it's creation. Similarly, it'd be very nice if the search path that AbstractHttpServlet uses in getResourceConnection were parameterizable, at least through code, if not through an initialization parameter.

      I've proof of concept code for a new GroovyServlet that addresses both issues. If the improvements are desired in the project, I'd be happy to polish it up and submit.

        Attachments

        1. ReloadableGroovyServlet.java
          2 kB
          Barney Boisvert
        2. groovy-2899.patch
          2 kB
          Barney Boisvert

          Activity

            People

            • Assignee:
              guillaume Guillaume Sauthier
              Reporter:
              barneyb Barney Boisvert
            • Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: