Class ReCaptchaResponse
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.beans.ReCaptchaResponse
-
public class ReCaptchaResponse extends Object
Represents the response from Google's reCAPTCHA API. It includes information about the success of the reCAPTCHA verification, the timestamp of the challenge, and the hostname associated with the verification.- Version:
- 1.0
- Author:
- Ivan Mrsulja
-
-
Constructor Summary
Constructors Constructor Description ReCaptchaResponse()ReCaptchaResponse(boolean success, Date challenge_ts, String hostname)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetChallenge_ts()StringgetHostname()booleanisSuccess()voidsetChallenge_ts(Date challenge_ts)voidsetHostname(String hostname)voidsetSuccess(boolean success)StringtoString()
-
-
-
Method Detail
-
isSuccess
public boolean isSuccess()
-
setSuccess
public void setSuccess(boolean success)
-
getChallenge_ts
public Date getChallenge_ts()
-
setChallenge_ts
public void setChallenge_ts(Date challenge_ts)
-
getHostname
public String getHostname()
-
setHostname
public void setHostname(String hostname)
-
-