Interface RestCollectionModifyView<P extends RestResource,C extends RestResource,I>
-
- Type Parameters:
P
- type of the parent resourceC
- type of the child resourceI
- type of input the JSON parser will parse the input into.
- All Superinterfaces:
RestCollectionView<P,C,I>
,RestView<C>
- All Known Implementing Classes:
AddSshKey
,ChangeEdits.Post
,CreateChange
,DeleteChangeEdit
,PostCaches
,PostReviewers
,RetryingRestCollectionModifyView
public interface RestCollectionModifyView<P extends RestResource,C extends RestResource,I> extends RestCollectionView<P,C,I>
RestView on a RestCollection that supports accepting input.The input must be supplied as JSON as the body of the HTTP request. RestCollectionModifyViews can be invoked by the HTTP methods
POST
andDELETE
(DELETE
is only supported on child collections).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
apply(P parentResource, I input)
-