net.spy.jwebkit.struts
Class LogoutAction

java.lang.Object
  extended by org.apache.struts.action.Action
      extended by net.spy.jwebkit.struts.JWebAction
          extended by net.spy.jwebkit.struts.LogoutAction

public class LogoutAction
extends JWebAction

Action to invalidate a session. This action uses the following forward:


Field Summary
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
LogoutAction()
           
 
Method Summary
protected  org.apache.struts.action.ActionForward spyExecute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Process the request.
 
Methods inherited from class net.spy.jwebkit.struts.JWebAction
execute, getLogger, spyCancel
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogoutAction

public LogoutAction()
Method Detail

spyExecute

protected org.apache.struts.action.ActionForward spyExecute(org.apache.struts.action.ActionMapping mapping,
                                                            org.apache.struts.action.ActionForm form,
                                                            javax.servlet.http.HttpServletRequest request,
                                                            javax.servlet.http.HttpServletResponse response)
                                                     throws java.lang.Exception
Process the request.

Specified by:
spyExecute in class JWebAction
Parameters:
mapping - the mapping
form - the form
request - the request
response - the response
Returns:
the ``next-hop'' forward
Throws:
java.lang.Exception - if there's a problem with the action


Copyright © 1995-2007 SPY Internetworking. All Rights Reserved.