Used for Java access.
Provides a typesafe build
for Java.
Provides a typesafe buildFactory
for Java.
Returns a com.twitter.finagle.client.StackClient which is equivalent to a
ClientBuilder
configured with the same codec; that is, given
Returns a com.twitter.finagle.client.StackClient which is equivalent to a
ClientBuilder
configured with the same codec; that is, given
val cb = ClientBuilder() .dest(dest) .name(name) .codec(codec) val sc = ClientBuilder.stackClientOfCodec(codec)
then the following are equivalent
cb.build() sc.newService(dest, name)
and the following are also equivalent
cb.buildFactory() sc.newClient(dest, name)
Factory for com.twitter.finagle.builder.ClientBuilder instances