io.fintrospect.FintrospectModule.scala Maven / Gradle / Ivy
package io.fintrospect
import com.twitter.finagle.Filter
import com.twitter.finagle.http.path.Path
import com.twitter.finagle.http.{Request, Response}
import io.fintrospect.renderers.ModuleRenderer
@deprecated("Use ModuleSpec instead", "v12.0.0")
object FintrospectModule {
@deprecated("Use ModuleSpec() instead", "v12.0.0")
def apply(basePath: Path, moduleRenderer: ModuleRenderer): ModuleSpec[Request, Response] =
ModuleSpec(basePath, moduleRenderer)
@deprecated("Use ModuleSpec() instead", "v12.0.0")
def apply(basePath: Path, moduleRenderer: ModuleRenderer, moduleFilter: Filter[Request, Response, Request, Response]) = {
ModuleSpec(basePath, moduleRenderer, moduleFilter)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy