toolbox.web.actions.session
Class InvalidateSessionAction

Package class diagram package InvalidateSessionAction
java.lang.Object
  extended by toolbox.web.BaseWebAction
      extended by toolbox.web.actions.session.InvalidateSessionAction
All Implemented Interfaces:
WebAction

public class InvalidateSessionAction
extends BaseWebAction
implements WebAction

Simple action implementation to invalidate the HTTP Session.


Constructor Summary
InvalidateSessionAction()
          Default constructor
 
Method Summary
 void execute(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.ServletContext context)
          Invalidate the session if it exists.
 
Methods inherited from class toolbox.web.BaseWebAction
create, dispatch, getBodyAsDocument, getBodyAsString, getDisplayTemplate, getFailureTemplate, getForeignContext, getGlobalProperty, getMessage, getName, getProperties, getProperty, getResource, getResourceBundle, getResourceString, getResourceString, getResourceString, getResourceString, getResourceString, getSuccessTemplate, getTemplate, getValidator, logConfig, logFine, logFiner, logFinest, logInfo, logSevere, logWarning, redirect, split
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface toolbox.web.WebAction
create
 

Constructor Detail

InvalidateSessionAction

public InvalidateSessionAction()
Default constructor

Method Detail

execute

public void execute(javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response,
                    javax.servlet.ServletContext context)
             throws javax.servlet.ServletException,
                    java.io.IOException
Invalidate the session if it exists.

Specified by:
execute in interface WebAction
Parameters:
request - HTTP request received.
response - HTTP response to be used.
context - Current servlet context.
Throws:
javax.servlet.ServletException
java.io.IOException