How to get route distance, elevation, road class on a route

I would like to have the same information provided in the following graph by GraphHopper in text form. Is that possible?

Yes, this information is included in the details field of the routing response. Take a look here.