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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanisAjaxRequestInternal(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) protected voidsendAjaxRedirectInternal(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, sendAjaxRedirectMethods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextMethods 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:
isAjaxRequestInternalin classAbstractAjaxHandler
-
sendAjaxRedirectInternal
protected void sendAjaxRedirectInternal(String targetUrl, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, boolean popup) throws IOException - Specified by:
sendAjaxRedirectInternalin classAbstractAjaxHandler- Throws:
IOException
-