Class SpringAwareGroovyServlet

  • All Implemented Interfaces:
    groovy.util.ResourceConnector, java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class SpringAwareGroovyServlet
    extends groovy.servlet.GroovyServlet
    Version of GroovyServlet which is making all Spring bean accessible from Registry.getApplicationContext().
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class groovy.servlet.AbstractHttpServlet

        CONTENT_TYPE_TEXT_HTML, encoding, INC_PATH_INFO, INC_REQUEST_URI, INC_SERVLET_PATH, INIT_PARAM_RESOURCE_NAME_REGEX, INIT_PARAM_RESOURCE_NAME_REGEX_FLAGS, namePrefix, reflection, resourceNamePattern, resourceNameReplaceAll, resourceNameReplacement, servletContext, verbose
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected groovy.util.GroovyScriptEngine createGroovyScriptEngine()  
      • Methods inherited from class groovy.servlet.GroovyServlet

        init, service
      • Methods inherited from class groovy.servlet.AbstractHttpServlet

        applyResourceNameMatcher, generateNamePrefixOnce, getResourceConnection, getScriptUri, getScriptUriAsFile, removeNamePrefix, setVariables
      • Methods inherited from class javax.servlet.http.HttpServlet

        doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
      • Methods inherited from class javax.servlet.GenericServlet

        destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SpringAwareGroovyServlet

        public SpringAwareGroovyServlet()
    • Method Detail

      • createGroovyScriptEngine

        protected groovy.util.GroovyScriptEngine createGroovyScriptEngine()
        Overrides:
        createGroovyScriptEngine in class groovy.servlet.GroovyServlet