org.mortbay.servlet
Class AdminServlet
- java.io.Serializable, Servlet, ServletConfig
public class AdminServlet
Jetty Administration Servlet.
This is a minimal start to a administration servlet that allows
start/stop of server components and control of debug parameters.
$Id: AdminServlet.java,v 1.13 2005/08/13 00:01:28 gregwilkins Exp $
destroy , getInitParameter , getInitParameterNames , getServletConfig , getServletContext , getServletInfo , getServletName , init , init , log , log , service |
getServletInfo
public String getServletInfo()
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()
.
- getServletInfo in interface Servlet
- getServletInfo in interface GenericServlet
- String information about this servlet, by default an
empty string
init
public void init(ServletConfig config)
throws ServletException
Called by the servlet container to indicate to a servlet that the
servlet is being placed into service. See
Servlet.init(ServletConfig)
.
This implementation stores the
ServletConfig
object it receives from the servlet container for later use.
When overriding this form of the method, call
super.init(config)
.
- init in interface Servlet
- init in interface GenericServlet
config
- the ServletConfig
object
that contains configutation information for this servlet
ServletException
- if an exception occurs that
interrupts the servlet's normal operation
Copyright © 2004 Mortbay Consulting Pty. Ltd. All Rights Reserved.