Class Frame


  • public class Frame
    extends Object
    A holder for a String or ByteBuf that represents a message to be written back to the requesting client.
    Author:
    Stephen Mallette (http://stephen.genoprime.com)
    • Constructor Detail

      • Frame

        public Frame​(Object msg)
    • Method Detail

      • getMsg

        public Object getMsg()
      • tryRelease

        public void tryRelease()
        If the object contained in the frame is ReferenceCounted then it may need to be released or else Netty will generate warnings that counted resources are leaking.