Package io.netty.channel
Class ServerChannelRecvByteBufAllocator
- java.lang.Object
-
- io.netty.channel.DefaultMaxMessagesRecvByteBufAllocator
-
- io.netty.channel.ServerChannelRecvByteBufAllocator
-
- All Implemented Interfaces:
MaxMessagesRecvByteBufAllocator
,RecvByteBufAllocator
public final class ServerChannelRecvByteBufAllocator extends DefaultMaxMessagesRecvByteBufAllocator
MaxMessagesRecvByteBufAllocator
implementation which should be used forServerChannel
s.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.netty.channel.DefaultMaxMessagesRecvByteBufAllocator
DefaultMaxMessagesRecvByteBufAllocator.MaxMessageHandle
-
Nested classes/interfaces inherited from interface io.netty.channel.RecvByteBufAllocator
RecvByteBufAllocator.DelegatingHandle, RecvByteBufAllocator.ExtendedHandle, RecvByteBufAllocator.Handle
-
-
Constructor Summary
Constructors Constructor Description ServerChannelRecvByteBufAllocator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecvByteBufAllocator.Handle
newHandle()
Creates a new handle.-
Methods inherited from class io.netty.channel.DefaultMaxMessagesRecvByteBufAllocator
maxMessagesPerRead, maxMessagesPerRead, respectMaybeMoreData, respectMaybeMoreData
-
-
-
-
Method Detail
-
newHandle
public RecvByteBufAllocator.Handle newHandle()
Description copied from interface:RecvByteBufAllocator
Creates a new handle. The handle provides the actual operations and keeps the internal information which is required for predicting an optimal buffer capacity.
-
-