书栈网 · BookStack 本次搜索耗时 0.016 秒,为您找到 1473 个相关结果.
  • Testing Functions

    Testing Functions Testing Functions Functions can also be run as part of the Micronaut application context for ease of testing. Similarly to the example above, this approach re...
  • 6.27 HTTP/2 Support

    6.27 HTTP/2 Support Configuring the Server for HTTP/2 HTTP/2 Clients 6.27 HTTP/2 Support Since Micronaut 2.x, Micronaut’s Netty-based HTTP server can be configured to support...
  • 6.25 HTTP/2 Support

    6.25 HTTP/2 Support Configuring the Server for HTTP/2 HTTP/2 Clients 6.25 HTTP/2 Support Since Micronaut 2.x, Micronaut’s Netty-based HTTP server can be configured to support...
  • 6.27 HTTP/2 Support

    6.27 HTTP/2 Support Configuring the Server for HTTP/2 HTTP/2 Clients 6.27 HTTP/2 Support Since Micronaut 2.x, Micronaut’s Netty-based HTTP server can be configured to support...
  • 6.29.1 Configuring Server Thread Pools

    6.29.1 Configuring Server Thread Pools Blocking Operations 6.29.1 Configuring Server Thread Pools The HTTP server is built on Netty which is designed as a non-blocking I/O too...
  • Maven

    Maven note Basic Kotlin pom.xml file (without Ktor) Add Ktor dependencies and configure build settings Choose your engine and configure it Final pom.xml (with Ktor) Configure...
  • 在一个引导中添加多个 ChannelHandler

    在一个引导中添加多个 ChannelHandler 在一个引导中添加多个 ChannelHandler 在所有的例子代码中,我们在引导过程中通过 handler() 或childHandler() 都只添加了一个 ChannelHandler 实例,对于简单的程序可能足够,但是对于复杂的程序则无法满足需求。例如,某个程序必须支持多个协议,如 HTTP...
  • EventLoop

    调度任务执行 使用普通的 Java API 调度任务 使用 EventLoop 调度任务 调度的内部实现 调度任务执行 每隔一段时间需要调度任务执行,也许你想注册一个任务在客户端完成连接5分钟后执行,一个常见的用例是发送一个消息“你还活着?”到远端通,如果远端没有反应,则可以关闭通道(连接)和释放资源。 本节介绍使用强大的 EventLoop...
  • 测试程序

    1031 2018-02-22 《Netty 实战(精髓)》
    测试程序 如何加密? 测试程序 使用下面命令启动服务器: mvn - PChatServer clean package exec : exec 其中项目中的 pom.xml 是配置了 9999 端口。你也可以通过下面的方法修改属性 mvn - PChatServer - Dport = 1111 clean pack...
  • 工程依赖

    工程依赖 工程依赖 Motan框架采用模块化设计,使用时可以按需依赖。目前的模块有: motan-coreMotan核心框架 motan-transport-netty基于Netty协议的长连接传输协议 motan-registry-consulConsul服务发现组件 motan-registry-zookeeperZookeeper服务发现组...