org.melati.test
Class ConfigServletTestOverride

Package class diagram package ConfigServletTestOverride
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
                  extended by org.melati.test.ConfigServletTestOverride
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class ConfigServletTestOverride
extends ConfigServletTest

Demonstrates how to override individual property settings programmatically.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.melati.servlet.ConfigServlet
melatiConfig, sysAdminEmail, sysAdminName
 
Constructor Summary
ConfigServletTestOverride()
           
 
Method Summary
protected  String getUploadMessage(Melati melati)
           
protected  MelatiConfig melatiConfig()
          Demonstrates how to use a different melati configuration.
 
Methods inherited from class org.melati.test.ConfigServletTest
doConfiguredRequest
 
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

ConfigServletTestOverride

public ConfigServletTestOverride()
Method Detail

melatiConfig

protected MelatiConfig melatiConfig()
Description copied from class: ConfigServletTest
Demonstrates how to use a different melati configuration.

Overrides:
melatiConfig in class ConfigServletTest
Returns:
a new MelatiConfig

getUploadMessage

protected String getUploadMessage(Melati melati)
Overrides:
getUploadMessage in class ConfigServletTest


Copyright © 2000-2010 PanEris. All Rights Reserved.