@ExperimentalApi(value="https://github.com/grpc/grpc-java/issues/1783") public class InProcessChannelBuilder extends io.grpc.internal.AbstractManagedChannelImplBuilder<InProcessChannelBuilder>
The channel is intended to be fully-featured, high performance, and useful in testing.
| Modifier and Type | Method and Description |
|---|---|
protected io.grpc.internal.ClientTransportFactory |
buildTransportFactory() |
static InProcessChannelBuilder |
forName(String name)
Create a channel builder that will connect to the server with the given name.
|
InProcessChannelBuilder |
usePlaintext(boolean skipNegotiation)
Does nothing.
|
build, checkAuthority, compressorRegistry, decompressorRegistry, directExecutor, executor, getNameResolverParams, intercept, intercept, loadBalancerFactory, nameResolverFactory, overrideAuthority, userAgentforAddress, forTargetpublic static InProcessChannelBuilder forName(String name)
name - the identity of the server to connect topublic InProcessChannelBuilder usePlaintext(boolean skipNegotiation)
usePlaintext in class ManagedChannelBuilder<InProcessChannelBuilder>protected io.grpc.internal.ClientTransportFactory buildTransportFactory()
buildTransportFactory in class io.grpc.internal.AbstractManagedChannelImplBuilder<InProcessChannelBuilder>