public class SpringJavascriptAjaxHandler extends AbstractAjaxHandler
AbstractAjaxHandler| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
AJAX_ACCEPT_CONTENT_TYPE
Deprecated.
The accept header value that signifies an Ajax request.
|
static java.lang.String |
AJAX_SOURCE_PARAM
Deprecated.
Alternate request parameter to indicate an Ajax request for cases when control of the header is not available.
|
static java.lang.String |
POPUP_VIEW_HEADER
Deprecated.
The response header to be set on an redirect that should be issued from a popup window.
|
static java.lang.String |
REDIRECT_URL_HEADER
Deprecated.
The response header to be set on an Ajax redirect
|
| Constructor and Description |
|---|
SpringJavascriptAjaxHandler()
Deprecated.
Create a SpringJavascriptAjaxHandler that is not part of a chain of AjaxHandler's.
|
SpringJavascriptAjaxHandler(AbstractAjaxHandler delegate)
Deprecated.
Create a SpringJavascriptAjaxHandler as part of a chain of AjaxHandler's.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isAjaxRequestInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Deprecated.
|
protected void |
sendAjaxRedirectInternal(java.lang.String targetUrl,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
boolean popup)
Deprecated.
|
isAjaxRequest, sendAjaxRedirectgetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextpublic static final java.lang.String REDIRECT_URL_HEADER
public static final java.lang.String POPUP_VIEW_HEADER
public static final java.lang.String AJAX_ACCEPT_CONTENT_TYPE
public static final java.lang.String AJAX_SOURCE_PARAM
public SpringJavascriptAjaxHandler()
public SpringJavascriptAjaxHandler(AbstractAjaxHandler delegate)
protected boolean isAjaxRequestInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
isAjaxRequestInternal in class AbstractAjaxHandlerprotected void sendAjaxRedirectInternal(java.lang.String targetUrl,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
boolean popup)
throws java.io.IOException
sendAjaxRedirectInternal in class AbstractAjaxHandlerjava.io.IOException