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.ModelAndView cKEditorUpload​(org.springframework.web.multipart.MultipartFile file, String functionNumber, javax.servlet.http.HttpServletRequest servletRequest)  
    org.springframework.web.servlet.ModelAndView uploadForm​(org.springframework.web.multipart.MultipartFile file, javax.servlet.http.HttpServletRequest servletRequest)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • 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