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.
|
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. |
Modifier and Type | Method and Description |
---|---|
ChannelBufferFactory |
TruncatedChannelBuffer.factory() |
ChannelBufferFactory |
SlicedChannelBuffer.factory() |
ChannelBufferFactory |
ReadOnlyChannelBuffer.factory() |
ChannelBufferFactory |
LittleEndianHeapChannelBuffer.factory() |
ChannelBufferFactory |
DynamicChannelBuffer.factory() |
ChannelBufferFactory |
DuplicatedChannelBuffer.factory() |
ChannelBufferFactory |
CompositeChannelBuffer.factory() |
ChannelBufferFactory |
ChannelBuffer.factory()
Returns the factory which creates a
ChannelBuffer whose
type and default ByteOrder are same with this buffer. |
ChannelBufferFactory |
ByteBufferBackedChannelBuffer.factory() |
ChannelBufferFactory |
BigEndianHeapChannelBuffer.factory() |
static ChannelBufferFactory |
HeapChannelBufferFactory.getInstance() |
static ChannelBufferFactory |
DirectChannelBufferFactory.getInstance() |
static ChannelBufferFactory |
HeapChannelBufferFactory.getInstance(ByteOrder endianness) |
static ChannelBufferFactory |
DirectChannelBufferFactory.getInstance(ByteOrder defaultEndianness) |
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.
|
Constructor and Description |
---|
DynamicChannelBuffer(ByteOrder endianness,
int estimatedLength,
ChannelBufferFactory factory) |
Modifier and Type | Method and Description |
---|---|
ChannelBufferFactory |
DefaultServerChannelConfig.getBufferFactory() |
ChannelBufferFactory |
DefaultChannelConfig.getBufferFactory() |
ChannelBufferFactory |
ChannelConfig.getBufferFactory()
Returns the default
ChannelBufferFactory used to create a new
ChannelBuffer . |
Modifier and Type | Method and Description |
---|---|
void |
DefaultServerChannelConfig.setBufferFactory(ChannelBufferFactory bufferFactory) |
void |
DefaultChannelConfig.setBufferFactory(ChannelBufferFactory bufferFactory) |
void |
ChannelConfig.setBufferFactory(ChannelBufferFactory bufferFactory)
Sets the default
ChannelBufferFactory used to create a new
ChannelBuffer . |
Modifier and Type | Method and Description |
---|---|
ChannelBufferFactory |
HttpTunnelingSocketChannelConfig.getBufferFactory() |
Modifier and Type | Method and Description |
---|---|
void |
HttpTunnelingSocketChannelConfig.setBufferFactory(ChannelBufferFactory bufferFactory) |
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) |
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-2016 The Netty Project. All Rights Reserved.