Could anyone provide a code example to show how to use Spring Rest to get binary data(say PDF or image) along with the JSON from server. I know how to down load PDF alone by using restful web service but don't see any sample code to retrieve binary date with additional info.
Thank you very much in advance!