Package org.jasig.portlet.attachment.mvc
Class LocalAttachmentController
java.lang.Object
org.jasig.portlet.attachment.mvc.LocalAttachmentController
@Controller public final class LocalAttachmentController extends Object
- Author:
- Chris Waymire (chris@waymire)
-
Constructor Summary
Constructors Constructor Description LocalAttachmentController() -
Method Summary
Modifier and Type Method Description org.springframework.web.servlet.ModelAndViewcKEditorUpload(org.springframework.web.multipart.MultipartFile file, String functionNumber, javax.servlet.http.HttpServletRequest servletRequest)org.springframework.web.servlet.ModelAndViewuploadForm(org.springframework.web.multipart.MultipartFile file, javax.servlet.http.HttpServletRequest servletRequest)
-
Constructor Details
-
LocalAttachmentController
public LocalAttachmentController()
-
-
Method Details
-
uploadForm
@RequestMapping(value="/content/attach/local.json", method=POST) public org.springframework.web.servlet.ModelAndView uploadForm(@RequestParam("qqfile") org.springframework.web.multipart.MultipartFile file, javax.servlet.http.HttpServletRequest servletRequest) throws IOException- Throws:
IOException
-
cKEditorUpload
@RequestMapping(value="/content/attach/local", method=POST, produces="text/plain") public org.springframework.web.servlet.ModelAndView cKEditorUpload(@RequestParam("upload") org.springframework.web.multipart.MultipartFile file, @RequestParam("CKEditorFuncNum") String functionNumber, javax.servlet.http.HttpServletRequest servletRequest) throws IOException- Throws:
IOException
-