org.apache.catalina.servlets
クラス HTMLManagerServlet

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--org.apache.catalina.servlets.ManagerServlet
                    |
                    +--org.apache.catalina.servlets.HTMLManagerServlet
すべての実装インタフェース:
ContainerServlet, java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public final class HTMLManagerServlet
extends ManagerServlet

Servlet that enables remote management of the web applications installed within the same virtual host as this web application is. Normally, this functionality will be protected by a security constraint in the web application deployment descriptor. However, this requirement can be relaxed during testing.

The difference between this ManagerServlet and this Servlet is that this Servlet prints out a HTML interface which makes it easier to administrate.

However if you use a software that parses the output of ManagerServletManagerServlet

バージョン:
$Revision: 1.3 $, $Date: 2001/07/22 20:25:11 $
作成者:
Bip Thelin
関連項目:
ManagerServlet, 直列化された形式

クラス org.apache.catalina.servlets.ManagerServlet から継承したフィールド
context, debug, deployer, sm, wrapper
 
コンストラクタの概要
HTMLManagerServlet()
           
 
メソッドの概要
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Process a GET request for the specified resource.
 void list(java.io.PrintWriter writer)
          Render a HTML list of the currently active Contexts in our virtual host.
protected  void reload(java.io.PrintWriter writer, java.lang.String path)
          Reload the web application at the specified context path.
protected  void remove(java.io.PrintWriter writer, java.lang.String path)
          Remove the web application at the specified context path.
 void start(java.io.PrintWriter writer, java.lang.String path)
          Start the web application at the specified context path.
protected  void stop(java.io.PrintWriter writer, java.lang.String path)
          Stop the web application at the specified context path.
 
クラス org.apache.catalina.servlets.ManagerServlet から継承したメソッド
destroy, getWrapper, init, install, sessions, setWrapper
 
クラス javax.servlet.http.HttpServlet から継承したメソッド
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
クラス javax.servlet.GenericServlet から継承したメソッド
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

HTMLManagerServlet

public HTMLManagerServlet()
メソッドの詳細

doGet

public void doGet(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
           throws java.io.IOException,
                  javax.servlet.ServletException
Process a GET request for the specified resource.
オーバーライド:
クラス ManagerServlet 内の doGet
パラメータ:
request - The servlet request we are processing
response - The servlet response we are creating
例外:
java.io.IOException - if an input/output error occurs
javax.servlet.ServletException - if a servlet-specified error occurs

list

public void list(java.io.PrintWriter writer)
Render a HTML list of the currently active Contexts in our virtual host.
オーバーライド:
クラス ManagerServlet 内の list
パラメータ:
writer - Writer to render to

reload

protected void reload(java.io.PrintWriter writer,
                      java.lang.String path)
Reload the web application at the specified context path.
オーバーライド:
クラス ManagerServlet 内の reload
パラメータ:
writer - Writer to render to
path - Context path of the application to be restarted

remove

protected void remove(java.io.PrintWriter writer,
                      java.lang.String path)
Remove the web application at the specified context path.
オーバーライド:
クラス ManagerServlet 内の remove
パラメータ:
writer - Writer to render to
path - Context path of the application to be removed

start

public void start(java.io.PrintWriter writer,
                  java.lang.String path)
Start the web application at the specified context path.
オーバーライド:
クラス ManagerServlet 内の start
パラメータ:
writer - Writer to render to
path - Context path of the application to be started

stop

protected void stop(java.io.PrintWriter writer,
                    java.lang.String path)
Stop the web application at the specified context path.
オーバーライド:
クラス ManagerServlet 内の stop
パラメータ:
writer - Writer to render to
path - Context path of the application to be stopped


Copyright ? 2000-2001 Apache Software Foundation. All Rights Reserved.