|
||||||||||
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.servlet.TemplateServlet org.melati.login.Logout
public class Logout
A servlet which deletes login session cookies to log a user off from the system.
Field Summary |
---|
Fields inherited from class org.melati.servlet.TemplateServlet |
---|
templateEngine |
Fields inherited from class org.melati.servlet.ConfigServlet |
---|
melatiConfig, sysAdminEmail, sysAdminName |
Constructor Summary | |
---|---|
Logout()
|
Method Summary | |
---|---|
protected String |
doTemplateRequest(Melati melati,
ServletTemplateContext context)
Override this method to build up your own output. |
protected String |
logoutSuccessTemplate()
|
protected String |
logoutTemplate(String name)
|
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, poemContext, 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 |
---|
public Logout()
Method Detail |
---|
protected String logoutTemplate(String name)
protected String logoutSuccessTemplate()
protected String doTemplateRequest(Melati melati, ServletTemplateContext context) throws Exception
TemplateServlet
doTemplateRequest
in class TemplateServlet
melati
- the current Melaticontext
- the current ServletTemplateContext
Exception
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |