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 and Description
    `BufferFactory(int bufferSize, org.apache.http.nio.util.ByteBufferAllocator allocator, int size)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 Detail

    - #### BufferFactory

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

  - ### Method Detail

    - #### getBuffer

          public ControlledByteBuffer getBuffer()

    - #### release

          public void release(ControlledByteBuffer buffer)

Copyright © 2005–2018 Apache Software Foundation. All rights reserved.