Packages

package scalatra

Type Members

  1. trait ExceptionHandling extends ServletBase

    Provides an alternative to Scalatra's built-in exception-handling mechanism (i.e., renderUncaughtException) which allows for notification emails to be sent out to email address(es) configured at the application level.

  2. trait FileUploadSupport extends ServletBase with MultipartFormHandling

    An alternative mechanism (to Scalatra's built-in mechanism) for Scalatra-based servlets to handle file-uploads, leveraging the Apache 'commons-fileupload' package.

    An alternative mechanism (to Scalatra's built-in mechanism) for Scalatra-based servlets to handle file-uploads, leveraging the Apache 'commons-fileupload' package. The primary motivation here is in avoiding the need to have "max file size" (and et al) configuration in web.xml or elsewhere, which has always proven a major PITA for this class's author; the "configuration" is provided merely by implementing the 'uploadConfig' val/method on the sub-class servlet.

Ungrouped