P
- type of the parent resourceC
- type of the child resourceI
- type of input the JSON parser will parse the input into.public interface RestCollectionModifyView<P extends RestResource,C extends RestResource,I> extends RestCollectionView<P,C,I>
The input must be supplied as JSON as the body of the HTTP request. RestCollectionModifyViews
can be invoked by the HTTP methods POST
and DELETE
(DELETE
is only
supported on child collections).
Modifier and Type | Method and Description |
---|---|
Object |
apply(P parentResource,
I input) |