@Deprecated public final class

CaptchaResponse

extends Object
java.lang.Object
   ↳ com.atlassian.stash.user.CaptchaResponse

This class is deprecated.
Scheduled for removal in Stash 3.0 because all the places where CaptchaResponse is used have been deprecated.

Class Overview

Encapsulates a CAPTCHA challenge id and the corresponding user response.

Instances of this class are immutable.

Summary

Public Constructors
CaptchaResponse(String challengeId, String userResponse)
Constructs a CAPTCHA response with the given challenge id and user response.
Public Methods
boolean equals(Object o)
String getChallengeId()
String getUserResponse()
int hashCode()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public CaptchaResponse (String challengeId, String userResponse)

Constructs a CAPTCHA response with the given challenge id and user response.

Parameters
challengeId the id under which the expected response was registered
userResponse the response as provided by the user
Throws
IllegalArgumentException if either the challenge id, or the user response, or both is null and/or empty

Public Methods

public boolean equals (Object o)

public String getChallengeId ()

public String getUserResponse ()

public int hashCode ()

public String toString ()