|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.octo.captcha.text.TextCaptcha
public abstract class TextCaptcha
A text captcha is a captcha with a Text challenge... This class is abstract.
| Field Summary | |
|---|---|
protected java.lang.String |
challenge
|
protected java.lang.String |
question
|
| Constructor Summary | |
|---|---|
protected |
TextCaptcha(java.lang.String question,
java.lang.String challenge)
|
| Method Summary | |
|---|---|
void |
disposeChallenge()
Dispose the challenge, once this method is call the getChallenge method will return null. |
java.lang.Object |
getChallenge()
Accerssor for the questionned challenge. |
java.lang.String |
getQuestion()
Accessor captcha question. |
java.lang.String |
getTextChallenge()
Accerssor for the questionned challenge in text format. |
java.lang.Boolean |
hasGetChalengeBeenCalled()
This method should return true if the getChalenge method has been called (has been added in order to properly manage the captcha state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.octo.captcha.Captcha |
|---|
validateResponse |
| Field Detail |
|---|
protected java.lang.String question
protected java.lang.String challenge
| Constructor Detail |
|---|
protected TextCaptcha(java.lang.String question,
java.lang.String challenge)
| Method Detail |
|---|
public java.lang.String getQuestion()
getQuestion in interface Captchapublic java.lang.Object getChallenge()
getChallenge in interface Captchapublic java.lang.String getTextChallenge()
public void disposeChallenge()
disposeChallenge in interface Captchapublic java.lang.Boolean hasGetChalengeBeenCalled()
hasGetChalengeBeenCalled in interface Captcha
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||