IN - The type that will be received by this clientOUT - The type that will be sent by this clientpublic class TcpServerSpec<IN,OUT> extends NetServerSpec<IN,OUT,TcpServerSpec<IN,OUT>,TcpServer<IN,OUT>>
channelConsumers, codec, listenAddress, options| Constructor and Description |
|---|
TcpServerSpec(java.lang.Class<? extends TcpServer> serverImpl)
Create a
TcpServer.Spec using the given implementation class. |
| Modifier and Type | Method and Description |
|---|---|
protected TcpServer<IN,OUT> |
configure(reactor.core.Reactor reactor,
reactor.core.Environment env) |
TcpServerSpec<IN,OUT> |
ssl(SslOptions sslOptions)
Set the options to use for configuring SSL.
|
codec, consume, consume, consumeInput, listen, listen, listen, optionsbroadcastEventRouting, configure, consumerInvoker, consumerNotFoundHandler, consumerRegistry, converters, converters, dispatchErrorHandler, eventFilter, eventRouter, firstEventRouting, randomEventRouting, roundRobinEventRouting, traceEventPath, traceEventPath, uncaughtErrorHandlerpublic 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