| Package | Description |
|---|---|
| io.grpc |
The gRPC core public API.
|
| io.grpc.servlet |
API that implements gRPC server as a servlet.
|
| io.grpc.servlet.jakarta |
API that implements gRPC server as a servlet.
|
| io.grpc.testing |
API that is useful for testing gRPC.
|
| io.grpc.xds |
Library for gPRC proxyless service mesh using Envoy xDS protocol.
|
| Modifier and Type | Method and Description |
|---|---|
Server |
ForwardingServerBuilder.build()
Returns the
Server built by the delegate by default. |
abstract Server |
ServerBuilder.build()
Builds a server using the given parameters.
|
abstract Server |
Server.shutdown()
Initiates an orderly shutdown in which preexisting calls continue but new calls are rejected.
|
abstract Server |
Server.shutdownNow()
Initiates a forceful shutdown in which preexisting and new calls are rejected.
|
abstract Server |
Server.start()
Bind and start the server.
|
| Modifier and Type | Method and Description |
|---|---|
Server |
ServletServerBuilder.build()
Builds a gRPC server that can run as a servlet.
|
| Modifier and Type | Method and Description |
|---|---|
Server |
ServletServerBuilder.build()
Builds a gRPC server that can run as a servlet.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Server> |
GrpcCleanupRule.register(T server)
Registers the given server to the rule.
|
| Modifier and Type | Method and Description |
|---|---|
Server |
GrpcServerRule.getServer()
Returns the underlying gRPC
Server for this service. |
| Modifier and Type | Method and Description |
|---|---|
Server |
XdsServerBuilder.build() |