Partially patched ScalatraBase for Skinny Framework.
Partially patched ScalatraBase for Skinny Framework.
Scalatra runs only the first one of after filters. The others are skipped due to the servlet/filter is already marked as "org.scalatra.ScalatraFilter.afterFilters.Run". This means that when several Scalatra filters is already definied below at ScalatraBootstrap.scala, current ScalatraFilter's after callbacks would be ignored (even though all the before callbacks are called).
So We've patched ScalatraBase to ignore "org.scalatra.ScalatraFilter.afterFilters.Run" only for Filters. Hope Scalatra to support ignoring "org.scalatra.ScalatraFilter.afterFilters.Run" option to 3rd party.
(Since version 2.1.0) Use org.scalatra.servlet.ServletBase if you depend on the Servlet API, or org.scalatra.ScalatraBase if you don't.