Class JsfAjaxHandler
java.lang.Object
org.springframework.context.support.ApplicationObjectSupport
org.springframework.web.context.support.WebApplicationObjectSupport
org.springframework.webflow.context.servlet.AbstractAjaxHandler
org.springframework.faces.webflow.JsfAjaxHandler
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.context.ApplicationContextAware
,org.springframework.web.context.ServletContextAware
,AjaxHandler
Ajax handler for JSF 2 requests that can identify JSF 2 Ajax requests and send redirect instructions back to the
client by including a redirect instruction in the content of the response.
- Since:
- 2.2.0
- Author:
- Rossen Stoyanchev
- See Also:
-
Field Summary
Fields inherited from class org.springframework.context.support.ApplicationObjectSupport
logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
isAjaxRequestInternal
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) protected void
sendAjaxRedirectInternal
(String targetUrl, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, boolean popup) Methods inherited from class org.springframework.webflow.context.servlet.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, obtainApplicationContext, requiredContextClass, setApplicationContext
-
Constructor Details
-
JsfAjaxHandler
public JsfAjaxHandler() -
JsfAjaxHandler
-
-
Method Details
-
isAjaxRequestInternal
protected boolean isAjaxRequestInternal(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) - Specified by:
isAjaxRequestInternal
in classAbstractAjaxHandler
-
sendAjaxRedirectInternal
protected void sendAjaxRedirectInternal(String targetUrl, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, boolean popup) throws IOException - Specified by:
sendAjaxRedirectInternal
in classAbstractAjaxHandler
- Throws:
IOException
-