All Downloads are FREE. Search and download functionalities are using the official Maven repository.

skinny.micro.base.MainThreadLocalEverywhere.scala Maven / Gradle / Ivy

The newest version!
package skinny.micro.base

import javax.servlet.ServletContext

import skinny.micro.context.SkinnyContext

/**
 * When this trait is activated, thread-local request/response needed by SkinnyMicroContext are always accessible.
 */
trait MainThreadLocalEverywhere extends SkinnyContextInitializer {

  self: ServletContextAccessor with UnstableAccessValidationConfig =>

  /**
   * Skinny Micro Context
   */
  override implicit def skinnyContext(implicit ctx: ServletContext): SkinnyContext = {
    super.skinnyContext(ctx)
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy