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