Modifier and Type | Class and Description |
---|---|
class |
ForwardingServerBuilder<T extends ServerBuilder<T>>
A
ServerBuilder that delegates all its builder methods to another builder by default. |
class |
ServerBuilder<T extends ServerBuilder<T>>
A builder for
Server instances. |
Modifier and Type | Class and Description |
---|---|
class |
ForwardingServerBuilder<T extends ServerBuilder<T>>
A
ServerBuilder that delegates all its builder methods to another builder by default. |
Modifier and Type | Method and Description |
---|---|
protected abstract ServerBuilder<?> |
ServerProvider.builderForPort(int port)
Creates a new builder with the given port.
|
protected abstract ServerBuilder<?> |
ForwardingServerBuilder.delegate()
Returns the delegated
ServerBuilder . |
static ServerBuilder<?> |
ForwardingServerBuilder.forPort(int port)
This method serves to force sub classes to "hide" this static factory.
|
static ServerBuilder<?> |
ServerBuilder.forPort(int port)
Static factory for creating a new ServerBuilder.
|
ServerBuilder<?> |
ServerProvider.NewServerBuilderResult.getServerBuilder() |
static ServerBuilder<?> |
Grpc.newServerBuilderForPort(int port,
ServerCredentials creds)
Static factory for creating a new ServerBuilder.
|
Modifier and Type | Method and Description |
---|---|
static ServerProvider.NewServerBuilderResult |
ServerProvider.NewServerBuilderResult.serverBuilder(ServerBuilder<?> builder) |