Uses of Interface
org.jboss.netty.buffer.ChannelBufferFactory
Packages that use ChannelBufferFactory
Package
Description
Abstraction of a byte buffer - the fundamental data structure
to represent a low-level binary and text message.
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
An HTTP-based client-side
SocketChannel
and its corresponding server-side Servlet implementation that make your
existing server application work in a firewalled network.Encoder and decoder which transform a
Base64-encoded
String
or ChannelBuffer
into a decoded ChannelBuffer
and vice versa.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.
Decoder and Encoder which uses JBoss Marshalling.
Specialized variation of
FrameDecoder
which enables implementation of a non-blocking decoder in the blocking I/O
paradigm.-
Uses of ChannelBufferFactory in org.jboss.netty.buffer
Classes in org.jboss.netty.buffer that implement ChannelBufferFactoryModifier and TypeClassDescriptionclass
A skeletal implementation ofChannelBufferFactory
.class
AChannelBufferFactory
which pre-allocates a large chunk of direct buffer and returns its slice on demand.class
AChannelBufferFactory
which merely allocates a heap buffer with the specified capacity.Fields in org.jboss.netty.buffer declared as ChannelBufferFactoryMethods in org.jboss.netty.buffer that return ChannelBufferFactoryModifier and TypeMethodDescriptionBigEndianHeapChannelBuffer.factory()
ByteBufferBackedChannelBuffer.factory()
ChannelBuffer.factory()
Returns the factory which creates aChannelBuffer
whose type and defaultByteOrder
are same with this buffer.CompositeChannelBuffer.factory()
DuplicatedChannelBuffer.factory()
DynamicChannelBuffer.factory()
LittleEndianHeapChannelBuffer.factory()
ReadOnlyChannelBuffer.factory()
SlicedChannelBuffer.factory()
TruncatedChannelBuffer.factory()
static ChannelBufferFactory
DirectChannelBufferFactory.getInstance()
static ChannelBufferFactory
DirectChannelBufferFactory.getInstance
(ByteOrder defaultEndianness) static ChannelBufferFactory
HeapChannelBufferFactory.getInstance()
static ChannelBufferFactory
HeapChannelBufferFactory.getInstance
(ByteOrder endianness) Methods in org.jboss.netty.buffer with parameters of type ChannelBufferFactoryModifier and TypeMethodDescriptionstatic ChannelBuffer
ChannelBuffers.dynamicBuffer
(int estimatedLength, ChannelBufferFactory factory) Creates a new big-endian dynamic buffer with the specified estimated data length using the specified factory.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) Constructors in org.jboss.netty.buffer with parameters of type ChannelBufferFactoryModifierConstructorDescriptionDynamicChannelBuffer
(ByteOrder endianness, int estimatedLength, ChannelBufferFactory factory) -
Uses of ChannelBufferFactory in org.jboss.netty.channel
Fields in org.jboss.netty.channel declared as ChannelBufferFactoryModifier and TypeFieldDescriptionprivate ChannelBufferFactory
DefaultChannelConfig.bufferFactory
private ChannelBufferFactory
DefaultServerChannelConfig.bufferFactory
Methods in org.jboss.netty.channel that return ChannelBufferFactoryModifier and TypeMethodDescriptionChannelConfig.getBufferFactory()
Returns the defaultChannelBufferFactory
used to create a newChannelBuffer
.DefaultChannelConfig.getBufferFactory()
DefaultServerChannelConfig.getBufferFactory()
Methods in org.jboss.netty.channel with parameters of type ChannelBufferFactoryModifier and TypeMethodDescriptionvoid
ChannelConfig.setBufferFactory
(ChannelBufferFactory bufferFactory) Sets the defaultChannelBufferFactory
used to create a newChannelBuffer
.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 ChannelBufferFactoryMethods in org.jboss.netty.channel.socket.http with parameters of type ChannelBufferFactoryModifier and TypeMethodDescriptionvoid
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 ChannelBufferFactoryModifier and TypeMethodDescriptionstatic ChannelBuffer
Base64.decode
(ChannelBuffer src, int off, int len, ChannelBufferFactory bufferFactory) static ChannelBuffer
Base64.decode
(ChannelBuffer src, int off, int len, Base64Dialect dialect, ChannelBufferFactory bufferFactory) static ChannelBuffer
Base64.decode
(ChannelBuffer src, ChannelBufferFactory bufferFactory) static ChannelBuffer
Base64.decode
(ChannelBuffer src, Base64Dialect dialect, ChannelBufferFactory bufferFactory) static ChannelBuffer
Base64.encode
(ChannelBuffer src, boolean breakLines, ChannelBufferFactory bufferFactory) static ChannelBuffer
Base64.encode
(ChannelBuffer src, 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, boolean breakLines, Base64Dialect dialect, ChannelBufferFactory bufferFactory) static ChannelBuffer
Base64.encode
(ChannelBuffer src, int off, int len, ChannelBufferFactory bufferFactory) static ChannelBuffer
Base64.encode
(ChannelBuffer src, int off, int len, Base64Dialect dialect, ChannelBufferFactory bufferFactory) static ChannelBuffer
Base64.encode
(ChannelBuffer src, ChannelBufferFactory bufferFactory) static ChannelBuffer
Base64.encode
(ChannelBuffer src, Base64Dialect dialect, ChannelBufferFactory bufferFactory) -
Uses of ChannelBufferFactory in org.jboss.netty.handler.codec.embedder
Constructors in org.jboss.netty.handler.codec.embedder with parameters of type ChannelBufferFactoryModifierConstructorDescriptionprotected
AbstractCodecEmbedder
(ChannelBufferFactory bufferFactory, ChannelHandler... handlers) Creates a new embedder whose pipeline is composed of the specified handlers.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. -
Uses of ChannelBufferFactory in org.jboss.netty.handler.codec.marshalling
Constructors in org.jboss.netty.handler.codec.marshalling with parameters of type ChannelBufferFactoryModifierConstructorDescriptionChannelBufferByteOutput
(ChannelBufferFactory factory, int estimatedLength) CallsChannelBufferByteOutput(ChannelBuffer)
with a dynamicChannelBuffer
-
Uses of ChannelBufferFactory in org.jboss.netty.handler.codec.replay
Methods in org.jboss.netty.handler.codec.replay that return ChannelBufferFactory