Package | Description |
---|---|
io.grpc |
The gRPC core public API.
|
io.grpc.inprocess |
The in-process transport which is for when a server is in the same process as the client.
|
io.grpc.internal | |
io.grpc.netty |
The main transport implementation based on Netty,
for both the client and the server.
|
io.grpc.xds |
Library for gPRC proxyless service mesh using Envoy xDS protocol.
|
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) |
Modifier and Type | Class and Description |
---|---|
class |
InProcessServerBuilder
Builder for a server that services in-process requests.
|
Modifier and Type | Method and Description |
---|---|
protected ServerBuilder<?> |
InProcessServerBuilder.delegate() |
Modifier and Type | Class and Description |
---|---|
class |
io.grpc.internal.AbstractServerImplBuilder<T extends ServerBuilder<T>> |
Modifier and Type | Class and Description |
---|---|
class |
NettyServerBuilder
A builder to help simplify the construction of a Netty-based GRPC server.
|
Modifier and Type | Method and Description |
---|---|
protected ServerBuilder<?> |
NettyServerBuilder.delegate() |
Modifier and Type | Class and Description |
---|---|
class |
XdsServerBuilder
A version of
ServerBuilder to create xDS managed servers. |
Modifier and Type | Method and Description |
---|---|
protected ServerBuilder<?> |
XdsServerBuilder.delegate() |
static ServerBuilder<?> |
XdsServerBuilder.forPort(int port) |
ServerBuilder<?> |
XdsServerBuilder.transportBuilder()
Returns the delegate
NettyServerBuilder to allow experimental level
transport-specific configuration. |