org.apache.avalon.merlin.servlet
Class MerlinServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.avalon.merlin.servlet.MerlinServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class MerlinServlet
- extends javax.servlet.http.HttpServlet
Servlet that handles the establishment of a Merlin Kernel
and registration of the kernel base URL under the servlet
context using the key.
- Author:
- Avalon Development Team
- See Also:
- Serialized Form
Method Summary |
void |
destroy()
Disposes of container manager and container instance. |
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Respond to a GET request for the content produced by
this servlet. |
void |
init()
Initializes Servlet by the web server container. |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
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 |
MerlinServlet
public MerlinServlet()
init
public void init()
throws javax.servlet.ServletException
- Initializes Servlet by the web server container.
- Throws:
javax.servlet.ServletException
- if an error occurs
destroy
public void destroy()
- Disposes of container manager and container instance.
doGet
public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException,
javax.servlet.ServletException
- Respond to a GET request for the content produced by
this servlet. This method should be overidden in a
- Parameters:
request
- The servlet request we are processingresponse
- The servlet response we are producing
- Throws:
IOException
- if an input/output error occurs
javax.servlet.ServletException
- if a servlet error occurs
Copyright © The Apache Software Foundation. All Rights Reserved.