org.melati.test
Class FlushingServletTest

Package class diagram package FlushingServletTest
java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.melati.servlet.ConfigServlet
              extended by org.melati.servlet.PoemServlet
                  extended by org.melati.servlet.TemplateServlet
                      extended by org.melati.template.webmacro.WebmacroMelatiServlet
                          extended by org.melati.test.FlushingServletTest
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class FlushingServletTest
extends WebmacroMelatiServlet

Illustrate the difference between flushing and not flushing your output buffer.

Author:
Tim Joyce $Revision: 1.14 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.melati.servlet.TemplateServlet
templateEngine
 
Fields inherited from class org.melati.servlet.ConfigServlet
melatiConfig, sysAdminEmail, sysAdminName
 
Constructor Summary
FlushingServletTest()
           
 
Method Summary
 String handle(Melati melati, org.webmacro.servlet.WebContext context)
          Main entry point.
protected  PoemContext poemContext(Melati melati)
          
 
Methods inherited from class org.melati.template.webmacro.WebmacroMelatiServlet
doTemplateRequest
 
Methods inherited from class org.melati.servlet.TemplateServlet
addExtension, doPoemRequest, error, init, prePoemSession
 
Methods inherited from class org.melati.servlet.PoemServlet
_handleException, destroy, doConfiguredRequest, getSysAdminEmail, getSysAdminName, handleException, poemContextWithLDB
 
Methods inherited from class org.melati.servlet.ConfigServlet
doGet, doPost, httpStatusCode, melatiConfig, 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
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

FlushingServletTest

public FlushingServletTest()
Method Detail

handle

public String handle(Melati melati,
                     org.webmacro.servlet.WebContext context)
              throws Exception
Main entry point.

Specified by:
handle in class WebmacroMelatiServlet
Throws:
Exception

poemContext

protected PoemContext poemContext(Melati melati)
                           throws PathInfoException

Overrides:
poemContext in class PoemServlet
Throws:
PathInfoException
See Also:
PoemServlet.poemContext(org.melati.Melati)


Copyright © 2000-2010 PanEris. All Rights Reserved.