NettyServerBuilder |
NettyServerBuilder.addListenAddressâ(SocketAddress listenAddress) |
Adds an additional address for this server to listen on.
|
NettyServerBuilder |
NettyServerBuilder.bossEventLoopGroupâ(EventLoopGroup group) |
Provides the boss EventGroupLoop to the server.
|
NettyServerBuilder |
NettyServerBuilder.channelFactoryâ(ChannelFactory<? extends ServerChannel> channelFactory) |
|
NettyServerBuilder |
NettyServerBuilder.channelTypeâ(Class<? extends ServerChannel> channelType) |
Specifies the channel type to use, by default we use EpollServerSocketChannel if
available, otherwise using NioServerSocketChannel .
|
NettyServerBuilder |
NettyServerBuilder.flowControlWindowâ(int flowControlWindow) |
Sets the flow control window in bytes.
|
static NettyServerBuilder |
NettyServerBuilder.forAddressâ(SocketAddress address) |
Creates a server builder configured with the given SocketAddress .
|
static NettyServerBuilder |
NettyServerBuilder.forAddressâ(SocketAddress address,
ServerCredentials creds) |
Creates a server builder configured with the given SocketAddress .
|
static NettyServerBuilder |
NettyServerBuilder.forPortâ(int port) |
Creates a server builder that will bind to the given port.
|
static NettyServerBuilder |
NettyServerBuilder.forPortâ(int port,
ServerCredentials creds) |
Creates a server builder that will bind to the given port.
|
NettyServerBuilder |
NettyServerBuilder.initialFlowControlWindowâ(int initialFlowControlWindow) |
Sets the initial flow control window in bytes.
|
NettyServerBuilder |
NettyServerBuilder.keepAliveTimeâ(long keepAliveTime,
TimeUnit timeUnit) |
Sets a custom keepalive time, the delay time for sending next keepalive ping.
|
NettyServerBuilder |
NettyServerBuilder.keepAliveTimeoutâ(long keepAliveTimeout,
TimeUnit timeUnit) |
Sets a custom keepalive timeout, the timeout for keepalive ping requests.
|
NettyServerBuilder |
NettyServerBuilder.maxConcurrentCallsPerConnectionâ(int maxCalls) |
The maximum number of concurrent calls permitted for each incoming connection.
|
NettyServerBuilder |
NettyServerBuilder.maxConnectionAgeâ(long maxConnectionAge,
TimeUnit timeUnit) |
Sets a custom max connection age, connection lasting longer than which will be gracefully
terminated.
|
NettyServerBuilder |
NettyServerBuilder.maxConnectionAgeGraceâ(long maxConnectionAgeGrace,
TimeUnit timeUnit) |
Sets a custom grace time for the graceful connection termination.
|
NettyServerBuilder |
NettyServerBuilder.maxConnectionIdleâ(long maxConnectionIdle,
TimeUnit timeUnit) |
Sets a custom max connection idle time, connection being idle for longer than which will be
gracefully terminated.
|
NettyServerBuilder |
NettyServerBuilder.maxHeaderListSizeâ(int maxHeaderListSize) |
Deprecated.
|
NettyServerBuilder |
NettyServerBuilder.maxInboundMessageSizeâ(int bytes) |
Sets the maximum message size allowed to be received on the server.
|
NettyServerBuilder |
NettyServerBuilder.maxInboundMetadataSizeâ(int bytes) |
Sets the maximum size of metadata allowed to be received.
|
NettyServerBuilder |
NettyServerBuilder.maxInboundMetadataSizeâ(int soft,
int max) |
Sets the size of metadata that clients are advised to not exceed.
|
NettyServerBuilder |
NettyServerBuilder.maxMessageSizeâ(int maxMessageSize) |
Deprecated.
|
NettyServerBuilder |
NettyServerBuilder.maxRstFramesPerWindowâ(int maxRstStream,
int secondsPerWindow) |
Limits the rate of incoming RST_STREAM frames per connection to maxRstStream per
secondsPerWindow.
|
NettyServerBuilder |
NettyServerBuilder.permitKeepAliveTimeâ(long keepAliveTime,
TimeUnit timeUnit) |
Specify the most aggressive keep-alive time clients are permitted to configure.
|
NettyServerBuilder |
NettyServerBuilder.permitKeepAliveWithoutCallsâ(boolean permit) |
Sets whether to allow clients to send keep-alive HTTP/2 PINGs even if there are no outstanding
RPCs on the connection.
|
NettyServerBuilder |
NettyServerBuilder.protocolNegotiatorâ(io.grpc.netty.ProtocolNegotiator protocolNegotiator) |
Sets the ProtocolNegotiator to be used.
|
NettyServerBuilder |
NettyServerBuilder.sslContextâ(SslContext sslContext) |
Sets the TLS context to use for encryption.
|
NettyServerBuilder |
NettyServerBuilder.useTransportSecurityâ(File certChain,
File privateKey) |
|
NettyServerBuilder |
NettyServerBuilder.useTransportSecurityâ(InputStream certChain,
InputStream privateKey) |
|
<T> NettyServerBuilder |
NettyServerBuilder.withChildOptionâ(ChannelOption<T> option,
T value) |
Specifies a child channel option.
|
<T> NettyServerBuilder |
NettyServerBuilder.withOptionâ(ChannelOption<T> option,
T value) |
Specifies a channel option.
|
NettyServerBuilder |
NettyServerBuilder.workerEventLoopGroupâ(EventLoopGroup group) |
Provides the worker EventGroupLoop to the server.
|