@Internal public interface NettyEmbeddedServices
NettyHttpServer
.
e@NonNull List<io.netty.channel.ChannelOutboundHandler> getOutboundHandlers()
@NonNull ApplicationContext getApplicationContext()
@NonNull default RequestArgumentSatisfier getRequestArgumentSatisfier()
RequestArgumentSatisfier
@NonNull RouteExecutor getRouteExecutor()
RouteExecutor
@NonNull MediaTypeCodecRegistry getMediaTypeCodecRegistry()
MediaTypeCodecRegistry
@NonNull StaticResourceResolver getStaticResourceResolver()
StaticResourceResolver
@NonNull default ExecutorSelector getExecutorSelector()
@Nullable ServerSslBuilder getServerSslBuilder()
null
if none is configuredCertificateProvidedSslBuilder
@NonNull ChannelOptionFactory getChannelOptionFactory()
@NonNull HttpCompressionStrategy getHttpCompressionStrategy()
@NonNull WebSocketBeanRegistry getWebSocketBeanRegistry()
@NonNull EventLoopGroupRegistry getEventLoopGroupRegistry()
@NonNull io.netty.channel.EventLoopGroup createEventLoopGroup(@NonNull EventLoopGroupConfiguration config)
config
- The config@NonNull io.netty.channel.EventLoopGroup createEventLoopGroup(int numThreads, @NonNull ExecutorService executorService, @Nullable Integer ioRatio)
numThreads
- The number of threadsexecutorService
- The executor serviceioRatio
- The I/O ratio@NonNull io.netty.channel.socket.ServerSocketChannel getServerSocketChannelInstance(@NonNull EventLoopGroupConfiguration workerConfig)
workerConfig
- The worker configServerSocketChannel
@NonNull <E> ApplicationEventPublisher<E> getEventPublisher(@NonNull Class<E> eventClass)
E
- The event generic typeeventClass
- The event publisher