Class UserProfileController
- java.lang.Object
-
- eu.dnetlib.irishmonitorservice.controllers.UserProfileController
-
@RestController @CrossOrigin(origins="*") @RequestMapping("/user") @PreAuthorize("isAuthenticated()") public class UserProfileController extends Object
-
-
Constructor Summary
Constructors Constructor Description UserProfileController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserProfilegetUserProfile()UserProfilesaveUserProfile(UserProfile userProfile)
-
-
-
Method Detail
-
saveUserProfile
@RequestMapping(value="/save", method=POST) public UserProfile saveUserProfile(@RequestBody UserProfile userProfile)
-
getUserProfile
@RequestMapping(value="", method=GET) public UserProfile getUserProfile()
-
-