类 HttpProcessHandler

  • 所有已实现的接口:
    io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler

    public class HttpProcessHandler
    extends io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http.HttpRequest>
    Parse HttpRequest for uri and parameters

    • if command not found, return 404
    • if execution fails, return 500
    • if succeed, return 200

    will disconnect after execution finishes

    • 嵌套类概要

      • 从接口继承的嵌套类/接口 io.netty.channel.ChannelHandler

        io.netty.channel.ChannelHandler.Sharable
    • 方法概要

      • 从类继承的方法 io.netty.channel.SimpleChannelInboundHandler

        acceptInboundMessage, channelRead
      • 从类继承的方法 io.netty.channel.ChannelInboundHandlerAdapter

        channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
      • 从类继承的方法 io.netty.channel.ChannelHandlerAdapter

        handlerAdded, handlerRemoved, isSharable
      • 从类继承的方法 java.lang.

        , , , , , , , ,
      • 从接口继承的方法 io.netty.channel.ChannelHandler

        handlerAdded, handlerRemoved
    • 构造器详细资料

      • HttpProcessHandler

        public HttpProcessHandler()