The default Server implementation.
The default Server implementation. It is given a Listener (eg. com.twitter.finagle.netty3.Netty3Listener) and a function, serveTransport, that binds a transport and a service. It will then dispatch requests onto a standard service stack parameterized as described below.
The Listener from which to accept new typed Transports.
The maximum amount of time the server is allowed to handle a request. If the timeout expires, the server will cancel the future and terminate the client connection.
The maximum number of concurrent requests the server is willing to handle.
Enabled by default. If disabled, exceptions on the transport do not propagate to the transport.
Prepare the given ServiceFactory
before use.
Listeners provide a method, listen
, to expose a server on the
the given SocketAddress.
Listeners provide a method, listen
, to expose a server on the
the given SocketAddress. serveTransport
is called for each new
connection. It is furnished with a typed Transport
representing
this connection.
The returned ListeningServer
is used to inspect the server, and
is also used to shut it down.
A Server that is parameterized.
A com.twitter.finagle.Server that composes a com.twitter.finagle.Stack.
A standard template implementation for com.twitter.finagle.server.StackServer.
A collection of Stack.Params useful for configuring a com.twitter.finagle.server.Listener.
An empty Listener that can be used as a placeholder.