org.codehaus.groovy.grails.webflow.mvc.servlet
Class GrailsFlowHandlerAdapter

java.lang.Object
  extended by org.springframework.context.support.ApplicationObjectSupport
      extended by org.springframework.web.context.support.WebApplicationObjectSupport
          extended by org.springframework.web.servlet.support.WebContentGenerator
              extended by org.springframework.webflow.mvc.servlet.FlowHandlerAdapter
                  extended by org.codehaus.groovy.grails.webflow.mvc.servlet.GrailsFlowHandlerAdapter
All Implemented Interfaces:
org.codehaus.groovy.grails.plugins.support.aware.GrailsApplicationAware, org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware, org.springframework.web.servlet.HandlerAdapter

public class GrailsFlowHandlerAdapter
extends org.springframework.webflow.mvc.servlet.FlowHandlerAdapter
implements org.codehaus.groovy.grails.plugins.support.aware.GrailsApplicationAware, org.springframework.context.ApplicationContextAware

Extends the default FlowHandlerAdapter in order to populate a valid Grails request.

Since:
1.1.1

Field Summary
 
Fields inherited from class org.springframework.web.servlet.support.WebContentGenerator
METHOD_GET, METHOD_HEAD, METHOD_POST
 
Constructor Summary
GrailsFlowHandlerAdapter()
           
 
Method Summary
 org.springframework.web.servlet.ModelAndView handle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.Object handler)
           
 void setGrailsApplication(org.codehaus.groovy.grails.commons.GrailsApplication grailsApplication)
           
 
Methods inherited from class org.springframework.webflow.mvc.servlet.FlowHandlerAdapter
afterPropertiesSet, createServletExternalContext, defaultCreateFlowExecutionInputMap, defaultGetFlowId, defaultHandleException, defaultHandleExecutionOutcome, getAjaxHandler, getFlowExecutor, getFlowUrlHandler, getLastModified, getRedirectHttp10Compatible, sendRedirect, setAjaxHandler, setFlowExecutor, setFlowUrlHandler, setRedirectHttp10Compatible, supports
 
Methods inherited from class org.springframework.web.servlet.support.WebContentGenerator
applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader
 
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
 
Methods inherited from class org.springframework.context.support.ApplicationObjectSupport
getApplicationContext, getMessageSourceAccessor, initApplicationContext, requiredContextClass, setApplicationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.springframework.context.ApplicationContextAware
setApplicationContext
 

Constructor Detail

GrailsFlowHandlerAdapter

public GrailsFlowHandlerAdapter()
Method Detail

handle

public org.springframework.web.servlet.ModelAndView handle(javax.servlet.http.HttpServletRequest request,
                                                           javax.servlet.http.HttpServletResponse response,
                                                           java.lang.Object handler)
                                                    throws java.lang.Exception
Specified by:
handle in interface org.springframework.web.servlet.HandlerAdapter
Overrides:
handle in class org.springframework.webflow.mvc.servlet.FlowHandlerAdapter
Throws:
java.lang.Exception

setGrailsApplication

public void setGrailsApplication(org.codehaus.groovy.grails.commons.GrailsApplication grailsApplication)
Specified by:
setGrailsApplication in interface org.codehaus.groovy.grails.plugins.support.aware.GrailsApplicationAware