@Internal public final class NettyServerProvider extends ServerProvider
NettyChannelBuilder instances.| 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 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 ServerProvider