|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.pebble.confirmation.AbstractConfirmationStrategy
net.sourceforge.pebble.confirmation.SimpleMathsConfirmationStrategy
public class SimpleMathsConfirmationStrategy
Simple maths confirmation strategy that asks the user to add/subtract/multiply two random numbers together.
Field Summary |
---|
Fields inherited from class net.sourceforge.pebble.confirmation.AbstractConfirmationStrategy |
---|
REQUIRED_KEY |
Constructor Summary | |
---|---|
SimpleMathsConfirmationStrategy()
|
Method Summary | |
---|---|
java.lang.String |
getUri()
Gets the URI of the confirmation page. |
boolean |
isConfirmed(HttpServletRequest request)
Called to determine whether confirmation was successful. |
void |
setupConfirmation(HttpServletRequest request)
Called before showing the confirmation page. |
Methods inherited from class net.sourceforge.pebble.confirmation.AbstractConfirmationStrategy |
---|
confirmationRequired, confirmationRequired |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleMathsConfirmationStrategy()
Method Detail |
---|
public void setupConfirmation(HttpServletRequest request)
request
- the HttpServletRequest used in the confirmationpublic java.lang.String getUri()
public boolean isConfirmed(HttpServletRequest request)
request
- the HttpServletRequest used in the confirmation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |