Class NettyServerAdapter

  • All Implemented Interfaces:
    com.hexagonkt.http.server.HttpServerPort

    
    public class NettyServerAdapter
     implements HttpServerPort
                        

    Implements HttpServerPort using Netty Channel.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • 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)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Integer runtimePort()
      Boolean started()
      Unit startUp(HttpServer server)
      MultithreadEventLoopGroup groupSupplier(Integer it)
      ServerBootstrap serverBootstrapSupplier(MultithreadEventLoopGroup bossGroup, MultithreadEventLoopGroup workerGroup)
      Unit shutDown()
      Set<HttpProtocol> supportedProtocols()
      Set<HttpServerFeature> supportedFeatures()
      Map<String, ?> options()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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)