| org.apache.catalina.servlets.ManagerServlet org.apache.catalina.servlets.HTMLManagerServlet
HTMLManagerServlet | final public class HTMLManagerServlet extends ManagerServlet (Code) | | 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
ManagerServlet ManagerServlet
author: Bip Thelin author: Malcolm Edgar version: $Revision: 1.8 $, $Date: 2002/06/13 14:58:01 $ See Also: ManagerServlet |
Method Summary | |
public void | doGet(HttpServletRequest request, HttpServletResponse response) Process a GET request for the specified resource. | protected void | install(PrintWriter writer, String config, String path, String war) Install an application for the specified path from the specified
web application archive. | public void | list(PrintWriter writer, String message) Render a HTML list of the currently active Contexts in our virtual host,
and memory and server status information. | protected void | reload(PrintWriter writer, String path) Reload the web application at the specified context path. | protected void | remove(PrintWriter writer, String path) Remove the web application at the specified context path. | public void | sessions(PrintWriter writer, String path) Display session information and invoke list. | public void | start(PrintWriter writer, String path) Start the web application at the specified context path. | protected void | stop(PrintWriter writer, String path) Stop the web application at the specified context path. |
install | protected void install(PrintWriter writer, String config, String path, String war)(Code) | | Install an application for the specified path from the specified
web application archive.
Parameters: writer - Writer to render results to Parameters: config - URL of the context configuration file to be installed Parameters: path - Context path of the application to be installed Parameters: war - URL of the web application archive to be installed |
list | public void list(PrintWriter writer, String message)(Code) | | Render a HTML list of the currently active Contexts in our virtual host,
and memory and server status information.
Parameters: writer - Writer to render to Parameters: message - a message to display |
Methods inherited from org.apache.catalina.servlets.ManagerServlet | protected synchronized void deploy(PrintWriter writer, String path, HttpServletRequest request)(Code)(Java Doc) public void destroy()(Code)(Java Doc) public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException(Code)(Java Doc) public void doPut(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException(Code)(Java Doc) protected void extractXml(File war, File xml) throws IOException(Code)(Java Doc) public Wrapper getWrapper()(Code)(Java Doc) public void init() throws ServletException(Code)(Java Doc) protected void install(PrintWriter writer, String config, String path, String war)(Code)(Java Doc) protected void list(PrintWriter writer)(Code)(Java Doc) protected void printResources(PrintWriter writer, String prefix, javax.naming.Context namingContext, String type, Class clazz)(Code)(Java Doc) protected void reload(PrintWriter writer, String path)(Code)(Java Doc) protected void remove(PrintWriter writer, String path)(Code)(Java Doc) protected void resources(PrintWriter writer, String type)(Code)(Java Doc) protected void roles(PrintWriter writer)(Code)(Java Doc) protected void sessions(PrintWriter writer, String path)(Code)(Java Doc) public void setWrapper(Wrapper wrapper)(Code)(Java Doc) protected void start(PrintWriter writer, String path)(Code)(Java Doc) protected void stop(PrintWriter writer, String path)(Code)(Java Doc) protected void undeploy(PrintWriter writer, String path)(Code)(Java Doc) protected void undeployDir(File dir)(Code)(Java Doc) protected void uploadWar(HttpServletRequest request, File war) throws IOException(Code)(Java Doc)
|
|
|