@RestController @RequestMapping(value="/termsofuse") public class TermsOfUseController extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
UNAUTHORIZED_ERROR |
| Constructor and Description |
|---|
TermsOfUseController(TermsOfUseService termsOfUseService,
OAuthService oAuthService,
UserService userService) |
| Modifier and Type | Method and Description |
|---|---|
TermsOfUse |
createTermsOfUse(javax.servlet.http.HttpServletRequest request,
TermsOfUse termsOfUse) |
org.springframework.http.ResponseEntity<TermsOfUse> |
getLatestTermsOfUse() |
public static final String UNAUTHORIZED_ERROR
@Inject public TermsOfUseController(TermsOfUseService termsOfUseService, OAuthService oAuthService, UserService userService)
@CrossOrigin(origins="*") @GetMapping(produces="application/json") public org.springframework.http.ResponseEntity<TermsOfUse> getLatestTermsOfUse()
@PostMapping(produces="application/json") public TermsOfUse createTermsOfUse(javax.servlet.http.HttpServletRequest request, @RequestBody TermsOfUse termsOfUse)
Copyright © 2014–2018 Healthcare Services Platform Consortium. All rights reserved.