Class NettyUtils


  • public class NettyUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      NettyUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void setupResponseAndFlush​(io.netty.handler.codec.http.HttpResponseStatus status, byte[] body, boolean isJson, io.netty.channel.ChannelHandlerContext ctx)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NettyUtils

        public NettyUtils()
    • Method Detail

      • setupResponseAndFlush

        public static void setupResponseAndFlush​(io.netty.handler.codec.http.HttpResponseStatus status,
                                                 byte[] body,
                                                 boolean isJson,
                                                 io.netty.channel.ChannelHandlerContext ctx)