@Internal public final class NettyServerProvider extends ServerProvider
NettyServerBuilder instances.ServerProvider.NewServerBuilderResult| Constructor and Description |
|---|
NettyServerProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected NettyServerBuilder |
builderForPort(int port)
Creates a new builder with the given port.
|
protected boolean |
isAvailable()
Whether this provider is available for use, taking the current environment into consideration.
|
protected ServerProvider.NewServerBuilderResult |
newServerBuilderForPort(int port,
ServerCredentials creds)
Creates a new builder with the given port and credentials.
|
protected int |
priority()
A priority, from 0 to 10 that this provider should be used, taking the current environment into
consideration.
|
providerprotected boolean isAvailable()
ServerProviderfalse, no other methods are safe to be called.isAvailable in class ServerProviderprotected int priority()
ServerProviderpriority in class ServerProviderprotected NettyServerBuilder builderForPort(int port)
ServerProviderbuilderForPort in class ServerProviderprotected ServerProvider.NewServerBuilderResult newServerBuilderForPort(int port, ServerCredentials creds)
ServerProvidernewServerBuilderForPort in class ServerProvider