I\'ve been creating a REST API endpoint, which is to return an XML file as a String.
String
@RequestMapping(value = "/foo", method = { Req