Package org.xbricks.heimdall.controllers
Class RESTController
java.lang.Object
org.xbricks.heimdall.controllers.RESTController
Created by Juraj Horak
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<String>
deleteUser
(String username) org.springframework.http.ResponseEntity<String>
org.springframework.http.ResponseEntity<String>
findByPath
(String username) org.springframework.http.ResponseEntity<String>
saveOrUpdate
(UserCommand userCommand) void
setUserService
(UserService userService)
-
Constructor Details
-
RESTController
public RESTController()
-
-
Method Details
-
setUserService
-
findByPath
-
find
-
saveOrUpdate
@PostMapping @RequestMapping("/user") @ResponseBody public org.springframework.http.ResponseEntity<String> saveOrUpdate(@ModelAttribute UserCommand userCommand) -
deleteUser
-