@Deprecated
    public static Response.ResponseBuilder created(UriInfo info, Spliterator<String> ids) {
        return Response.status(CREATED)
                .entity(StreamSupport.stream(ids, false).map(
                        (id) -> info.getRequestUriBuilder().segment(id).build()));
    }
@ Deprecated public static Response . ResponseBuilder created ( UriInfo info , Spliterator < String > ids ) { return Response . status ( CREATED ) . entity ( StreamSupport . stream ( ids , false ) . map ( ( id ) -> info . getRequestUriBuilder ( ) . segment ( id ) . build ( ) ) ) ; }
Similar to {@link #created(AbstractElement, UriInfo, String)} but used when more than 1 entity is created
during the request.
<p>
The provided list of ids is converted to URIs (by merely appending the ids using the
{@link UriBuilder#segment(String...)} method) and put in the response as its entity.

@param info uri info to help with converting ids to URIs
@param ids  the list of ids of the entities
@return the response builder with status 201 and entity set
@deprecated This returns just ids of the newly created entities in the response. That is not satisfactory.