Shows error page when unexpected exceptions are thrown from controllers.
Skinny Filter.
Activates skinny filters.
Skinny Rendering Filter.
Skinny Rendering Filter.
If you use Scatatra's filter (before/after not beforeAction/afterAction), be careful. It's pretty tricky. Scalatra's filters would be applied for all the controllers defined below in ScalatraBootstrap.
Enables replacing Servlet session with Skinny's session shared among several Servlet apps.
Enables replacing Servlet session with Skinny's session shared among several Servlet apps.
Mounting skinny.session.SkinnySessionInitializer on the top of ScalatraBootstrap.scala is required.
ctx.mount(classOf[SkinnySessionInitializer], "/\*")
A filter which enables controller wired with a single transactional DB session.
Skinny Filter.
For example:
If you use Scatatra's filter - before/after, be careful. It's pretty tricky. Because Scalatra's filters would be applied for all the controllers difined below in ScalatraBootstrap. Just using beforeAction/afterAction is highly recommended.