Modifier and Type | Class and Description |
---|---|
class |
ManagedChannelBuilder<T extends ManagedChannelBuilder<T>>
A builder for
ManagedChannel instances. |
Modifier and Type | Class and Description |
---|---|
class |
ForwardingChannelBuilder<T extends ForwardingChannelBuilder<T>>
A
ManagedChannelBuilder that delegates all its builder method to another builder by
default. |
Modifier and Type | Method and Description |
---|---|
protected abstract ManagedChannelBuilder<?> |
ManagedChannelProvider.builderForAddress(String name,
int port)
Creates a new builder with the given host and port.
|
protected abstract ManagedChannelBuilder<?> |
ManagedChannelProvider.builderForTarget(String target)
Creates a new builder with the given target URI.
|
protected abstract ManagedChannelBuilder<?> |
ForwardingChannelBuilder.delegate()
Returns the delegated
ManagedChannelBuilder . |
static ManagedChannelBuilder<?> |
ManagedChannelBuilder.forAddress(String name,
int port)
Creates a channel with the target's address and port number.
|
static ManagedChannelBuilder<?> |
ForwardingChannelBuilder.forAddress(String name,
int port)
This method serves to force sub classes to "hide" this static factory.
|
static ManagedChannelBuilder<?> |
ManagedChannelBuilder.forTarget(String target)
Creates a channel with a target string, which can be either a valid
NameResolver -compliant URI, or an authority string. |
static ManagedChannelBuilder<?> |
ForwardingChannelBuilder.forTarget(String target)
This method serves to force sub classes to "hide" this static factory.
|