Spring Web Flow

org.springframework.faces.richfaces
Class RichFacesAjaxHandler

java.lang.Object
  extended by org.springframework.context.support.ApplicationObjectSupport
      extended by org.springframework.web.context.support.WebApplicationObjectSupport
          extended by org.springframework.js.ajax.AbstractAjaxHandler
              extended by org.springframework.faces.richfaces.RichFacesAjaxHandler
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, AjaxHandler, org.springframework.web.context.ServletContextAware

public class RichFacesAjaxHandler
extends AbstractAjaxHandler
implements AjaxHandler

Ajax handler that works with Rich Faces, allowing support for Web Flow Ajax features with the Rich Faces toolkit.

Author:
Jeremy Grelle
See Also:
AbstractAjaxHandler

Field Summary
 
Fields inherited from class org.springframework.context.support.ApplicationObjectSupport
logger
 
Constructor Summary
RichFacesAjaxHandler()
          Create a RichFacesAjaxHandler that is not part of a chain of AjaxHandler's.
RichFacesAjaxHandler(AbstractAjaxHandler delegate)
          Create a RichFacesAjaxHandler as part of a chain of AjaxHandler's.
 
Method Summary
protected  boolean isAjaxRequestInternal(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected  void sendAjaxRedirectInternal(java.lang.String targetUrl, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, boolean popup)
           
 
Methods inherited from class org.springframework.js.ajax.AbstractAjaxHandler
isAjaxRequest, sendAjaxRedirect
 
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.js.ajax.AjaxHandler
isAjaxRequest, sendAjaxRedirect
 

Constructor Detail

RichFacesAjaxHandler

public RichFacesAjaxHandler()
Create a RichFacesAjaxHandler that is not part of a chain of AjaxHandler's.


RichFacesAjaxHandler

public RichFacesAjaxHandler(AbstractAjaxHandler delegate)
Create a RichFacesAjaxHandler as part of a chain of AjaxHandler's.

Method Detail

isAjaxRequestInternal

protected boolean isAjaxRequestInternal(javax.servlet.http.HttpServletRequest request,
                                        javax.servlet.http.HttpServletResponse response)
Specified by:
isAjaxRequestInternal in class AbstractAjaxHandler

sendAjaxRedirectInternal

protected void sendAjaxRedirectInternal(java.lang.String targetUrl,
                                        javax.servlet.http.HttpServletRequest request,
                                        javax.servlet.http.HttpServletResponse response,
                                        boolean popup)
                                 throws java.io.IOException
Specified by:
sendAjaxRedirectInternal in class AbstractAjaxHandler
Throws:
java.io.IOException

Spring Web Flow