I\'m using spring data (mongoDb) and I\'ve got my repository:
public interface StoriesRepository extends PagingAndSortingRepository {} <
You can probably use exchange method of restTemplate and get the body from it..
Check the following answer https://stackoverflow.com/a/31947188/3800576. This might help you