Java Doc for HTMLHostManagerServlet.java in  » Sevlet-Container » apache-tomcat-6.0.14 » org » apache » catalina » manager » host » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Sevlet Container » apache tomcat 6.0.14 » org.apache.catalina.manager.host 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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





Method Summary
protected  Stringadd(HttpServletRequest request, String name)
     Add a host using the specified parameters.
public  voiddoGet(HttpServletRequest request, HttpServletResponse response)
     Process a GET request for the specified resource.
public  voidlist(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  Stringremove(String name)
     Remove the specified host.
protected  Stringstart(String name)
     Start the host with the specified name.
protected  Stringstop(String name)
     Stop the host with the specified name.



Method Detail
add
protected String add(HttpServletRequest request, String name)(Code)
Add a host using the specified parameters.
Parameters:
  name - host name



doGet
public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException(Code)
Process a GET request for the specified resource.
Parameters:
  request - The servlet request we are processing
Parameters:
  response - The servlet response we are creating
exception:
  IOException - if an input/output error occurs
exception:
  ServletException - if a servlet-specified error occurs



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



Fields inherited from org.apache.catalina.manager.host.HostManagerServlet
protected File configBase(Code)(Java Doc)
protected Context context(Code)(Java Doc)
protected int debug(Code)(Java Doc)
protected Engine engine(Code)(Java Doc)
protected Host host(Code)(Java Doc)
protected MBeanServer mBeanServer(Code)(Java Doc)
protected static StringManager sm(Code)(Java Doc)
protected Wrapper wrapper(Code)(Java Doc)

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)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.