Class BufferHandler

  • All Implemented Interfaces:,,

    public final class BufferHandler
    A ChannelHandler that converts does the following conversions: This also releases any ByteBuf once converted to Buffer.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface
    • Field Summary

      Modifier and Type Field Description
      static INSTANCE  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void channelRead​( ctx, java.lang.Object msg)  
      void write​( ctx, java.lang.Object msg, promise)  
      • Methods inherited from class

        bind, close, connect, deregister, disconnect, flush, read
      • Methods inherited from class

        channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
      • Methods inherited from class

        ensureNotSharable, handlerAdded, handlerRemoved, isSharable
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface

        handlerAdded, handlerRemoved
    • Field Detail

      • INSTANCE

        public static final INSTANCE
    • Method Detail

      • channelRead

        public void channelRead​( ctx,
                                java.lang.Object msg)
        Specified by:
        channelRead in interface
        channelRead in class
      • write

        public void write​( ctx,
                          java.lang.Object msg,
        Specified by:
        write in interface
        write in class