org.apache.catalina.manager.host
public final class HTMLHostManagerServlet extends HostManagerServlet
The difference between the HostManagerServlet
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
HostManagerServlet
you won't be able to upgrade
to this Servlet since the output are not in the
same format as from HostManagerServlet
Version: $Revision: 662585 $, $Date: 2008-06-02 23:44:22 +0200 (Mon, 02 Jun 2008) $
See Also: ManagerServlet
Method Summary | |
---|---|
protected String | add(HttpServletRequest request, String name)
Add a host using the specified parameters.
|
void | doGet(HttpServletRequest request, HttpServletResponse response)
Process a GET request for the specified resource.
|
void | list(HttpServletRequest request, HttpServletResponse response, String message)
Render a HTML list of the currently active Contexts in our virtual host,
and memory and server status information.
|
protected String | remove(String name)
Remove the specified host.
|
protected String | start(String name)
Start the host with the specified name.
|
protected String | stop(String name)
Stop the host with the specified name.
|
Parameters: name host name
Parameters: request The servlet request we are processing response The servlet response we are creating
Throws: IOException if an input/output error occurs ServletException if a servlet-specified error occurs
Parameters: request The request response The response message a message to display
Parameters: writer Writer to render results to name host name
Parameters: name Host name
Parameters: name Host name