org.springframework.webflow.executor.struts
Class StrutsExternalContext

java.lang.Object
  extended by org.springframework.webflow.context.servlet.ServletExternalContext
      extended by 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
 

Constructor Detail

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 mapping
form - the action form
context - the servlet context
request - the request
response - the response
Method Detail

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.