com.twitter.finatra.http.Controller for Java Compatibility
A Finagle server which exposes an external HTTP or HTTPS interfaces implemented by a
Service[Request, Response]
configured via an HttpRouter.
A Finagle server which exposes an external HTTP or HTTPS interfaces implemented by a
Service[Request, Response]
configured via an HttpRouter. This abstract class is
intended for use from Java or with generated Java code.
Scala users are encouraged to use HttpServer instead.
A Finagle server which exposes external HTTP or HTTPS interfaces implemented by a
Service[Request, Response]
configured via an HttpRouter.
A Finagle server which exposes external HTTP or HTTPS interfaces implemented by a
Service[Request, Response]
configured via an HttpRouter. This trait is
intended for use from Scala or with generated Scala code.
Java users are encouraged to use AbstractHttpServer instead.
A basic HttpServer.
A basic HttpServer. To implement, override
protected def httpService: Service[Request, Response]
with your Service[Request, Response]
implementation.
A helper trait for serving HTTPS requests with standard TLS.
A helper trait for serving HTTPS requests with standard TLS. To use,
mix into an HttpServer and pass the cert.path
and key.path
flags
or set the defaults accordingly.
object MyServiceMain extends MyService class MyService extends HttpServer with Tls { override val defaultCertificatePath = "/path/to/cert" override protected def configureHttp(router: HttpRouter): Unit = { ... } }
To further specify or change the Http.Server configuration, override the Tls#configureHttpsServer method.