org.jasig.portlet.test.mvc.tests
Class FileUploadController

java.lang.Object
  extended by org.jasig.portlet.test.mvc.tests.BasePortletTest
      extended by org.jasig.portlet.test.mvc.tests.FileUploadController
All Implemented Interfaces:
PortletTest, org.springframework.beans.factory.BeanNameAware

@Controller(value="fileUploadTest")
@RequestMapping(value={"VIEW","EDIT","HELP","ABOUT"},
                params="currentTest=fileUploadTest")
public class FileUploadController
extends BasePortletTest

Version:
$Revision: 25482 $
Author:
Eric Dalquist

Field Summary
 
Fields inherited from class org.jasig.portlet.test.mvc.tests.BasePortletTest
logger
 
Constructor Summary
FileUploadController()
           
 
Method Summary
 String getTestName()
           
 void noopAction()
           
 void simpleFileUpload(javax.portlet.PortletSession portletSession, org.springframework.web.multipart.MultipartFile f)
           
 String viewFileUploadTest(javax.portlet.PortletSession portletSession, org.springframework.ui.ModelMap model)
           
 
Methods inherited from class org.jasig.portlet.test.mvc.tests.BasePortletTest
getTestKey, setBeanName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileUploadController

public FileUploadController()
Method Detail

getTestName

public String getTestName()

viewFileUploadTest

@RenderMapping
public String viewFileUploadTest(javax.portlet.PortletSession portletSession,
                                               org.springframework.ui.ModelMap model)

noopAction

@ActionMapping
public void noopAction()

simpleFileUpload

@ActionMapping(value="fileUploadAction")
public void simpleFileUpload(javax.portlet.PortletSession portletSession,
                                           @RequestParam(value="file")
                                           org.springframework.web.multipart.MultipartFile f)
                      throws IOException
Throws:
IOException


Copyright © 2012 Jasig. All Rights Reserved.