org.springframework.webflow.executor.struts
Class StrutsExternalContext
java.lang.Object
org.springframework.webflow.context.servlet.ServletExternalContext
org.springframework.webflow.executor.struts.StrutsExternalContext
- All Implemented Interfaces:
- ExternalContext
public class StrutsExternalContext
- extends ServletExternalContext
Provides consistent access to a Struts environment from within the Spring Web Flow system. Represents the context of
a request into SWF from Struts.
- Author:
- Keith Donald
Constructor Summary |
StrutsExternalContext(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Creates a new Struts external context. |
Method Summary |
org.apache.struts.action.ActionForm |
getActionForm()
Returns the action form. |
org.apache.struts.action.ActionMapping |
getActionMapping()
Returns the action mapping. |
Methods inherited from class org.springframework.webflow.context.servlet.ServletExternalContext |
getApplicationMap, getContext, getContextPath, getDispatcherPath, getGlobalSessionMap, getRequest, getRequestMap, getRequestParameterMap, getRequestPathInfo, getResponse, getSessionMap, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StrutsExternalContext
public StrutsExternalContext(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.ServletContext context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
- Creates a new Struts external context.
- Parameters:
mapping
- the action mappingform
- the action formcontext
- the servlet contextrequest
- the requestresponse
- the response
getActionForm
public org.apache.struts.action.ActionForm getActionForm()
- Returns the action form.
getActionMapping
public org.apache.struts.action.ActionMapping getActionMapping()
- Returns the action mapping.
Copyright © 2004-2007. All Rights Reserved.