public static class Server.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Server |
build() |
Server.Builder |
withEventLoopGroup(io.netty.channel.EventLoopGroup eventLoopGroup) |
Server.Builder |
withEventNotifier(Server.EventNotifier eventNotifier) |
Server.Builder |
withHost(java.net.InetAddress host) |
Server.Builder |
withPipelineConfigurator(PipelineConfigurator configurator) |
Server.Builder |
withPort(int port) |
Server.Builder |
withTlsEncryptionPolicy(EncryptionOptions.TlsEncryptionPolicy tlsEncryptionPolicy) |
public Server.Builder withTlsEncryptionPolicy(EncryptionOptions.TlsEncryptionPolicy tlsEncryptionPolicy)
public Server.Builder withEventLoopGroup(io.netty.channel.EventLoopGroup eventLoopGroup)
public Server.Builder withHost(java.net.InetAddress host)
public Server.Builder withPort(int port)
public Server.Builder withPipelineConfigurator(PipelineConfigurator configurator)
public Server.Builder withEventNotifier(Server.EventNotifier eventNotifier)
public Server build()
Copyright © 2009- The Apache Software Foundation