groovy.servlet
Class GroovyServlet

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--groovy.servlet.GroovyServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class GroovyServlet
extends javax.servlet.http.HttpServlet

This servlet should be registered to *.groovy in the web.xml. Groovy groovy.servlet.GroovyServlet Groovy *.groovy

Author:
Sam Pullara
See Also:
Serialized Form

Constructor Summary
GroovyServlet()
           
 
Method Summary
 void init(javax.servlet.ServletConfig config)
           
 void service(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response)
           
 
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

GroovyServlet

public GroovyServlet()
Method Detail

init

public void init(javax.servlet.ServletConfig config)
Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class javax.servlet.GenericServlet

service

public void service(javax.servlet.ServletRequest request,
                    javax.servlet.ServletResponse response)
             throws javax.servlet.ServletException,
                    IOException
Specified by:
service in interface javax.servlet.Servlet
Overrides:
service in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException


Copyright © 2003 The Codehaus. All Rights Reserved.