IN - The type that will be received by this clientOUT - The type that will be sent by this clientpublic static class Spec.TcpServerSpec<IN,OUT> extends Spec.PeerSpec<IN,OUT,ChannelStream<IN,OUT>,Spec.TcpServerSpec<IN,OUT>,TcpServer<IN,OUT>>
codec, listenAddress, options| Modifier and Type | Method and Description |
|---|---|
protected TcpServer<IN,OUT> |
configure(reactor.core.Dispatcher dispatcher,
reactor.Environment env) |
Spec.TcpServerSpec<IN,OUT> |
ssl(SslOptions sslOptions)
Set the options to use for configuring SSL.
|
codec, listen, listen, listen, options, rawDatapublic Spec.TcpServerSpec<IN,OUT> ssl(@Nullable SslOptions sslOptions)
null means don't use SSL at all (the
default).sslOptions - The options to set when configuring SSL