Interface RestCollectionModifyView<P extends RestResource,​C extends RestResource,​I>

  • Type Parameters:
    P - type of the parent resource
    C - type of the child resource
    I - type of input the JSON parser will parse the input into.
    All Superinterfaces:
    RestCollectionView<P,​C,​I>, RestView<C>

    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 and DELETE (DELETE is only supported on child collections).