|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.context.support.ApplicationObjectSupport org.springframework.web.context.support.WebApplicationObjectSupport org.springframework.js.ajax.AbstractAjaxHandler org.springframework.js.ajax.SpringJavascriptAjaxHandler
public class SpringJavascriptAjaxHandler
Ajax handler for Spring Javascript (Spring.js).
AbstractAjaxHandler
Field Summary | |
---|---|
static java.lang.String |
AJAX_ACCEPT_CONTENT_TYPE
The accept header value that signifies an Ajax request. |
static java.lang.String |
AJAX_SOURCE_PARAM
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
The response header to be set on an redirect that should be issued from a popup window. |
static java.lang.String |
REDIRECT_URL_HEADER
The response header to be set on an Ajax redirect |
Fields inherited from class org.springframework.context.support.ApplicationObjectSupport |
---|
logger |
Constructor Summary | |
---|---|
SpringJavascriptAjaxHandler()
Create a SpringJavascriptAjaxHandler that is not part of a chain of AjaxHandler's. |
|
SpringJavascriptAjaxHandler(AbstractAjaxHandler delegate)
Create a SpringJavascriptAjaxHandler 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 |
Field Detail |
---|
public 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
Constructor Detail |
---|
public SpringJavascriptAjaxHandler()
public SpringJavascriptAjaxHandler(AbstractAjaxHandler delegate)
Method Detail |
---|
protected boolean isAjaxRequestInternal(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
isAjaxRequestInternal
in class AbstractAjaxHandler
protected 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 AbstractAjaxHandler
java.io.IOException
|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |