org.scalatra.RouteTransformer.scala Maven / Gradle / Ivy
package org.scalatra
object RouteTransformer {
implicit def fn2transformer(fn: Route => Route): RouteTransformer =
(route: Route) => fn(route)
}
trait RouteTransformer {
def apply(route: Route): Route
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy