Class 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 Detail

      • ReCaptchaResponse

        public ReCaptchaResponse()
      • ReCaptchaResponse

        public ReCaptchaResponse​(boolean success,
                                 Date challenge_ts,
                                 String hostname)
    • 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)