Package | Description |
---|---|
io.netty.channel |
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
|
io.netty.channel.nio |
NIO-based channel
API implementation - recommended for a large number of connections (>= 1000).
|
io.netty.channel.oio |
Old blocking I/O based channel API implementation - recommended for
a small number of connections (< 1000).
|
io.netty.handler.codec.http2 |
Handlers for sending and receiving HTTP/2 frames.
|
Modifier and Type | Interface and Description |
---|---|
static interface |
RecvByteBufAllocator.ExtendedHandle |
Modifier and Type | Class and Description |
---|---|
private class |
AdaptiveRecvByteBufAllocator.HandleImpl |
private class |
DefaultMaxBytesRecvByteBufAllocator.HandleImpl |
class |
DefaultMaxMessagesRecvByteBufAllocator.MaxMessageHandle
Focuses on enforcing the maximum messages per read condition for
DefaultMaxMessagesRecvByteBufAllocator.MaxMessageHandle.continueReading() . |
private class |
FixedRecvByteBufAllocator.HandleImpl |
static class |
RecvByteBufAllocator.DelegatingHandle
A
RecvByteBufAllocator.Handle which delegates all call to some other RecvByteBufAllocator.Handle . |
Modifier and Type | Field and Description |
---|---|
private RecvByteBufAllocator.Handle |
RecvByteBufAllocator.DelegatingHandle.delegate |
private RecvByteBufAllocator.Handle |
AbstractChannel.AbstractUnsafe.recvHandle |
Modifier and Type | Method and Description |
---|---|
protected RecvByteBufAllocator.Handle |
RecvByteBufAllocator.DelegatingHandle.delegate()
Get the
RecvByteBufAllocator.Handle which all methods will be delegated to. |
RecvByteBufAllocator.Handle |
RecvByteBufAllocator.newHandle()
Creates a new handle.
|
RecvByteBufAllocator.Handle |
DefaultMaxBytesRecvByteBufAllocator.newHandle() |
RecvByteBufAllocator.Handle |
FixedRecvByteBufAllocator.newHandle() |
RecvByteBufAllocator.Handle |
AdaptiveRecvByteBufAllocator.newHandle() |
RecvByteBufAllocator.Handle |
AbstractChannel.AbstractUnsafe.recvBufAllocHandle() |
RecvByteBufAllocator.Handle |
Channel.Unsafe.recvBufAllocHandle()
Return the assigned
RecvByteBufAllocator.Handle which will be used to allocate ByteBuf 's when
receiving data. |
Constructor and Description |
---|
DelegatingHandle(RecvByteBufAllocator.Handle delegate) |
Modifier and Type | Method and Description |
---|---|
private void |
AbstractNioByteChannel.NioByteUnsafe.handleReadException(ChannelPipeline pipeline,
ByteBuf byteBuf,
java.lang.Throwable cause,
boolean close,
RecvByteBufAllocator.Handle allocHandle) |
Modifier and Type | Method and Description |
---|---|
private void |
AbstractOioByteChannel.handleReadException(ChannelPipeline pipeline,
ByteBuf byteBuf,
java.lang.Throwable cause,
boolean close,
RecvByteBufAllocator.Handle allocHandle) |
Modifier and Type | Method and Description |
---|---|
private boolean |
AbstractHttp2StreamChannel.doRead0(java.lang.Object msg,
RecvByteBufAllocator.Handle allocHandle)
Returns whether reads should continue.
|