Announcement Announcement Module
Collapse
No announcement yet.
Download an image with RestTemplate Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Download an image with RestTemplate

    Hi,
    is it possible to download an image from a Spring RESTful web service using RestTemplate?

    Normally RestTemplate support this through java.awt.BufferedImage (See here in "Retrieving the photos"), but it's not available in Android.

    How can I download an image with RestTemplate? And what's the Spring MVC counterpart?

    Thank you.

  • #2
    hey,

    i don't know more about the Spring but you can use the below HTML message converter.

    BufferedImageHttpMessageConverter

    Comment

    Working...
    X