@Controller @RequestMapping(value="/resource_set/resource_set") @PreAuthorize(value="hasRole(\'ROLE_USER\')") public class ResourceSetRegistrationEndpoint extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DISCOVERY_URL |
static String |
URL |
Constructor and Description |
---|
ResourceSetRegistrationEndpoint() |
Modifier and Type | Method and Description |
---|---|
String |
createResourceSet(String jsonString,
org.springframework.ui.Model m,
org.springframework.security.core.Authentication auth) |
String |
deleteResourceSet(Long id,
org.springframework.ui.Model m,
org.springframework.security.core.Authentication auth) |
String |
listResourceSets(org.springframework.ui.Model m,
org.springframework.security.core.Authentication auth) |
String |
readResourceSet(Long id,
org.springframework.ui.Model m,
org.springframework.security.core.Authentication auth) |
String |
updateResourceSet(Long id,
String jsonString,
org.springframework.ui.Model m,
org.springframework.security.core.Authentication auth) |
public static final String DISCOVERY_URL
public static final String URL
public ResourceSetRegistrationEndpoint()
@RequestMapping(method=POST, produces="application/json", consumes="application/json") public String createResourceSet(@RequestBody String jsonString, org.springframework.ui.Model m, org.springframework.security.core.Authentication auth)
@RequestMapping(value="/{id}", method=GET, produces="application/json") public String readResourceSet(@PathVariable(value="id") Long id, org.springframework.ui.Model m, org.springframework.security.core.Authentication auth)
@RequestMapping(value="/{id}", method=PUT, consumes="application/json", produces="application/json") public String updateResourceSet(@PathVariable(value="id") Long id, @RequestBody String jsonString, org.springframework.ui.Model m, org.springframework.security.core.Authentication auth)
@RequestMapping(value="/{id}", method=DELETE, produces="application/json") public String deleteResourceSet(@PathVariable(value="id") Long id, org.springframework.ui.Model m, org.springframework.security.core.Authentication auth)
@RequestMapping(method=GET, produces="application/json") public String listResourceSets(org.springframework.ui.Model m, org.springframework.security.core.Authentication auth)
Copyright © 2018. All rights reserved.