| Package | Description |
|---|---|
| io.grpc |
The gRPC core public API.
|
| io.grpc.testing |
API that is useful for testing gRPC.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
|---|---|
<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. |