Package

skinny

filter

Permalink

package filter

Visibility
  1. Public
  2. All

Type Members

  1. trait AsyncErrorPageFilter extends AsyncSkinnyRenderingFilter

    Permalink

    Shows error page when unexpected exceptions are thrown from controllers.

  2. trait AsyncSkinnyRenderingFilter extends SkinnyFilter with AsyncBeforeAfterActionFeature with AsyncSkinnyWebPageControllerFeatures

    Permalink

    Skinny Rendering Filter.

    Skinny Rendering Filter.

    If you use Skinny Micro's filter (before/after not beforeAction/afterAction), be careful. It's pretty tricky. Skinny Micro's filters would be applied for all the controllers defined below in Bootstrap.

  3. trait AsyncSkinnySessionFilter extends SkinnySessionFilterBase with AsyncBeforeAfterActionFeature

    Permalink

    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 Bootstrap.scala is required.

    ctx.mount(classOf[SkinnySessionInitializer], "/\*")
  4. trait ErrorPageFilter extends SkinnyRenderingFilter

    Permalink

    Shows error page when unexpected exceptions are thrown from controllers.

  5. trait SkinnyFilter extends SkinnyControllerCommonBase with SkinnyFilterActivation

    Permalink

    Skinny Filter.

    Skinny Filter.

    For example:

    class BooksController extends SkinnyController
      with TxPerRequestFiler
      with SkinnyFilterActivation {
    
      // within a transaction
      def changeTitle = {
        if (...) {
          throw new UnexpectedErrorException
          // rollback
        } else {
          redirect(s"/books/${id}")
          // commit
        }
      }
    }

    If you use Skinny Micro's filter - before/after, be careful. It's pretty tricky. Because Skinny Micro's filters would be applied for all the controllers defined below in Bootstrap. Just using beforeAction/afterAction is highly recommended.

  6. trait SkinnyFilterActivation extends AnyRef

    Permalink

    Activates skinny filters.

  7. trait SkinnyRenderingFilter extends SkinnyFilter with BeforeAfterActionFeature with SkinnyWebPageControllerFeatures

    Permalink

    Skinny Rendering Filter.

    Skinny Rendering Filter.

    If you use Skinny Micro's filter (before/after not beforeAction/afterAction), be careful. It's pretty tricky. Skinny Micro's filters would be applied for all the controllers defined below in Bootstrap.

  8. trait SkinnySessionFilter extends SkinnySessionFilterBase with BeforeAfterActionFeature

    Permalink

    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 Bootstrap.scala is required.

    ctx.mount(classOf[SkinnySessionInitializer], "/\*")
  9. trait TxPerRequestFilter extends SkinnyFilter with BeforeAfterActionFeature with logging.LoggerProvider

    Permalink

    A filter which enables controller wired with a single transactional DB session.

Ungrouped