Package org.apache.synapse.transport.passthru.util

# Class BufferFactory

java.lang.Object
org.apache.synapse.transport.passthru.util.BufferFactory

public class BufferFactory extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `BufferFactory(int bufferSize, org.apache.http.nio.util.ByteBufferAllocator allocator, int size)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ControlledByteBuffer`
  `getBuffer()`
  `void`
  `release(ControlledByteBuffer buffer)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### BufferFactory

    public BufferFactory(int bufferSize, org.apache.http.nio.util.ByteBufferAllocator allocator, int size)

- ## Method Details

  - ### getBuffer

    public ControlledByteBuffer getBuffer()

  - ### release

    public void release(ControlledByteBuffer buffer)