Class FileUploadController
- java.lang.Object
- 
- org.springframework.context.support.ApplicationObjectSupport
- 
- org.springframework.web.context.support.WebApplicationObjectSupport
- 
- org.springframework.web.servlet.support.WebContentGenerator
- 
- org.springframework.web.servlet.mvc.AbstractController
- 
- ubic.gemma.web.controller.common.auditAndSecurity.FileUploadController
 
 
 
 
 
- 
- All Implemented Interfaces:
- Aware,- ApplicationContextAware,- ServletContextAware,- Controller
 
 public class FileUploadController extends AbstractController Controller class to upload Files.- Author:
- paul, keshav, Traces of Matt Raible
 
- 
- 
Field Summary- 
Fields inherited from class org.springframework.web.servlet.support.WebContentGeneratorMETHOD_GET, METHOD_HEAD, METHOD_POST
 - 
Fields inherited from class org.springframework.context.support.ApplicationObjectSupportlogger
 
- 
 - 
Constructor SummaryConstructors Constructor Description FileUploadController()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UploadInfogetUploadStatus()protected ModelAndViewhandleRequestInternal(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)Stringupload(InputStream is)Ajax.- 
Methods inherited from class org.springframework.web.servlet.mvc.AbstractControllerhandleRequest, isSynchronizeOnSession, setSynchronizeOnSession
 - 
Methods inherited from class org.springframework.web.servlet.support.WebContentGeneratorapplyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setAlwaysMustRevalidate, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader
 - 
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupportgetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext
 - 
Methods inherited from class org.springframework.context.support.ApplicationObjectSupportgetApplicationContext, getMessageSourceAccessor, initApplicationContext, requiredContextClass, setApplicationContext
 
- 
 
- 
- 
- 
Method Detail- 
getUploadStatuspublic UploadInfo getUploadStatus() 
 - 
uploadpublic String upload(InputStream is) throws IOException Ajax. DWR can handle this.- Throws:
- IOException
 
 - 
handleRequestInternalprotected ModelAndView handleRequestInternal(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) - Specified by:
- handleRequestInternalin class- AbstractController
 
 
- 
 
-