## Uses of Interface
org.jboss.netty.buffer.ChannelBufferFactory

- Packages that use ChannelBufferFactory
  Package | Description
  --- | ---
  org.jboss.netty.buffer | Abstraction of a byte buffer - the fundamental data structure to represent a low-level binary and text message.
  org.jboss.netty.channel | The core channel API which is asynchronous and event-driven abstraction of various transports such as a NIO Channel.
  org.jboss.netty.channel.socket.http | An HTTP-based client-side `SocketChannel` and its corresponding server-side Servlet implementation that make your existing server application work in a firewalled network.
  org.jboss.netty.handler.codec.base64 | Encoder and decoder which transform a Base64-encoded `String` or `ChannelBuffer` into a decoded `ChannelBuffer` and vice versa.
  org.jboss.netty.handler.codec.embedder | A helper that wraps an encoder or a decoder so that they can be used without doing actual I/O in unit tests or higher level codecs.

- - ### Uses of ChannelBufferFactory in org.jboss.netty.buffer

    Classes in org.jboss.netty.buffer that implement ChannelBufferFactory
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractChannelBufferFactory` A skeletal implementation of `ChannelBufferFactory`.
    `class` | `DirectChannelBufferFactory` A `ChannelBufferFactory` which pre-allocates a large chunk of direct buffer and returns its slice on demand.
    `class` | `HeapChannelBufferFactory` A `ChannelBufferFactory` which merely allocates a heap buffer with the specified capacity.

    Methods in org.jboss.netty.buffer that return ChannelBufferFactory
    Modifier and Type | Method and Description
    --- | ---
    `ChannelBufferFactory` | ReadOnlyChannelBuffer.`factory()`
    `ChannelBufferFactory` | CompositeChannelBuffer.`factory()`
    `ChannelBufferFactory` | DynamicChannelBuffer.`factory()`
    `ChannelBufferFactory` | ByteBufferBackedChannelBuffer.`factory()`
    `ChannelBufferFactory` | LittleEndianHeapChannelBuffer.`factory()`
    `ChannelBufferFactory` | ChannelBuffer.`factory()` Returns the factory which creates a `ChannelBuffer` whose type and default `ByteOrder` are same with this buffer.
    `ChannelBufferFactory` | BigEndianHeapChannelBuffer.`factory()`
    `ChannelBufferFactory` | DuplicatedChannelBuffer.`factory()`
    `ChannelBufferFactory` | TruncatedChannelBuffer.`factory()`
    `ChannelBufferFactory` | SlicedChannelBuffer.`factory()`
    `static ChannelBufferFactory` | HeapChannelBufferFactory.`getInstance()`
    `static ChannelBufferFactory` | DirectChannelBufferFactory.`getInstance()`
    `static ChannelBufferFactory` | HeapChannelBufferFactory.`getInstance(ByteOrder endianness)`
    `static ChannelBufferFactory` | DirectChannelBufferFactory.`getInstance(ByteOrder defaultEndianness)`

    Methods in org.jboss.netty.buffer with parameters of type ChannelBufferFactory
    Modifier and Type | Method and Description
    --- | ---
    `static ChannelBuffer` | ChannelBuffers.`dynamicBuffer(ByteOrder endianness, int estimatedLength, ChannelBufferFactory factory)` Creates a new dynamic buffer with the specified endianness and the specified estimated data length using the specified factory.
    `static ChannelBuffer` | ChannelBuffers.`dynamicBuffer(ChannelBufferFactory factory)`
    `static ChannelBuffer` | ChannelBuffers.`dynamicBuffer(int estimatedLength, ChannelBufferFactory factory)` Creates a new big-endian dynamic buffer with the specified estimated data length using the specified factory.

    Constructors in org.jboss.netty.buffer with parameters of type ChannelBufferFactory
    Constructor and Description
    `DynamicChannelBuffer(ByteOrder endianness, int estimatedLength, ChannelBufferFactory factory)`

  - ### Uses of ChannelBufferFactory in org.jboss.netty.channel

    Methods in org.jboss.netty.channel that return ChannelBufferFactory
    Modifier and Type | Method and Description
    --- | ---
    `ChannelBufferFactory` | ChannelConfig.`getBufferFactory()` Returns the default `ChannelBufferFactory` used to create a new `ChannelBuffer`.
    `ChannelBufferFactory` | DefaultChannelConfig.`getBufferFactory()`
    `ChannelBufferFactory` | DefaultServerChannelConfig.`getBufferFactory()`

    Methods in org.jboss.netty.channel with parameters of type ChannelBufferFactory
    Modifier and Type | Method and Description
    --- | ---
    `void` | ChannelConfig.`setBufferFactory(ChannelBufferFactory bufferFactory)` Sets the default `ChannelBufferFactory` used to create a new `ChannelBuffer`.
    `void` | DefaultChannelConfig.`setBufferFactory(ChannelBufferFactory bufferFactory)`
    `void` | DefaultServerChannelConfig.`setBufferFactory(ChannelBufferFactory bufferFactory)`

  - ### Uses of ChannelBufferFactory in org.jboss.netty.channel.socket.http

    Methods in org.jboss.netty.channel.socket.http that return ChannelBufferFactory
    Modifier and Type | Method and Description
    --- | ---
    `ChannelBufferFactory` | HttpTunnelingSocketChannelConfig.`getBufferFactory()`

    Methods in org.jboss.netty.channel.socket.http with parameters of type ChannelBufferFactory
    Modifier and Type | Method and Description
    --- | ---
    `void` | HttpTunnelingSocketChannelConfig.`setBufferFactory(ChannelBufferFactory bufferFactory)`

  - ### Uses of ChannelBufferFactory in org.jboss.netty.handler.codec.base64

    Methods in org.jboss.netty.handler.codec.base64 with parameters of type ChannelBufferFactory
    Modifier and Type | Method and Description
    --- | ---
    `static ChannelBuffer` | Base64.`decode(ChannelBuffer src, Base64Dialect dialect, ChannelBufferFactory bufferFactory)`
    `static ChannelBuffer` | Base64.`decode(ChannelBuffer src, ChannelBufferFactory bufferFactory)`
    `static ChannelBuffer` | Base64.`decode(ChannelBuffer src, int off, int len, Base64Dialect dialect, ChannelBufferFactory bufferFactory)`
    `static ChannelBuffer` | Base64.`decode(ChannelBuffer src, int off, int len, ChannelBufferFactory bufferFactory)`
    `static ChannelBuffer` | Base64.`encode(ChannelBuffer src, Base64Dialect dialect, ChannelBufferFactory bufferFactory)`
    `static ChannelBuffer` | Base64.`encode(ChannelBuffer src, boolean breakLines, Base64Dialect dialect, ChannelBufferFactory bufferFactory)`
    `static ChannelBuffer` | Base64.`encode(ChannelBuffer src, boolean breakLines, ChannelBufferFactory bufferFactory)`
    `static ChannelBuffer` | Base64.`encode(ChannelBuffer src, ChannelBufferFactory bufferFactory)`
    `static ChannelBuffer` | Base64.`encode(ChannelBuffer src, int off, int len, Base64Dialect dialect, ChannelBufferFactory bufferFactory)`
    `static ChannelBuffer` | Base64.`encode(ChannelBuffer src, int off, int len, boolean breakLines, Base64Dialect dialect, ChannelBufferFactory bufferFactory)`
    `static ChannelBuffer` | Base64.`encode(ChannelBuffer src, int off, int len, boolean breakLines, ChannelBufferFactory bufferFactory)`
    `static ChannelBuffer` | Base64.`encode(ChannelBuffer src, int off, int len, ChannelBufferFactory bufferFactory)`

  - ### Uses of ChannelBufferFactory in org.jboss.netty.handler.codec.embedder

    Constructors in org.jboss.netty.handler.codec.embedder with parameters of type ChannelBufferFactory
    Constructor and Description
    `DecoderEmbedder(ChannelBufferFactory bufferFactory, ChannelUpstreamHandler... handlers)` Creates a new embedder whose pipeline is composed of the specified handlers.
    `EncoderEmbedder(ChannelBufferFactory bufferFactory, ChannelDownstreamHandler... handlers)` Creates a new embedder whose pipeline is composed of the specified handlers.

Copyright © 2008-2012 The Netty Project. All Rights Reserved.