Class NettyUtils


  • public class NettyUtils
    extends java.lang.Object
    Created by acurtis on 3/30/17.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static io.netty.util.AttributeKey<io.netty.util.concurrent.EventExecutorGroup> EXECUTOR_GROUP_ATTRIBUTE_KEY  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static io.netty.util.concurrent.EventExecutorGroup executorGroup​(io.netty.channel.Channel channel)  
      static io.netty.util.concurrent.EventExecutorGroup executorGroup​(io.netty.channel.ChannelPipeline pipeline)  
      static boolean isTrue​(io.netty.util.AttributeMap map, io.netty.util.AttributeKey<java.lang.Boolean> key)  
      static io.netty.buffer.ByteBuf read​(io.netty.buffer.ByteBuf in, int length)  
      • Methods inherited from class java.lang.Object

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

      • EXECUTOR_GROUP_ATTRIBUTE_KEY

        public static final io.netty.util.AttributeKey<io.netty.util.concurrent.EventExecutorGroup> EXECUTOR_GROUP_ATTRIBUTE_KEY
    • Method Detail

      • read

        public static io.netty.buffer.ByteBuf read​(io.netty.buffer.ByteBuf in,
                                                   int length)
      • executorGroup

        public static io.netty.util.concurrent.EventExecutorGroup executorGroup​(io.netty.channel.Channel channel)
      • executorGroup

        public static io.netty.util.concurrent.EventExecutorGroup executorGroup​(io.netty.channel.ChannelPipeline pipeline)
      • isTrue

        public static boolean isTrue​(io.netty.util.AttributeMap map,
                                     io.netty.util.AttributeKey<java.lang.Boolean> key)