similar to #created uriinfo , string but used when more than 1 entity is created during the request . the provided list of ids is converted to uris by merely appending the ids using the uribuilder #segment string method and put in the response as its entity . concode_field_sep PlaceHolder placeHolder concode_field_sep void createPagingHeader concode_elem_sep InputStream pageToStream concode_elem_sep Response.ResponseBuilder pagedResponse concode_elem_sep Response.ResponseBuilder pagedResponse
Response . ResponseBuilder function ( UriInfo arg0 , Spliterator < String > arg1 ) { return Response . status ( CREATED ) . entity ( StreamSupport . stream ( arg1 , false ) . map ( ( id ) -> arg0 . getRequestUriBuilder ( ) . segment ( id ) . build ( ) ) ) ; }