org.eclipse.jetty.io

## Interface Buffers

- All Known Implementing Classes:
    AbstractBuffers, PooledBuffers, SimpleBuffers, ThreadLocalBuffers

      public interface Buffers

  BufferSource. Represents a pool or other source of buffers and abstracts the creation of specific types of buffers (eg NIO). The concept of big and little buffers is supported, but these terms have no absolute meaning and must be determined by context.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static class` | `Buffers.Type`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Buffer` | `getBuffer()`
    `Buffer` | `getBuffer(int size)`
    `Buffer` | `getHeader()`
    `void` | `returnBuffer(Buffer buffer)`

- - ### Method Detail

    - #### getHeader

          Buffer getHeader()

    - #### getBuffer

          Buffer getBuffer()

    - #### getBuffer

          Buffer getBuffer(int size)

    - #### returnBuffer

          void returnBuffer(Buffer buffer)

Copyright © 1995-2015 Mort Bay Consulting. All Rights Reserved.