Packages

p

org.scalatra

fileupload

package fileupload

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. 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.

  2. 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.

Ungrouped