org.mortbay.servlet
Class AdminServlet
java.lang.Object
|
+--javax.servlet.GenericServlet
|
+--javax.servlet.http.HttpServlet
|
+--org.mortbay.servlet.AdminServlet
- All Implemented Interfaces:
- java.io.Serializable, Servlet, ServletConfig
- public class AdminServlet
- extends HttpServlet
Jetty Administration Servlet.
This is a minimal start to a administration servlet that allows
start/stop of server components and control of debug parameters.
- Version:
- $Id: AdminServlet.java,v 1.1 2001/09/02 01:13:08 gregwilkins Exp $
- Author:
- Greg Wilkins (gregw)
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdminServlet
public AdminServlet()
init
public void init(ServletConfig config)
throws ServletException
- Description copied from class:
GenericServlet
- Called by the servlet container to indicate to a servlet that the
servlet is being placed into service. See
Servlet.init(javax.servlet.ServletConfig).
This implementation stores the ServletConfig
object it receives from the servlet container for alter use.
When overriding this form of the method, call
super.init(config).
- Overrides:
init in class GenericServlet
- Following copied from class:
javax.servlet.GenericServlet
- Parameters:
config - the ServletConfig object
that contains configutation
information for this servlet- Throws:
ServletException - if an exception occurs that
interrupts the servlet's normal
operation- See Also:
UnavailableException
doGet
public void doGet(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
java.io.IOException
doPost
public void doPost(HttpServletRequest request,
HttpServletResponse response)
throws ServletException,
java.io.IOException
getServletInfo
public java.lang.String getServletInfo()
- Description copied from class:
GenericServlet
- Returns information about the servlet, such as
author, version, and copyright.
By default, this method returns an empty string. Override this method
to have it return a meaningful value. See
Servlet.getServletInfo().
- Overrides:
getServletInfo in class GenericServlet
- Following copied from class:
javax.servlet.GenericServlet
- Returns:
- String information about this servlet, by default an
empty string
Copyright © 2000 Mortbay Consulting Pty. Ltd. All Rights Reserved.