package fileupload
- Alphabetic
 
- Public
 - All
 
Type Members
- 
      
      
      
        
      
    
      
        
        class
      
      
        
              FileMultiParams
             extends Map[String, Seq[FileItem]]
      
      
      
TODO This is a copy-and-paste abomination that needs to be merged with org.scalatra.util.MultiMap.
TODO This is a copy-and-paste abomination that needs to be merged with org.scalatra.util.MultiMap. We can't properly genericize that this close to a release.
 - 
      
      
      
        
      
    
      
        
        trait
      
      
        
              FileUploadSupport
             extends ServletBase
      
      
      
FileUploadSupport can be mixed into a org.scalatra.ScalatraFilter or org.scalatra.ScalatraServlet to provide easy access to data submitted as part of a multipart HTTP request.
FileUploadSupport can be mixed into a org.scalatra.ScalatraFilter or org.scalatra.ScalatraServlet to provide easy access to data submitted as part of a multipart HTTP request. Commonly this is used for retrieving uploaded files.
Once the trait has been mixed into your handler you can access any files uploaded using
fileParams("myFile")where myFile is the name of the parameter used to upload the file being retrieved.
fileParams("myFile") }}} of the parameter used to upload the file being retrieved.
- Annotations
 - @deprecated
 - Deprecated
 (Since version 2.1.0)
- Note
 Once any handler with FileUploadSupport has accessed the request, the fileParams returned by FileUploadSupport will remain fixed for the lifetime of the request.
 
Value Members
-  object FileMultiParams
 -  object FileUploadSupport