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 Details

    • UserResponse

      public UserResponse(String email, String nickname, String password, boolean anon)
      Parameters:
      password - If null, ignored; otherwise, password match is required
  • Method Details

    • getUser

      public User getUser()
    • getNewlyRegistered

      public boolean getNewlyRegistered()
    • getPasswordMatched

      public boolean getPasswordMatched()