public interface AjaxHandler
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAjaxRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Is the current request an Ajax request?
|
void |
sendAjaxRedirect(String targetUrl,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
boolean popup)
Send a redirect request to the Ajax client.
|
boolean isAjaxRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
request - the current requestresponse - the current responsevoid sendAjaxRedirect(String targetUrl, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, boolean popup) throws IOException
request - the current requestresponse - the current responsetargetUrl - the target url to redirect topopup - wheter the redirect should be sent from a new popup dialog windowIOException