public class AjaxConsequence extends Object implements Consequence
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_CHARSET |
static String |
OBJECT |
| Constructor and Description |
|---|
AjaxConsequence(AjaxRenderer renderer) |
AjaxConsequence(AjaxRenderer renderer,
boolean pretty) |
AjaxConsequence(AjaxRenderer renderer,
boolean pretty,
boolean disableCache) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Action a,
String result,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Prints in the request's output the ajax response.
|
AjaxConsequence |
keyForObject(String key) |
AjaxConsequence |
source(String key) |
public static String OBJECT
public static String DEFAULT_CHARSET
public AjaxConsequence(AjaxRenderer renderer)
public AjaxConsequence(AjaxRenderer renderer, boolean pretty)
public AjaxConsequence(AjaxRenderer renderer, boolean pretty, boolean disableCache)
public AjaxConsequence keyForObject(String key)
public AjaxConsequence source(String key)
public void execute(Action a, String result, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws ConsequenceException
execute in interface Consequencea - The action that generated this consequence.result - The result generated by the action.req - The servlet request of the action.res - The servlet response of the action.ConsequenceExceptionCopyright © 2015. All Rights Reserved.