@Controller @RequestMapping(value="/files") public class FileController extends Object
Constructor and Description |
---|
FileController() |
Modifier and Type | Method and Description |
---|---|
void |
getFile(Long id,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
FileService |
getFileService() |
String |
handleFormUpload(org.springframework.web.multipart.MultipartHttpServletRequest request) |
String |
index(javax.servlet.http.HttpServletRequest request,
org.springframework.ui.Model uiModel) |
String |
removeFile(org.springframework.ui.Model uiModel,
javax.servlet.http.HttpServletRequest request,
Long fileHash) |
void |
setFileService(FileService fileService) |
public FileController()
@RequestMapping(value="/get/{id}", method=GET) public void getFile(@PathVariable(value="id") Long id, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
@RequestMapping(method=GET) public String index(javax.servlet.http.HttpServletRequest request, org.springframework.ui.Model uiModel)
@RequestMapping(value="/remove/{fileHash}", method=GET) public String removeFile(org.springframework.ui.Model uiModel, javax.servlet.http.HttpServletRequest request, @PathVariable(value="fileHash") Long fileHash)
@RequestMapping(value="/save", method=POST) @ResponseBody public String handleFormUpload(org.springframework.web.multipart.MultipartHttpServletRequest request)
public FileService getFileService()
public void setFileService(FileService fileService)
Copyright © 2011-2013 The Kuali Foundation. All Rights Reserved.