|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.octo.captcha.image.ImageCaptcha
public abstract class ImageCaptcha
String question about a BufferedImage challenge. Abstract.
Field Summary | |
---|---|
protected java.awt.image.BufferedImage |
challenge
|
protected java.lang.String |
question
|
Constructor Summary | |
---|---|
protected |
ImageCaptcha(java.lang.String question,
java.awt.image.BufferedImage 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.awt.image.BufferedImage |
getImageChallenge()
|
java.lang.String |
getQuestion()
Accessor captcha question |
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 transient java.awt.image.BufferedImage challenge
Constructor Detail |
---|
protected ImageCaptcha(java.lang.String question, java.awt.image.BufferedImage challenge)
Method Detail |
---|
public final java.lang.String getQuestion()
getQuestion
in interface Captcha
public final java.lang.Object getChallenge()
Captcha
getChallenge
in interface Captcha
public final java.awt.image.BufferedImage getImageChallenge()
public final 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 |