Package com.hexagonkt.http.server.netty
Class NettyServerAdapter
-
- All Implemented Interfaces:
-
com.hexagonkt.http.server.HttpServerPort
public class NettyServerAdapter implements HttpServerPortImplements HttpServerPort using Netty Channel.
-
-
Constructor Summary
Constructors Constructor Description NettyServerAdapter()NettyServerAdapter(Integer bossGroupThreads, Integer workerGroupThreads, Integer executorThreads, Integer soBacklog, Boolean soReuseAddr, Boolean soKeepAlive, Long shutdownQuietSeconds, Long shutdownTimeoutSeconds, Boolean keepAliveHandler, Boolean httpAggregatorHandler, Boolean chunkedHandler, Boolean enableWebsockets)
-
Method Summary
Modifier and Type Method Description IntegerruntimePort()Booleanstarted()UnitstartUp(HttpServer server)MultithreadEventLoopGroupgroupSupplier(Integer it)ServerBootstrapserverBootstrapSupplier(MultithreadEventLoopGroup bossGroup, MultithreadEventLoopGroup workerGroup)UnitshutDown()Set<HttpProtocol>supportedProtocols()Set<HttpServerFeature>supportedFeatures()Map<String, ?>options()-
-
Constructor Detail
-
NettyServerAdapter
NettyServerAdapter()
-
NettyServerAdapter
NettyServerAdapter(Integer bossGroupThreads, Integer workerGroupThreads, Integer executorThreads, Integer soBacklog, Boolean soReuseAddr, Boolean soKeepAlive, Long shutdownQuietSeconds, Long shutdownTimeoutSeconds, Boolean keepAliveHandler, Boolean httpAggregatorHandler, Boolean chunkedHandler, Boolean enableWebsockets)
-
-
Method Detail
-
runtimePort
Integer runtimePort()
-
started
Boolean started()
-
startUp
Unit startUp(HttpServer server)
-
groupSupplier
MultithreadEventLoopGroup groupSupplier(Integer it)
-
serverBootstrapSupplier
ServerBootstrap serverBootstrapSupplier(MultithreadEventLoopGroup bossGroup, MultithreadEventLoopGroup workerGroup)
-
shutDown
Unit shutDown()
-
supportedProtocols
Set<HttpProtocol> supportedProtocols()
-
supportedFeatures
Set<HttpServerFeature> supportedFeatures()
-
options
Map<String, ?> options()
-
-
-
-