You can still use the Page.map
without lambda expressions:
Page entities = objectEntityRepository.findAll(pageable);
Page dtoPage = entities.map(new Converter() {
@Override
public ObjectDto convert(ObjectEntity entity) {
ObjectDto dto = new ObjectDto();
// Conversion logic
return dto;
}
});