Class FileViewer
java.lang.Object
org.frankframework.console.controllers.FileViewer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity
<org.springframework.web.servlet.mvc.method.annotation.StreamingResponseBody> getFileContent
(String file, String acceptParam, String acceptHeader)
-
Constructor Details
-
FileViewer
-
-
Method Details
-
getFileContent
@GetMapping(value="/file-viewer", produces={"text/html","text/plain","application/xml","application/zip","application/octet-stream"}) @AllowAllIbisUserRoles public org.springframework.http.ResponseEntity<org.springframework.web.servlet.mvc.method.annotation.StreamingResponseBody> getFileContent(@RequestParam("file") String file, @RequestParam(value="accept",required=false) String acceptParam, @RequestHeader("Accept") String acceptHeader)
-