【问题标题】:I'm looking for a way to add a handler to Netty in Micronaut我正在寻找一种在 Micronaut 中向 Netty 添加处理程序的方法
【发布时间】:2019-02-19 23:51:31
【问题描述】:

我需要构建一个 ODATA API 并且正在考虑使用 Micronaut,想在 Netty 中安装一个处理程序。

如https://github.com/apache/olingo-odata4/tree/master/lib/server-api/src/main/java/org/apache/olingo/netty/server/api

【问题讨论】:

    标签: micronaut


    【解决方案1】:

    任何实现 ChannelOutboundHandler 的 bean 都会在 HttpServerCodec 之后添加到 Netty 管道中

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2011-10-23
      • 1970-01-01
      • 2014-04-05
      • 2021-01-16
      • 2020-06-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多