![JAR search and dependency download from the Maven repository](/logo.png)
org.analogweb.scala.ScalaInvocationFactory.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of analogweb-scala_2.10 Show documentation
Show all versions of analogweb-scala_2.10 Show documentation
Analogweb Framework is tiny, simple, and pluggable web framework.
package org.analogweb.scala
import org.analogweb._
import org.analogweb.core.DefaultInvocationFactory
class ScalaInvocationFactory extends DefaultInvocationFactory {
override def createInvocation(ca: ContainerAdaptor, im: InvocationMetadata, rc: RequestContext, rsc: ResponseContext, tc: TypeMapperContext, rvr: RequestValueResolvers): Invocation = {
im match {
case sim: ScalaInvocationMetadata => new ScalaInvocation(sim.getDefinedPath, sim.route, rc, rsc, tc, rvr, im)
case _ => super.createInvocation(ca, im, rc, rsc, tc, rvr)
}
}
}