|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 Captcha
public java.lang.Object getChallenge()
getChallenge
in interface Captcha
public java.lang.String getTextChallenge()
public void disposeChallenge()
disposeChallenge
in interface Captcha
public java.lang.Boolean hasGetChalengeBeenCalled()
hasGetChalengeBeenCalled
in interface Captcha
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |