Class NettyDataBufferFactory

java.lang.Object
io.jooby.netty.buffer.NettyDataBufferFactory
All Implemented Interfaces:
DataBufferFactory

public class NettyDataBufferFactory extends Object implements DataBufferFactory
Implementation of the DataBufferFactory interface based on a Netty 4 ByteBufAllocator.
Since:
5.0
Author:
Arjen Poutsma, Juergen Hoeller
See Also:
  • PooledByteBufAllocator
  • UnpooledByteBufAllocator
  • Constructor Details

    • NettyDataBufferFactory

      public NettyDataBufferFactory(io.netty.buffer.ByteBufAllocator byteBufAllocator)
      Create a new NettyDataBufferFactory based on the given factory.
      Parameters:
      byteBufAllocator - the factory to use
      See Also:
      • PooledByteBufAllocator
      • UnpooledByteBufAllocator
    • NettyDataBufferFactory

      public NettyDataBufferFactory()
  • Method Details