org.melati.test
Class ConfigServletTest

Package class diagram package ConfigServletTest
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.ConfigServletTest
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
Direct Known Subclasses:
ConfigServletTestOverride

public class ConfigServletTest
extends ConfigServlet

Test a Melati configuration without using a Template Engine.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.melati.servlet.ConfigServlet
melatiConfig, sysAdminEmail, sysAdminName
 
Constructor Summary
ConfigServletTest()
           
 
Method Summary
protected  void doConfiguredRequest(Melati melati)
          Instantiate this method to build up your own output.
protected  String getUploadMessage(Melati melati)
           
protected  MelatiConfig melatiConfig()
          Demonstrates how to use a different melati configuration.
 
Methods inherited from class org.melati.servlet.ConfigServlet
doGet, doPost, error, getSysAdminEmail, getSysAdminName, httpStatusCode, init, 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

ConfigServletTest

public ConfigServletTest()
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

melatiConfig

protected MelatiConfig melatiConfig()
Demonstrates how to use a different melati configuration.

Overrides:
melatiConfig in class ConfigServlet
Returns:
a new MelatiConfig

getUploadMessage

protected String getUploadMessage(Melati melati)


Copyright © 2000-2010 PanEris. All Rights Reserved.