|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mentawai.ajaxtag.AjaxtagErrorConsequence
public class AjaxtagErrorConsequence
A Consequence for using Ajaxtag taglib (ajaxtags.sf.net). This consequence must be used as the way to send errors back to the client.
| Constructor Summary | |
|---|---|
AjaxtagErrorConsequence()
|
|
| Method Summary | |
|---|---|
void |
execute(Action a,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Send a non-200 HTTP response as an error responses when any problem happened. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AjaxtagErrorConsequence()
| Method Detail |
|---|
public void execute(Action a,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws ConsequenceException
Send a non-200 HTTP response as an error responses when any problem happened.
That response can be catch at JSP on ajaxtag errorFunction
execute in interface Consequencea - The action that generated this consequence.req - The servlet request of the action.res - The servlet response of the action.
ConsequenceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||