@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.
|
provider
protected boolean isAvailable()
ServerProvider
false
, no other methods are safe to be called.isAvailable
in class ServerProvider
protected int priority()
ServerProvider
priority
in class ServerProvider
protected NettyServerBuilder builderForPort(int port)
ServerProvider
builderForPort
in class ServerProvider
protected ServerProvider.NewServerBuilderResult newServerBuilderForPort(int port, ServerCredentials creds)
ServerProvider
newServerBuilderForPort
in class ServerProvider