接口 ProtocolDetector

  • 所有已知实现类:
    Http2ProtocolDetector

    public interface ProtocolDetector
    Determine incoming bytes belong to the specific protocol.
    作者:
    guohaoice@gmail.com
    • 方法详细资料

      • detect

        ProtocolDetector.Result detect​(io.netty.channel.ChannelHandlerContext ctx,
                                       io.netty.buffer.ByteBuf in)