com.twitter.finatra.http.modules.HttpResponseClassifierModule.scala Maven / Gradle / Ivy
The newest version!
package com.twitter.finatra.http.modules
import com.twitter.finatra.http.response.HttpResponseClassifier
import com.twitter.inject.TwitterModule
object HttpResponseClassifierModule extends TwitterModule {
override def configure(): Unit = {
bind[HttpResponseClassifier].toInstance(
HttpResponseClassifier.ServerErrorsAsFailures
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy