org.melati.test
Class ExitServlet

Package class diagram package ExitServlet
java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.melati.servlet.ConfigServlet
              extended by org.melati.test.ExitServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class ExitServlet
extends ConfigServlet

Test how your servlet container behaves when you call System.exit(0). Jetty calls shutdown hook.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.melati.servlet.ConfigServlet
melatiConfig, sysAdminEmail, sysAdminName
 
Constructor Summary
ExitServlet()
           
 
Method Summary
protected  void doConfiguredRequest(Melati melati)
          Instantiate this method to build up your own output.
 
Methods inherited from class org.melati.servlet.ConfigServlet
doGet, doPost, error, getSysAdminEmail, getSysAdminName, httpStatusCode, init, melatiConfig, poemContext, setSysAdminEmail, setSysAdminName, writeConnectionPendingException, writeError
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExitServlet

public ExitServlet()
Method Detail

doConfiguredRequest

protected void doConfiguredRequest(Melati melati)
                            throws javax.servlet.ServletException,
                                   IOException
Description copied from class: ConfigServlet
Instantiate this method to build up your own output.

Specified by:
doConfiguredRequest in class ConfigServlet
Throws:
javax.servlet.ServletException
IOException


Copyright © 2000-2010 PanEris. All Rights Reserved.