Class UserInfoController
java.lang.Object
edu.ucsb.cs156.gauchoride.controllers.ApiController
edu.ucsb.cs156.gauchoride.controllers.UserInfoController
@RequestMapping("/api/currentUser")
@RestController
public class UserInfoController
extends ApiController
-
Constructor Summary
-
Method Summary
Methods inherited from class edu.ucsb.cs156.gauchoride.controllers.ApiController
genericMessage, handleGenericException
-
Constructor Details
-
UserInfoController
public UserInfoController()
-
-
Method Details
-
getCurrentUser
Description copied from class:ApiController
Get the current user- Overrides:
getCurrentUser
in classApiController
- Returns:
- the current user
-