Package edu.wisc.game.rest
Class UserResponse
java.lang.Object
edu.wisc.game.rest.ResponseBase
edu.wisc.game.rest.UserResponse
public class UserResponse extends ResponseBase
Used by LoginServlet and the Android app for registering new users and logging in
-
Constructor Summary
Constructors Constructor Description UserResponse(String email, String nickname, String password, boolean anon) -
Method Summary
Modifier and Type Method Description booleangetNewlyRegistered()booleangetPasswordMatched()UsergetUser()
-
Constructor Details
-
UserResponse
- Parameters:
password- If null, ignored; otherwise, password match is required
-
-
Method Details
-
getUser
-
getNewlyRegistered
public boolean getNewlyRegistered() -
getPasswordMatched
public boolean getPasswordMatched()
-