Prepends filter
to the top of the server.
Prepends filter
to the top of the server. That is, after materializing
the server (newService) filter
will be the first element which requests
flow through. This is a familiar chaining combinator for filters.
Produce a com.twitter.finagle.ThriftMux.Server with the specified max size of the reusable buffer for thrift responses.
Produce a com.twitter.finagle.ThriftMux.Server with the specified max size of the reusable buffer for thrift responses. If this size is exceeded, the buffer is not reused and a new buffer is allocated for the next thrift response. The default max size is 16Kb.
Max size of the reusable buffer for thrift responses in bytes.
Produce a com.twitter.finagle.Thrift.Server
using the provided
TProtocolFactory
.
Produce a com.twitter.finagle.ThriftMux.Server using the provided stack.
(Since version 2017-08-16) Use serverParam.maxThriftBufferSize
(Since version 2017-08-16) Use serverParam.protocolFactory
(Since version 2017-08-16) Use serverParam.serviceName
(Since version 2017-08-16) Use serverParam.serverStats
A ThriftMux
com.twitter.finagle.Server
.Mux documentation
Thrift documentation
Configuration documentation