@RestController
public class CursorsController
extends java.lang.Object
| Constructor and Description |
|---|
CursorsController(CursorsService cursorsService,
FeatureToggleService featureToggleService) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<?> |
commitCursors(java.lang.String subscriptionId,
java.util.List<Cursor> cursors,
org.springframework.web.context.request.NativeWebRequest request) |
org.springframework.http.ResponseEntity<?> |
getCursors(java.lang.String subscriptionId,
org.springframework.web.context.request.NativeWebRequest request) |
@Autowired public CursorsController(CursorsService cursorsService, FeatureToggleService featureToggleService)
@RequestMapping(path="/subscriptions/{subscriptionId}/cursors",
method=GET)
public org.springframework.http.ResponseEntity<?> getCursors(@PathVariable(value="subscriptionId")
java.lang.String subscriptionId,
org.springframework.web.context.request.NativeWebRequest request)
@RequestMapping(value="/subscriptions/{subscriptionId}/cursors",
method=PUT)
public org.springframework.http.ResponseEntity<?> commitCursors(@PathVariable(value="subscriptionId")
java.lang.String subscriptionId,
@RequestBody
java.util.List<Cursor> cursors,
org.springframework.web.context.request.NativeWebRequest request)