@RestController @RequestMapping(value="/admin") @AdminResource public class AdminController extends Object
| Constructor and Description |
|---|
AdminController(ResourceServerService resourceServerService) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity |
addResourceServers(ResourceServer resourceServer) |
org.springframework.http.ResponseEntity<ResourceServers> |
loadResourceServers() |
@Autowired public AdminController(ResourceServerService resourceServerService)
@GetMapping(path="/resourceServer",
produces="application/json")
public org.springframework.http.ResponseEntity<ResourceServers> loadResourceServers()
@PostMapping(path="/resourceServer",
produces="application/json")
public org.springframework.http.ResponseEntity addResourceServers(@RequestBody
ResourceServer resourceServer)
Copyright © 2017. All rights reserved.