Class Netty4HttpResponse

    • Constructor Detail

      • Netty4HttpResponse

        public Netty4HttpResponse​(io.netty.channel.ChannelHandlerContext context,
                                  io.netty.handler.codec.http.FullHttpResponse response,
                                  byte[] content)
    • Method Detail

      • getHeaders

        public HttpHeaders getHeaders()
        Description copied from interface: HttpMessage
        HTTP报头
        Returns:
      • getProtocol

        public HttpVersion getProtocol()
        Description copied from interface: HttpResponse
        HTTP协议
        Returns:
      • getStatus

        public HttpStatus getStatus()
        Description copied from interface: HttpResponse
        响应状态
        Returns:
      • close

        public void close()
        Description copied from interface: HttpResponse
        释放资源