public abstract class AbstractLogoutAction
extends org.springframework.webflow.action.AbstractAction
| Modifier and Type | Field and Description |
|---|---|
static String |
FINISH_EVENT
The finish event in webflow.
|
static String |
FRONT_EVENT
The front event in webflow.
|
static String |
LOGOUT_INDEX
A constant for the logout index in web flow.
|
static String |
REDIRECT_APP_EVENT
The redirect to app event in webflow.
|
| Constructor and Description |
|---|
AbstractLogoutAction() |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.webflow.execution.Event |
doExecute(org.springframework.webflow.execution.RequestContext context) |
protected abstract org.springframework.webflow.execution.Event |
doInternalExecute(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.webflow.execution.RequestContext context)
Execute the logout action after invalidating the cache.
|
protected int |
getLogoutIndex(org.springframework.webflow.execution.RequestContext context) |
protected void |
preventCaching(javax.servlet.http.HttpServletResponse response)
Prevent caching by adding the appropriate headers.
|
protected void |
putLogoutIndex(org.springframework.webflow.execution.RequestContext context,
int index) |
public static final String LOGOUT_INDEX
public static final String FINISH_EVENT
public static final String FRONT_EVENT
public static final String REDIRECT_APP_EVENT
protected final org.springframework.webflow.execution.Event doExecute(org.springframework.webflow.execution.RequestContext context)
throws Exception
doExecute in class org.springframework.webflow.action.AbstractActionExceptionprotected abstract org.springframework.webflow.execution.Event doInternalExecute(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.webflow.execution.RequestContext context)
throws Exception
request - the HTTP request.response - the HTTP response.context - the webflow context.Exception - exception returned by this action.protected final void preventCaching(javax.servlet.http.HttpServletResponse response)
preventCaching method in the WebContentGenerator class.response - the HTTP response.protected final void putLogoutIndex(org.springframework.webflow.execution.RequestContext context,
int index)
protected final int getLogoutIndex(org.springframework.webflow.execution.RequestContext context)
Copyright © 2004-2015 Apereo. All Rights Reserved.