| org.apache.catalina.manager.host.HostManagerServlet org.apache.catalina.manager.host.HTMLHostManagerServlet
HTMLHostManagerServlet | final public class HTMLHostManagerServlet extends HostManagerServlet (Code) | | Servlet that enables remote management of the virtual hosts deployed
on the server. 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 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
author: Bip Thelin author: Malcolm Edgar author: Glenn L. Nielsen author: Peter Rossbach version: $Revision: 557454 $, $Date: 2007-07-19 04:19:10 +0200 (jeu., 19 juil. 2007) $ See Also: ManagerServlet |
list | public void list(HttpServletRequest request, HttpServletResponse response, String message) throws IOException(Code) | | Render a HTML list of the currently active Contexts in our virtual host,
and memory and server status information.
Parameters: request - The request Parameters: response - The response Parameters: message - a message to display |
remove | protected String remove(String name)(Code) | | Remove the specified host.
Parameters: writer - Writer to render results to Parameters: name - host name |
start | protected String start(String name)(Code) | | Start the host with the specified name.
Parameters: name - Host name |
stop | protected String stop(String name)(Code) | | Stop the host with the specified name.
Parameters: name - Host name |
Methods inherited from org.apache.catalina.manager.host.HostManagerServlet | protected void add(HttpServletRequest request, PrintWriter writer, String name, boolean htmlMode)(Code)(Java Doc) protected synchronized void add(PrintWriter writer, String name, String aliases, String appBase, boolean manager, boolean autoDeploy, boolean deployOnStartup, boolean deployXML, boolean unpackWARs, boolean xmlNamespaceAware, boolean xmlValidation)(Code)(Java Doc) protected boolean booleanParameter(HttpServletRequest request, String parameter, boolean theDefault, boolean htmlMode)(Code)(Java Doc) public void destroy()(Code)(Java Doc) public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException(Code)(Java Doc) protected File getConfigBase(String hostName)(Code)(Java Doc) public Wrapper getWrapper()(Code)(Java Doc) public void init() throws ServletException(Code)(Java Doc) protected void list(PrintWriter writer)(Code)(Java Doc) protected synchronized void remove(PrintWriter writer, String name)(Code)(Java Doc) public void setWrapper(Wrapper wrapper)(Code)(Java Doc) protected void start(PrintWriter writer, String name)(Code)(Java Doc) protected void stop(PrintWriter writer, String name)(Code)(Java Doc)
|
|
|