@RestController public class RestrictionController extends Object
| Constructor and Description |
|---|
RestrictionController() |
| Modifier and Type | Method and Description |
|---|---|
Callable<RestrictionResponse> |
getRestrictions(RestrictionInfo restrictionInfo,
String partner) |
@RequestMapping(method=POST,
value={"/api/v1/restrictions","/api/v2/restrictions"},
produces="application/json",
consumes="application/json")
public Callable<RestrictionResponse> getRestrictions(@RequestBody
RestrictionInfo restrictionInfo,
@RequestParam(value="partner")
String partner)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.