trait
SkinnyContextInitializer extends AnyRef
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
request(implicit ctx: SkinnyContext): HttpServletRequest
-
def
response(implicit ctx: SkinnyContext): HttpServletResponse
-
def
skinnyContext(implicit ctx: ServletContext): SkinnyContext
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
withRequest[A](request: HttpServletRequest)(f: ⇒ A): A
-
def
withRequestResponse[A](request: HttpServletRequest, response: HttpServletResponse)(f: ⇒ A): A
-
def
withResponse[A](response: HttpServletResponse)(f: ⇒ A): A
Inherited from AnyRef
Inherited from Any
The SkinnyMicro DSL requires a dynamically scoped request and response to initialize SkinnyMicroContext.
This is formerly known as Scalatra's dynamic scope. This trick is explained in greater detail in Gabriele Renzi's blog post about Step, out of which SkinnyMicro grew: http://www.riffraff.info/2009/4/11/step-a-scala-web-picoframework