|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.GenericServlet javax.servlet.http.HttpServlet org.melati.servlet.ConfigServlet org.melati.servlet.PoemServlet org.melati.test.PoemServletTest
public class PoemServletTest
Test a Melati configuration which accesses a POEM database without using a Template Engine.
Field Summary |
---|
Fields inherited from class org.melati.servlet.ConfigServlet |
---|
melatiConfig, sysAdminEmail, sysAdminName |
Constructor Summary | |
---|---|
PoemServletTest()
Constructor. |
Method Summary | |
---|---|
protected void |
doPoemRequest(Melati melati)
Override this method to build up your own output. |
protected String |
getUploadMessage(Melati melati)
|
protected void |
prePoemSession(Melati melati)
Normally one would ensure that these settings are present in the database, but they are ensured here so that everything is in one place. |
Methods inherited from class org.melati.servlet.PoemServlet |
---|
_handleException, destroy, doConfiguredRequest, getSysAdminEmail, getSysAdminName, handleException, poemContext, poemContextWithLDB |
Methods inherited from class org.melati.servlet.ConfigServlet |
---|
doGet, doPost, error, httpStatusCode, init, 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 |
---|
public PoemServletTest()
Method Detail |
---|
protected void prePoemSession(Melati melati) throws Exception
prePoemSession
in class PoemServlet
melati
- org.melati.Melati A source of information about the Melati
database context (database, table, object) and utility objects
such as error handlers.
Exception
PoemServlet.prePoemSession(org.melati.Melati)
protected void doPoemRequest(Melati melati) throws javax.servlet.ServletException, IOException
PoemServlet
doPoemRequest
in class PoemServlet
javax.servlet.ServletException
IOException
protected String getUploadMessage(Melati melati)
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |