org.zkoss.spring.webflow.mvc.servlet
Class ZkFlowHandlerAdapter

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.zkoss.spring.webflow.mvc.servlet.ZkFlowHandlerAdapter
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware, org.springframework.web.servlet.HandlerAdapter

public class ZkFlowHandlerAdapter
extends org.springframework.webflow.mvc.servlet.FlowHandlerAdapter

Adapter for ZK Spring Web Flow (Spring MVC)

Since:
1.1
Author:
henrichen

Field Summary
protected  org.apache.commons.logging.Log logger
           
 
Fields inherited from class org.springframework.web.servlet.support.WebContentGenerator
METHOD_GET, METHOD_HEAD, METHOD_POST
 
Constructor Summary
ZkFlowHandlerAdapter()
           
 
Method Summary
protected  void defaultHandleExecutionOutcome(java.lang.String flowId, org.springframework.webflow.execution.FlowExecutionOutcome outcome, org.springframework.webflow.context.servlet.ServletExternalContext context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 org.springframework.web.servlet.ModelAndView handle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.Object handler)
           
 boolean supports(java.lang.Object handler)
           
 
Methods inherited from class org.springframework.webflow.mvc.servlet.FlowHandlerAdapter
afterPropertiesSet, createServletExternalContext, defaultCreateFlowExecutionInputMap, defaultGetFlowId, defaultHandleException, getAjaxHandler, getFlowExecutor, getFlowUrlHandler, getLastModified, getRedirectHttp10Compatible, sendRedirect, setAjaxHandler, setFlowExecutor, setFlowUrlHandler, setRedirectHttp10Compatible
 
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
 

Field Detail

logger

protected final org.apache.commons.logging.Log logger
Constructor Detail

ZkFlowHandlerAdapter

public ZkFlowHandlerAdapter()
Method Detail

supports

public boolean supports(java.lang.Object handler)
Specified by:
supports in interface org.springframework.web.servlet.HandlerAdapter
Overrides:
supports in class org.springframework.webflow.mvc.servlet.FlowHandlerAdapter

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

defaultHandleExecutionOutcome

protected void defaultHandleExecutionOutcome(java.lang.String flowId,
                                             org.springframework.webflow.execution.FlowExecutionOutcome outcome,
                                             org.springframework.webflow.context.servlet.ServletExternalContext context,
                                             javax.servlet.http.HttpServletRequest request,
                                             javax.servlet.http.HttpServletResponse response)
                                      throws java.io.IOException
Overrides:
defaultHandleExecutionOutcome in class org.springframework.webflow.mvc.servlet.FlowHandlerAdapter
Throws:
java.io.IOException


Copyright © 2005-2007 Potix Corporation. All Rights Reserved.