Zwróć plik z Controller na wiosnę

Jestem nowy na wiosnę. Mam kontroler z RequestMapping dla kilku parametrów GET. Zwracają String. Ale jedna metoda musi zwrócić plik w folderze „/ res /”. Jak mogę to zrobić?

@RequestMapping(method = RequestMethod.GET,value = "/getfile")
public @ResponseBody 
String getReviewedFile(@RequestParam("fileName") String fileName)
{
    return //the File Content or better the file itself
}

Dzięki

questionAnswers(4)

yourAnswerToTheQuestion