groovy.servlet
Class GroovyServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
groovy.servlet.GroovyServlet
- All Implemented Interfaces:
- ResourceConnector, java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class GroovyServlet
- extends javax.servlet.http.HttpServlet
- implements ResourceConnector
This servlet should be registered to *.groovy in the web.xml.
Groovy
groovy.servlet.GroovyServlet
Groovy
*.groovy
- Author:
- Sam Pullara
- See Also:
- Serialized Form
Method Summary |
java.net.URLConnection |
getResourceConnection(java.lang.String name)
|
javax.servlet.ServletContext |
getServletContext()
|
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, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroovyServlet
public GroovyServlet()
getServletContext
public javax.servlet.ServletContext getServletContext()
- Specified by:
getServletContext
in interface javax.servlet.ServletConfig
init
public void init(javax.servlet.ServletConfig config)
- Specified by:
init
in interface javax.servlet.Servlet
getResourceConnection
public java.net.URLConnection getResourceConnection(java.lang.String name)
throws ResourceException
- Specified by:
getResourceConnection
in interface ResourceConnector
- Throws:
ResourceException
service
public void service(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Specified by:
service
in interface javax.servlet.Servlet
- Throws:
javax.servlet.ServletException
java.io.IOException
Copyright © 2003-2004 The Codehaus. All Rights Reserved.