A B C D E F G H I J L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractBootstrap<B extends AbstractBootstrap<B,C>,C extends Channel> - Class in io.netty.bootstrap
-
AbstractBootstrapis a helper class that makes it easy to bootstrap aChannel. - AbstractBootstrapConfig<B extends AbstractBootstrap<B,C>,C extends Channel> - Class in io.netty.bootstrap
-
Exposes the configuration of an
AbstractBootstrap. - AbstractBootstrapConfig(B) - Constructor for class io.netty.bootstrap.AbstractBootstrapConfig
- AbstractChannel - Class in io.netty.channel
-
A skeletal
Channelimplementation. - AbstractChannel(Channel) - Constructor for class io.netty.channel.AbstractChannel
-
Creates a new instance.
- AbstractChannel(Channel, ChannelId) - Constructor for class io.netty.channel.AbstractChannel
-
Creates a new instance.
- AbstractChannel.AbstractUnsafe - Class in io.netty.channel
-
Channel.Unsafeimplementation which sub-classes must extend and use. - AbstractChannelPoolHandler - Class in io.netty.channel.pool
-
A skeletal
ChannelPoolHandlerimplementation. - AbstractChannelPoolHandler() - Constructor for class io.netty.channel.pool.AbstractChannelPoolHandler
- AbstractChannelPoolMap<K,P extends ChannelPool> - Class in io.netty.channel.pool
-
A skeletal
ChannelPoolMapimplementation. - AbstractChannelPoolMap() - Constructor for class io.netty.channel.pool.AbstractChannelPoolMap
- AbstractCoalescingBufferQueue - Class in io.netty.channel
- AbstractCoalescingBufferQueue(Channel, int) - Constructor for class io.netty.channel.AbstractCoalescingBufferQueue
-
Create a new instance.
- AbstractEventLoop - Class in io.netty.channel
-
Skeletal implementation of
EventLoop. - AbstractEventLoop() - Constructor for class io.netty.channel.AbstractEventLoop
- AbstractEventLoop(EventLoopGroup) - Constructor for class io.netty.channel.AbstractEventLoop
- AbstractEventLoopGroup - Class in io.netty.channel
-
Skeletal implementation of
EventLoopGroup. - AbstractEventLoopGroup() - Constructor for class io.netty.channel.AbstractEventLoopGroup
- AbstractNioByteChannel - Class in io.netty.channel.nio
-
AbstractNioChannelbase class forChannels that operate on bytes. - AbstractNioByteChannel(Channel, SelectableChannel) - Constructor for class io.netty.channel.nio.AbstractNioByteChannel
-
Create a new instance
- AbstractNioByteChannel.NioByteUnsafe - Class in io.netty.channel.nio
- AbstractNioChannel - Class in io.netty.channel.nio
-
Abstract base class for
Channelimplementations which use a Selector based approach. - AbstractNioChannel(Channel, SelectableChannel, int) - Constructor for class io.netty.channel.nio.AbstractNioChannel
-
Create a new instance
- AbstractNioChannel(Channel, SelectableChannel, NioIoOps) - Constructor for class io.netty.channel.nio.AbstractNioChannel
- AbstractNioChannel.AbstractNioUnsafe - Class in io.netty.channel.nio
- AbstractNioChannel.NioUnsafe - Interface in io.netty.channel.nio
-
Special
Channel.Unsafesub-type which allows to access the underlyingSelectableChannel - AbstractNioMessageChannel - Class in io.netty.channel.nio
-
AbstractNioChannelbase class forChannels that operate on messages. - AbstractNioMessageChannel(Channel, SelectableChannel, int) - Constructor for class io.netty.channel.nio.AbstractNioMessageChannel
- AbstractNioMessageChannel(Channel, SelectableChannel, NioIoOps) - Constructor for class io.netty.channel.nio.AbstractNioMessageChannel
- AbstractNioUnsafe() - Constructor for class io.netty.channel.nio.AbstractNioChannel.AbstractNioUnsafe
- AbstractOioByteChannel - Class in io.netty.channel.oio
-
Deprecated.use NIO / EPOLL / KQUEUE transport.
- AbstractOioByteChannel(Channel) - Constructor for class io.netty.channel.oio.AbstractOioByteChannel
-
Deprecated.
- AbstractOioChannel - Class in io.netty.channel.oio
-
Deprecated.use NIO / EPOLL / KQUEUE transport.
- AbstractOioChannel(Channel) - Constructor for class io.netty.channel.oio.AbstractOioChannel
-
Deprecated.
- AbstractOioMessageChannel - Class in io.netty.channel.oio
-
Deprecated.use NIO / EPOLL / KQUEUE transport.
- AbstractOioMessageChannel(Channel) - Constructor for class io.netty.channel.oio.AbstractOioMessageChannel
-
Deprecated.
- AbstractServerChannel - Class in io.netty.channel
-
A skeletal server-side
Channelimplementation. - AbstractServerChannel() - Constructor for class io.netty.channel.AbstractServerChannel
-
Creates a new instance.
- AbstractUnsafe() - Constructor for class io.netty.channel.AbstractChannel.AbstractUnsafe
- ACCEPT - Static variable in class io.netty.channel.nio.NioIoOps
-
Interested in IO events that should be handled by accepting new connections
- acceptEvent(Object) - Method in class io.netty.channel.SimpleUserEventChannelHandler
-
Returns
trueif the given user event should be handled. - acceptInboundMessage(Object) - Method in class io.netty.channel.SimpleChannelInboundHandler
-
Returns
trueif the given message should be handled. - acquire() - Method in interface io.netty.channel.pool.ChannelPool
-
Acquire a
Channelfrom thisChannelPool. - acquire() - Method in class io.netty.channel.pool.SimpleChannelPool
- acquire(Promise<Channel>) - Method in interface io.netty.channel.pool.ChannelPool
-
Acquire a
Channelfrom thisChannelPool. - acquire(Promise<Channel>) - Method in class io.netty.channel.pool.FixedChannelPool
- acquire(Promise<Channel>) - Method in class io.netty.channel.pool.SimpleChannelPool
- acquiredChannelCount() - Method in class io.netty.channel.pool.FixedChannelPool
-
Returns the number of acquired channels that this pool thinks it has.
- activate(InputStream, OutputStream) - Method in class io.netty.channel.oio.OioByteStreamChannel
-
Deprecated.Activate this instance.
- ACTIVE - Static variable in interface io.netty.channel.pool.ChannelHealthChecker
- AdaptiveRecvByteBufAllocator - Class in io.netty.channel
-
The
RecvByteBufAllocatorthat automatically increases and decreases the predicted buffer size on feed back. - AdaptiveRecvByteBufAllocator() - Constructor for class io.netty.channel.AdaptiveRecvByteBufAllocator
-
Creates a new predictor with the default parameters.
- AdaptiveRecvByteBufAllocator(int, int, int) - Constructor for class io.netty.channel.AdaptiveRecvByteBufAllocator
-
Creates a new predictor with the specified parameters.
- add(ByteBuf) - Method in class io.netty.channel.AbstractCoalescingBufferQueue
-
Add a buffer to the end of the queue.
- add(ByteBuf, ChannelFutureListener) - Method in class io.netty.channel.AbstractCoalescingBufferQueue
-
Add a buffer to the end of the queue and associate a listener with it that should be completed when all the buffers bytes have been consumed from the queue and written.
- add(ByteBuf, ChannelPromise) - Method in class io.netty.channel.AbstractCoalescingBufferQueue
-
Add a buffer to the end of the queue and associate a promise with it that should be completed when all the buffer's bytes have been consumed from the queue and written.
- add(Channel) - Method in class io.netty.channel.group.DefaultChannelGroup
- add(ChannelPromise, int) - Method in class io.netty.channel.ChannelFlushPromiseNotifier
-
Deprecated.
- add(ChannelPromise, long) - Method in class io.netty.channel.ChannelFlushPromiseNotifier
-
Add a
ChannelPromiseto thisChannelFlushPromiseNotifierwhich will be notified after the givenpendingDataSizewas reached. - add(Object, ChannelPromise) - Method in class io.netty.channel.PendingWriteQueue
-
Add the given
msgandChannelPromise. - addAfter(EventExecutorGroup, String, String, ChannelHandler) - Method in interface io.netty.channel.ChannelPipeline
-
Deprecated.
- addAfter(EventExecutorGroup, String, String, ChannelHandler) - Method in class io.netty.channel.DefaultChannelPipeline
- addAfter(String, String, ChannelHandler) - Method in interface io.netty.channel.ChannelPipeline
-
Inserts a
ChannelHandlerafter an existing handler of this pipeline. - addAfter(String, String, ChannelHandler) - Method in class io.netty.channel.DefaultChannelPipeline
- addAndSubmit(NioIoOps) - Method in class io.netty.channel.nio.AbstractNioChannel
- addBefore(EventExecutorGroup, String, String, ChannelHandler) - Method in interface io.netty.channel.ChannelPipeline
-
Deprecated.
- addBefore(EventExecutorGroup, String, String, ChannelHandler) - Method in class io.netty.channel.DefaultChannelPipeline
- addBefore(String, String, ChannelHandler) - Method in interface io.netty.channel.ChannelPipeline
-
Inserts a
ChannelHandlerbefore an existing handler of this pipeline. - addBefore(String, String, ChannelHandler) - Method in class io.netty.channel.DefaultChannelPipeline
- addFirst(ByteBuf, ChannelPromise) - Method in class io.netty.channel.AbstractCoalescingBufferQueue
-
Add a buffer to the front of the queue and associate a promise with it that should be completed when all the buffer's bytes have been consumed from the queue and written.
- addFirst(ChannelHandler) - Method in class io.netty.channel.DefaultChannelPipeline
- addFirst(ChannelHandler...) - Method in interface io.netty.channel.ChannelPipeline
-
Inserts
ChannelHandlers at the first position of this pipeline. - addFirst(ChannelHandler...) - Method in class io.netty.channel.DefaultChannelPipeline
- addFirst(EventExecutorGroup, ChannelHandler...) - Method in interface io.netty.channel.ChannelPipeline
-
Deprecated.
- addFirst(EventExecutorGroup, ChannelHandler...) - Method in class io.netty.channel.DefaultChannelPipeline
- addFirst(EventExecutorGroup, String, ChannelHandler) - Method in interface io.netty.channel.ChannelPipeline
-
Deprecated.
- addFirst(EventExecutorGroup, String, ChannelHandler) - Method in class io.netty.channel.DefaultChannelPipeline
- addFirst(String, ChannelHandler) - Method in interface io.netty.channel.ChannelPipeline
-
Inserts a
ChannelHandlerat the first position of this pipeline. - addFirst(String, ChannelHandler) - Method in class io.netty.channel.DefaultChannelPipeline
- addFlush() - Method in class io.netty.channel.ChannelOutboundBuffer
-
Add a flush to this
ChannelOutboundBuffer. - addLast(ChannelHandler) - Method in class io.netty.channel.DefaultChannelPipeline
- addLast(ChannelHandler...) - Method in interface io.netty.channel.ChannelPipeline
-
Inserts
ChannelHandlers at the last position of this pipeline. - addLast(ChannelHandler...) - Method in class io.netty.channel.DefaultChannelPipeline
- addLast(EventExecutorGroup, ChannelHandler...) - Method in interface io.netty.channel.ChannelPipeline
-
Deprecated.
- addLast(EventExecutorGroup, ChannelHandler...) - Method in class io.netty.channel.DefaultChannelPipeline
- addLast(EventExecutorGroup, String, ChannelHandler) - Method in interface io.netty.channel.ChannelPipeline
-
Deprecated.
- addLast(EventExecutorGroup, String, ChannelHandler) - Method in class io.netty.channel.DefaultChannelPipeline
- addLast(String, ChannelHandler) - Method in interface io.netty.channel.ChannelPipeline
-
Appends a
ChannelHandlerat the last position of this pipeline. - addLast(String, ChannelHandler) - Method in class io.netty.channel.DefaultChannelPipeline
- addListener(GenericFutureListener<? extends Future<? super Void>>) - Method in interface io.netty.channel.ChannelFuture
- addListener(GenericFutureListener<? extends Future<? super Void>>) - Method in interface io.netty.channel.ChannelProgressiveFuture
- addListener(GenericFutureListener<? extends Future<? super Void>>) - Method in interface io.netty.channel.ChannelProgressivePromise
- addListener(GenericFutureListener<? extends Future<? super Void>>) - Method in interface io.netty.channel.ChannelPromise
- addListener(GenericFutureListener<? extends Future<? super Void>>) - Method in class io.netty.channel.DefaultChannelProgressivePromise
- addListener(GenericFutureListener<? extends Future<? super Void>>) - Method in class io.netty.channel.DefaultChannelPromise
- addListener(GenericFutureListener<? extends Future<? super Void>>) - Method in class io.netty.channel.DelegatingChannelPromiseNotifier
- addListener(GenericFutureListener<? extends Future<? super Void>>) - Method in interface io.netty.channel.group.ChannelGroupFuture
- addListener(GenericFutureListener<? extends Future<? super Void>>) - Method in class io.netty.channel.VoidChannelPromise
- addListeners(GenericFutureListener<? extends Future<? super Void>>...) - Method in interface io.netty.channel.ChannelFuture
- addListeners(GenericFutureListener<? extends Future<? super Void>>...) - Method in interface io.netty.channel.ChannelProgressiveFuture
- addListeners(GenericFutureListener<? extends Future<? super Void>>...) - Method in interface io.netty.channel.ChannelProgressivePromise
- addListeners(GenericFutureListener<? extends Future<? super Void>>...) - Method in interface io.netty.channel.ChannelPromise
- addListeners(GenericFutureListener<? extends Future<? super Void>>...) - Method in class io.netty.channel.DefaultChannelProgressivePromise
- addListeners(GenericFutureListener<? extends Future<? super Void>>...) - Method in class io.netty.channel.DefaultChannelPromise
- addListeners(GenericFutureListener<? extends Future<? super Void>>...) - Method in class io.netty.channel.DelegatingChannelPromiseNotifier
- addListeners(GenericFutureListener<? extends Future<? super Void>>...) - Method in interface io.netty.channel.group.ChannelGroupFuture
- addListeners(GenericFutureListener<? extends Future<? super Void>>...) - Method in class io.netty.channel.VoidChannelPromise
- addMessage(Object, int, ChannelPromise) - Method in class io.netty.channel.ChannelOutboundBuffer
-
Add given message to this
ChannelOutboundBuffer. - AddressedEnvelope<M,A extends SocketAddress> - Interface in io.netty.channel
-
A message that wraps another message with a sender address and a recipient address.
- addressNumber() - Method in enum io.netty.channel.socket.InternetProtocolFamily
-
Deprecated.Returns the address number of the family.
- addressType() - Method in enum io.netty.channel.socket.InternetProtocolFamily
-
Deprecated.Returns the address type of this protocol family.
- advanceTimeBy(long, TimeUnit) - Method in class io.netty.channel.embedded.EmbeddedChannel
-
Advance the clock of the event loop of this channel by the given duration.
- afterRunningAllTasks() - Method in class io.netty.channel.SingleThreadEventLoop
- all() - Static method in class io.netty.channel.group.ChannelMatchers
-
Returns a
ChannelMatcherthat matches allChannels. - alloc() - Method in interface io.netty.channel.Channel
-
Return the assigned
ByteBufAllocatorwhich will be used to allocateByteBufs. - alloc() - Method in interface io.netty.channel.ChannelHandlerContext
-
Return the assigned
ByteBufAllocatorwhich will be used to allocateByteBufs. - allocate(ByteBufAllocator) - Method in class io.netty.channel.DefaultMaxMessagesRecvByteBufAllocator.MaxMessageHandle
- allocate(ByteBufAllocator) - Method in class io.netty.channel.RecvByteBufAllocator.DelegatingHandle
- allocate(ByteBufAllocator) - Method in interface io.netty.channel.RecvByteBufAllocator.Handle
-
Deprecated.Creates a new receive buffer whose capacity is probably large enough to read all inbound data and small enough not to waste its space.
- ALLOCATOR - Static variable in class io.netty.channel.ChannelOption
- ALLOW_HALF_CLOSURE - Static variable in class io.netty.channel.ChannelOption
- annotateConnectException(Throwable, SocketAddress) - Method in class io.netty.channel.AbstractChannel.AbstractUnsafe
-
Appends the remote address to the message of the exceptions caused by connection attempt failure.
- ANY - Static variable in class io.netty.channel.local.LocalAddress
- asLongText() - Method in interface io.netty.channel.ChannelId
-
Returns the long yet globally unique string representation of the
ChannelId. - asLongText() - Method in class io.netty.channel.DefaultChannelId
- asShortText() - Method in interface io.netty.channel.ChannelId
-
Returns the short but globally non-unique string representation of the
ChannelId. - asShortText() - Method in class io.netty.channel.DefaultChannelId
- attachment() - Method in interface io.netty.channel.IoRegistration
-
Implementation specific attachment, which might be
null. - attemptedBytesRead() - Method in class io.netty.channel.DefaultMaxMessagesRecvByteBufAllocator.MaxMessageHandle
- attemptedBytesRead() - Method in class io.netty.channel.RecvByteBufAllocator.DelegatingHandle
- attemptedBytesRead() - Method in interface io.netty.channel.RecvByteBufAllocator.Handle
-
Deprecated.Get how many bytes the read operation will (or did) attempt to read.
- attemptedBytesRead(int) - Method in class io.netty.channel.DefaultMaxMessagesRecvByteBufAllocator.MaxMessageHandle
- attemptedBytesRead(int) - Method in class io.netty.channel.RecvByteBufAllocator.DelegatingHandle
- attemptedBytesRead(int) - Method in interface io.netty.channel.RecvByteBufAllocator.Handle
-
Deprecated.Set how many bytes the read operation will (or did) attempt to read.
- attr(AttributeKey<T>) - Method in interface io.netty.channel.ChannelHandlerContext
-
Deprecated.Use
AttributeMap.attr(AttributeKey) - attr(AttributeKey<T>, T) - Method in class io.netty.bootstrap.AbstractBootstrap
-
Allow to specify an initial attribute of the newly created
Channel. - attrs() - Method in class io.netty.bootstrap.AbstractBootstrapConfig
-
Returns a copy of the configured attributes.
- AUTO_CLOSE - Static variable in class io.netty.channel.ChannelOption
-
If
truethen theChannelis closed automatically and immediately on write failure. - AUTO_READ - Static variable in class io.netty.channel.ChannelOption
- autoReadCleared() - Method in class io.netty.channel.DefaultChannelConfig
-
Is called once
DefaultChannelConfig.setAutoRead(boolean)is called withfalseandDefaultChannelConfig.isAutoRead()wastruebefore. - autoReadCleared() - Method in class io.netty.channel.socket.oio.DefaultOioServerSocketChannelConfig
-
Deprecated.
- autoReadCleared() - Method in class io.netty.channel.socket.oio.DefaultOioSocketChannelConfig
-
Deprecated.
- available() - Method in class io.netty.channel.oio.AbstractOioByteChannel
-
Deprecated.Return the number of bytes ready to read from the underlying Socket.
- available() - Method in class io.netty.channel.oio.OioByteStreamChannel
-
Deprecated.
- await() - Method in interface io.netty.channel.ChannelFuture
- await() - Method in interface io.netty.channel.ChannelProgressiveFuture
- await() - Method in interface io.netty.channel.ChannelProgressivePromise
- await() - Method in interface io.netty.channel.ChannelPromise
- await() - Method in class io.netty.channel.DefaultChannelProgressivePromise
- await() - Method in class io.netty.channel.DefaultChannelPromise
- await() - Method in class io.netty.channel.DelegatingChannelPromiseNotifier
- await() - Method in interface io.netty.channel.group.ChannelGroupFuture
- await() - Method in class io.netty.channel.VoidChannelPromise
- await(long) - Method in class io.netty.channel.DelegatingChannelPromiseNotifier
- await(long) - Method in class io.netty.channel.VoidChannelPromise
- await(long, TimeUnit) - Method in class io.netty.channel.DelegatingChannelPromiseNotifier
- await(long, TimeUnit) - Method in class io.netty.channel.VoidChannelPromise
- awaitTermination(long, TimeUnit) - Method in class io.netty.channel.ManualIoEventLoop
- awaitTermination(long, TimeUnit) - Method in class io.netty.channel.ThreadPerChannelEventLoopGroup
-
Deprecated.
- awaitUninterruptibly() - Method in interface io.netty.channel.ChannelFuture
- awaitUninterruptibly() - Method in interface io.netty.channel.ChannelProgressiveFuture
- awaitUninterruptibly() - Method in interface io.netty.channel.ChannelProgressivePromise
- awaitUninterruptibly() - Method in interface io.netty.channel.ChannelPromise
- awaitUninterruptibly() - Method in class io.netty.channel.DefaultChannelProgressivePromise
- awaitUninterruptibly() - Method in class io.netty.channel.DefaultChannelPromise
- awaitUninterruptibly() - Method in class io.netty.channel.DelegatingChannelPromiseNotifier
- awaitUninterruptibly() - Method in interface io.netty.channel.group.ChannelGroupFuture
- awaitUninterruptibly() - Method in class io.netty.channel.VoidChannelPromise
- awaitUninterruptibly(long) - Method in class io.netty.channel.DelegatingChannelPromiseNotifier
- awaitUninterruptibly(long) - Method in class io.netty.channel.VoidChannelPromise
- awaitUninterruptibly(long, TimeUnit) - Method in class io.netty.channel.DelegatingChannelPromiseNotifier
- awaitUninterruptibly(long, TimeUnit) - Method in class io.netty.channel.VoidChannelPromise
B
- beginRead() - Method in class io.netty.channel.AbstractChannel.AbstractUnsafe
- beginRead() - Method in interface io.netty.channel.Channel.Unsafe
-
Schedules a read operation that fills the inbound buffer of the first
ChannelInboundHandlerin theChannelPipeline. - bind() - Method in class io.netty.bootstrap.AbstractBootstrap
-
Create a new
Channeland bind it. - bind(int) - Method in class io.netty.bootstrap.AbstractBootstrap
-
Create a new
Channeland bind it. - bind(ChannelHandlerContext, SocketAddress, ChannelPromise) - Method in class io.netty.channel.ChannelDuplexHandler
-
Calls
ChannelOutboundInvoker.bind(SocketAddress, ChannelPromise)to forward to the nextChannelOutboundHandlerin theChannelPipeline. - bind(ChannelHandlerContext, SocketAddress, ChannelPromise) - Method in interface io.netty.channel.ChannelOutboundHandler
-
Called once a bind operation is made.
- bind(ChannelHandlerContext, SocketAddress, ChannelPromise) - Method in class io.netty.channel.ChannelOutboundHandlerAdapter
-
Calls
ChannelOutboundInvoker.bind(SocketAddress, ChannelPromise)to forward to the nextChannelOutboundHandlerin theChannelPipeline. - bind(ChannelHandlerContext, SocketAddress, ChannelPromise) - Method in class io.netty.channel.CombinedChannelDuplexHandler
- bind(String, int) - Method in class io.netty.bootstrap.AbstractBootstrap
-
Create a new
Channeland bind it. - bind(InetAddress, int) - Method in class io.netty.bootstrap.AbstractBootstrap
-
Create a new
Channeland bind it. - bind(SocketAddress) - Method in class io.netty.bootstrap.AbstractBootstrap
-
Create a new
Channeland bind it. - bind(SocketAddress) - Method in interface io.netty.channel.Channel
- bind(SocketAddress) - Method in interface io.netty.channel.ChannelOutboundInvoker
-
Request to bind to the given
SocketAddressand notify theChannelFutureonce the operation completes, either because the operation was successful or because of an error. - bind(SocketAddress) - Method in class io.netty.channel.DefaultChannelPipeline
- bind(SocketAddress) - Method in class io.netty.channel.embedded.EmbeddedChannel
- bind(SocketAddress, ChannelPromise) - Method in class io.netty.channel.AbstractChannel.AbstractUnsafe
- bind(SocketAddress, ChannelPromise) - Method in interface io.netty.channel.Channel
- bind(SocketAddress, ChannelPromise) - Method in interface io.netty.channel.Channel.Unsafe
- bind(SocketAddress, ChannelPromise) - Method in interface io.netty.channel.ChannelOutboundInvoker
-
Request to bind to the given
SocketAddressand notify theChannelFutureonce the operation completes, either because the operation was successful or because of an error. - bind(SocketAddress, ChannelPromise) - Method in class io.netty.channel.DefaultChannelPipeline
- bind(SocketAddress, ChannelPromise) - Method in class io.netty.channel.embedded.EmbeddedChannel
- block(InetAddress, InetAddress) - Method in interface io.netty.channel.socket.DatagramChannel
-
Block the given sourceToBlock address for the given multicastAddress and notifies the
ChannelFutureonce the operation completes. - block(InetAddress, InetAddress) - Method in class io.netty.channel.socket.nio.NioDatagramChannel
-
Block the given sourceToBlock address for the given multicastAddress
- block(InetAddress, InetAddress) - Method in class io.netty.channel.socket.oio.OioDatagramChannel
-
Deprecated.
- block(InetAddress, InetAddress, ChannelPromise) - Method in interface io.netty.channel.socket.DatagramChannel
-
Block the given sourceToBlock address for the given multicastAddress and notifies the
ChannelFutureonce the operation completes. - block(InetAddress, InetAddress, ChannelPromise) - Method in class io.netty.channel.socket.nio.NioDatagramChannel
-
Block the given sourceToBlock address for the given multicastAddress
- block(InetAddress, InetAddress, ChannelPromise) - Method in class io.netty.channel.socket.oio.OioDatagramChannel
-
Deprecated.
- block(InetAddress, NetworkInterface, InetAddress) - Method in interface io.netty.channel.socket.DatagramChannel
-
Block the given sourceToBlock address for the given multicastAddress on the given networkInterface and notifies the
ChannelFutureonce the operation completes. - block(InetAddress, NetworkInterface, InetAddress) - Method in class io.netty.channel.socket.nio.NioDatagramChannel
-
Block the given sourceToBlock address for the given multicastAddress on the given networkInterface
- block(InetAddress, NetworkInterface, InetAddress) - Method in class io.netty.channel.socket.oio.OioDatagramChannel
-
Deprecated.
- block(InetAddress, NetworkInterface, InetAddress, ChannelPromise) - Method in interface io.netty.channel.socket.DatagramChannel
-
Block the given sourceToBlock address for the given multicastAddress on the given networkInterface and notifies the
ChannelFutureonce the operation completes. - block(InetAddress, NetworkInterface, InetAddress, ChannelPromise) - Method in class io.netty.channel.socket.nio.NioDatagramChannel
-
Block the given sourceToBlock address for the given multicastAddress on the given networkInterface
- block(InetAddress, NetworkInterface, InetAddress, ChannelPromise) - Method in class io.netty.channel.socket.oio.OioDatagramChannel
-
Deprecated.
- bootstrap - Variable in class io.netty.bootstrap.AbstractBootstrapConfig
- bootstrap() - Method in class io.netty.channel.pool.SimpleChannelPool
-
Returns the
Bootstrapthis pool will use to open new connections. - Bootstrap - Class in io.netty.bootstrap
- Bootstrap() - Constructor for class io.netty.bootstrap.Bootstrap
- BootstrapConfig - Class in io.netty.bootstrap
-
Exposes the configuration of a
Bootstrap. - buffer() - Method in class io.netty.channel.PreferHeapByteBufAllocator
- buffer(int) - Method in class io.netty.channel.PreferHeapByteBufAllocator
- buffer(int, int) - Method in class io.netty.channel.PreferHeapByteBufAllocator
- build() - Method in class io.netty.channel.embedded.EmbeddedChannel.Builder
-
Create the channel.
- builder() - Static method in class io.netty.channel.embedded.EmbeddedChannel
- BUSY_WAIT - Static variable in interface io.netty.channel.SelectStrategy
-
Indicates the IO loop to poll for new events without blocking.
- bytes() - Method in class io.netty.channel.PendingWriteQueue
-
Returns the total number of bytes that are pending because of pending messages.
- bytesBeforeUnwritable() - Method in interface io.netty.channel.Channel
-
Get how many bytes can be written until
Channel.isWritable()returnsfalse. - bytesBeforeUnwritable() - Method in class io.netty.channel.ChannelOutboundBuffer
-
Get how many bytes can be written until
ChannelOutboundBuffer.isWritable()returnsfalse. - bytesBeforeWritable() - Method in interface io.netty.channel.Channel
-
Get how many bytes must be drained from underlying buffers until
Channel.isWritable()returnstrue. - bytesBeforeWritable() - Method in class io.netty.channel.ChannelOutboundBuffer
-
Get how many bytes must be drained from the underlying buffer until
ChannelOutboundBuffer.isWritable()returnstrue.
C
- calculateNewCapacity(int, int) - Method in class io.netty.channel.PreferHeapByteBufAllocator
- calculateStrategy(IntSupplier, boolean) - Method in interface io.netty.channel.SelectStrategy
-
The
SelectStrategycan be used to steer the outcome of a potential select call. - canBlock() - Method in interface io.netty.channel.IoHandlerContext
-
Returns
trueif blocking for IO is allowed or if we should try to do a non-blocking request for IO to be ready. - canBlock() - Method in class io.netty.channel.ManualIoEventLoop
-
This allows to specify additional blocking conditions which will be used by the
IoHandlerto decide whether it is allowed to block or not. - cancel() - Method in interface io.netty.channel.IoRegistration
-
Cancel the registration.
- cancel(boolean) - Method in class io.netty.channel.DelegatingChannelPromiseNotifier
- cancel(boolean) - Method in class io.netty.channel.VoidChannelPromise
- canSuspend(int) - Method in class io.netty.channel.SingleThreadIoEventLoop
- cause() - Method in class io.netty.channel.DelegatingChannelPromiseNotifier
- cause() - Method in interface io.netty.channel.group.ChannelGroupFuture
- cause() - Method in class io.netty.channel.VoidChannelPromise
- ch() - Method in class io.netty.channel.nio.AbstractNioChannel.AbstractNioUnsafe
- ch() - Method in interface io.netty.channel.nio.AbstractNioChannel.NioUnsafe
-
Return underlying
SelectableChannel - channel - Variable in class io.netty.channel.DefaultChannelConfig
- channel() - Method in interface io.netty.channel.ChannelFuture
-
Returns a channel where the I/O operation associated with this future takes place.
- channel() - Method in interface io.netty.channel.ChannelHandlerContext
-
Return the
Channelwhich is bound to theChannelHandlerContext. - channel() - Method in interface io.netty.channel.ChannelPipeline
-
Returns the
Channelthat this pipeline is attached to. - channel() - Method in interface io.netty.channel.ChannelPromise
- channel() - Method in class io.netty.channel.DefaultChannelPipeline
- channel() - Method in class io.netty.channel.DefaultChannelProgressivePromise
- channel() - Method in class io.netty.channel.DefaultChannelPromise
- channel() - Method in class io.netty.channel.DelegatingChannelPromiseNotifier
- channel() - Method in class io.netty.channel.VoidChannelPromise
- channel(Class<? extends C>) - Method in class io.netty.bootstrap.AbstractBootstrap
- Channel - Interface in io.netty.channel
-
A nexus to a network socket or a component which is capable of I/O operations such as read, write, connect, and bind.
- Channel.Unsafe - Interface in io.netty.channel
-
Unsafe operations that should never be called from user-code.
- channelAcquired(Channel) - Method in class io.netty.channel.pool.AbstractChannelPoolHandler
-
NOOP implementation, sub-classes may override this.
- channelAcquired(Channel) - Method in interface io.netty.channel.pool.ChannelPoolHandler
-
Called once a
Channelwas acquired by callingChannelPool.acquire()orChannelPool.acquire(Promise). - channelActive(ChannelHandlerContext) - Method in interface io.netty.channel.ChannelInboundHandler
-
The
Channelof theChannelHandlerContextis now active - channelActive(ChannelHandlerContext) - Method in class io.netty.channel.ChannelInboundHandlerAdapter
-
Calls
ChannelHandlerContext.fireChannelActive()to forward to the nextChannelInboundHandlerin theChannelPipeline. - channelActive(ChannelHandlerContext) - Method in class io.netty.channel.CombinedChannelDuplexHandler
- ChannelConfig - Interface in io.netty.channel
-
A set of configuration properties of a
Channel. - channelCreated(Channel) - Method in interface io.netty.channel.pool.ChannelPoolHandler
-
Called once a new
Channelis created in theChannelPool. - ChannelDuplexHandler - Class in io.netty.channel
-
ChannelHandlerimplementation which represents a combination out of aChannelInboundHandlerand theChannelOutboundHandler. - ChannelDuplexHandler() - Constructor for class io.netty.channel.ChannelDuplexHandler
- ChannelException - Exception in io.netty.channel
-
A
RuntimeExceptionwhich is thrown when an I/O operation fails. - ChannelException() - Constructor for exception io.netty.channel.ChannelException
-
Creates a new exception.
- ChannelException(String) - Constructor for exception io.netty.channel.ChannelException
-
Creates a new exception.
- ChannelException(String, Throwable) - Constructor for exception io.netty.channel.ChannelException
-
Creates a new exception.
- ChannelException(String, Throwable, boolean) - Constructor for exception io.netty.channel.ChannelException
- ChannelException(Throwable) - Constructor for exception io.netty.channel.ChannelException
-
Creates a new exception.
- channelFactory() - Method in class io.netty.bootstrap.AbstractBootstrapConfig
-
Returns the configured
ChannelFactoryornullif non is configured yet. - channelFactory(ChannelFactory<? extends C>) - Method in class io.netty.bootstrap.AbstractBootstrap
-
Deprecated.
- channelFactory(ChannelFactory<? extends C>) - Method in class io.netty.bootstrap.AbstractBootstrap
-
ChannelFactorywhich is used to createChannelinstances from when callingAbstractBootstrap.bind(). - ChannelFactory<T extends Channel> - Interface in io.netty.bootstrap
-
Deprecated.Use
ChannelFactoryinstead. - ChannelFactory<T extends Channel> - Interface in io.netty.channel
-
Creates a new
Channel. - ChannelFlushPromiseNotifier - Class in io.netty.channel
-
This implementation allows to register
ChannelFutureinstances which will get notified once some amount of data was written and so a checkpoint was reached. - ChannelFlushPromiseNotifier() - Constructor for class io.netty.channel.ChannelFlushPromiseNotifier
-
Create a new instance which will use
ChannelPromise.setSuccess()andChannelPromise.setFailure(Throwable)to notify theChannelPromises. - ChannelFlushPromiseNotifier(boolean) - Constructor for class io.netty.channel.ChannelFlushPromiseNotifier
-
Create a new instance
- ChannelFuture - Interface in io.netty.channel
-
The result of an asynchronous
ChannelI/O operation. - ChannelFutureListener - Interface in io.netty.channel
-
Listens to the result of a
ChannelFuture. - ChannelGroup - Interface in io.netty.channel.group
- ChannelGroupException - Exception in io.netty.channel.group
-
ChannelExceptionwhich holdsChannelFutures that failed because of an error. - ChannelGroupException(Collection<Map.Entry<Channel, Throwable>>) - Constructor for exception io.netty.channel.group.ChannelGroupException
- ChannelGroupFuture - Interface in io.netty.channel.group
-
The result of an asynchronous
ChannelGroupoperation. - ChannelGroupFutureListener - Interface in io.netty.channel.group
-
Listens to the result of a
ChannelGroupFuture. - ChannelHandler - Interface in io.netty.channel
-
Handles an I/O event or intercepts an I/O operation, and forwards it to its next handler in its
ChannelPipeline. - ChannelHandler.Sharable - Annotation Type in io.netty.channel
-
Indicates that the same instance of the annotated
ChannelHandlercan be added to one or moreChannelPipelines multiple times without a race condition. - ChannelHandlerAdapter - Class in io.netty.channel
-
Skeleton implementation of a
ChannelHandler. - ChannelHandlerAdapter() - Constructor for class io.netty.channel.ChannelHandlerAdapter
- ChannelHandlerContext - Interface in io.netty.channel
-
Enables a
ChannelHandlerto interact with itsChannelPipelineand other handlers. - ChannelHealthChecker - Interface in io.netty.channel.pool
- channelId(ChannelId) - Method in class io.netty.channel.embedded.EmbeddedChannel.Builder
-
The
ChannelIdthat will be used to identify this channel. - ChannelId - Interface in io.netty.channel
-
Represents the globally unique identifier of a
Channel. - channelInactive(ChannelHandlerContext) - Method in interface io.netty.channel.ChannelInboundHandler
-
The
Channelof theChannelHandlerContextwas registered is now inactive and reached its end of lifetime. - channelInactive(ChannelHandlerContext) - Method in class io.netty.channel.ChannelInboundHandlerAdapter
-
Calls
ChannelHandlerContext.fireChannelInactive()to forward to the nextChannelInboundHandlerin theChannelPipeline. - channelInactive(ChannelHandlerContext) - Method in class io.netty.channel.CombinedChannelDuplexHandler
- ChannelInboundHandler - Interface in io.netty.channel
-
ChannelHandlerwhich adds callbacks for state changes. - ChannelInboundHandlerAdapter - Class in io.netty.channel
-
Abstract base class for
ChannelInboundHandlerimplementations which provide implementations of all of their methods. - ChannelInboundHandlerAdapter() - Constructor for class io.netty.channel.ChannelInboundHandlerAdapter
- ChannelInboundInvoker - Interface in io.netty.channel
- ChannelInitializer<C extends Channel> - Class in io.netty.channel
-
A special
ChannelInboundHandlerwhich offers an easy way to initialize aChannelonce it was registered to itsEventLoop. - ChannelInitializer() - Constructor for class io.netty.channel.ChannelInitializer
- ChannelInitializerExtension - Class in io.netty.bootstrap
-
A channel initializer extension make it possible to enforce rules and apply modifications across multiple, disconnected uses of Netty within the same JVM process.
- ChannelInitializerExtension() - Constructor for class io.netty.bootstrap.ChannelInitializerExtension
- ChannelInputShutdownEvent - Class in io.netty.channel.socket
-
Special event which will be fired and passed to the
ChannelInboundHandler.userEventTriggered(ChannelHandlerContext, Object)methods once the input of aSocketChannelwas shutdown and theDuplexChannelConfig.isAllowHalfClosure()method returnstrue. - ChannelInputShutdownReadComplete - Class in io.netty.channel.socket
-
User event that signifies the channel's input side is shutdown, and we tried to shut it down again.
- ChannelMatcher - Interface in io.netty.channel.group
-
Allows to only match some
Channel's for operations inChannelGroup. - ChannelMatchers - Class in io.netty.channel.group
-
Helper class which provides often used
ChannelMatcherimplementations. - ChannelMetadata - Class in io.netty.channel
-
Represents the properties of a
Channelimplementation. - ChannelMetadata(boolean) - Constructor for class io.netty.channel.ChannelMetadata
-
Create a new instance
- ChannelMetadata(boolean, int) - Constructor for class io.netty.channel.ChannelMetadata
-
Create a new instance
- ChannelOption<T> - Class in io.netty.channel
-
A
ChannelOptionallows to configure aChannelConfigin a type-safe way. - ChannelOption(String) - Constructor for class io.netty.channel.ChannelOption
-
Deprecated.
- ChannelOutboundBuffer - Class in io.netty.channel
-
(Transport implementors only) an internal data structure used by
AbstractChannelto store its pending outbound write requests. - ChannelOutboundBuffer.MessageProcessor - Interface in io.netty.channel
- ChannelOutboundHandler - Interface in io.netty.channel
-
ChannelHandlerwhich will get notified for IO-outbound-operations. - ChannelOutboundHandlerAdapter - Class in io.netty.channel
-
Skeleton implementation of a
ChannelOutboundHandler. - ChannelOutboundHandlerAdapter() - Constructor for class io.netty.channel.ChannelOutboundHandlerAdapter
- ChannelOutboundInvoker - Interface in io.netty.channel
- ChannelOutputShutdownEvent - Class in io.netty.channel.socket
-
Special event which will be fired and passed to the
ChannelInboundHandler.userEventTriggered(ChannelHandlerContext, Object)methods once the output of aSocketChannelwas shutdown. - ChannelOutputShutdownException - Exception in io.netty.channel.socket
-
Used to fail pending writes when a channel's output has been shutdown.
- ChannelOutputShutdownException(String) - Constructor for exception io.netty.channel.socket.ChannelOutputShutdownException
- ChannelOutputShutdownException(String, Throwable) - Constructor for exception io.netty.channel.socket.ChannelOutputShutdownException
- ChannelPipeline - Interface in io.netty.channel
-
A list of
ChannelHandlers which handles or intercepts inbound events and outbound operations of aChannel. - ChannelPipelineException - Exception in io.netty.channel
-
A
ChannelExceptionwhich is thrown when aChannelPipelinefailed to execute an operation. - ChannelPipelineException() - Constructor for exception io.netty.channel.ChannelPipelineException
-
Creates a new instance.
- ChannelPipelineException(String) - Constructor for exception io.netty.channel.ChannelPipelineException
-
Creates a new instance.
- ChannelPipelineException(String, Throwable) - Constructor for exception io.netty.channel.ChannelPipelineException
-
Creates a new instance.
- ChannelPipelineException(Throwable) - Constructor for exception io.netty.channel.ChannelPipelineException
-
Creates a new instance.
- ChannelPool - Interface in io.netty.channel.pool
-
Allows to acquire and release
Channeland so act as a pool of these. - ChannelPoolHandler - Interface in io.netty.channel.pool
-
Handler which is called for various actions done by the
ChannelPool. - ChannelPoolMap<K,P extends ChannelPool> - Interface in io.netty.channel.pool
-
Allows to map
ChannelPoolimplementations to a specific key. - ChannelProgressiveFuture - Interface in io.netty.channel
-
An special
ChannelFuturewhich is used to indicate theFileRegiontransfer progress - ChannelProgressiveFutureListener - Interface in io.netty.channel
-
An
EventListenerlistener which will be called once the sending task associated with future is being transferred. - ChannelProgressivePromise - Interface in io.netty.channel
-
Special
ChannelPromisewhich will be notified once the associated bytes is transferring. - ChannelPromise - Interface in io.netty.channel
-
Special
ChannelFuturewhich is writable. - ChannelPromiseAggregator - Class in io.netty.channel
-
Deprecated.Use
PromiseCombinerClass which is used to consolidate multiple channel futures into one, by listening to the individual futures and producing an aggregated result (success/failure) when all futures have completed. - ChannelPromiseAggregator(ChannelPromise) - Constructor for class io.netty.channel.ChannelPromiseAggregator
-
Deprecated.
- ChannelPromiseNotifier - Class in io.netty.channel
-
Deprecated.use
PromiseNotifier. - ChannelPromiseNotifier(boolean, ChannelPromise...) - Constructor for class io.netty.channel.ChannelPromiseNotifier
-
Deprecated.Create a new instance
- ChannelPromiseNotifier(ChannelPromise...) - Constructor for class io.netty.channel.ChannelPromiseNotifier
-
Deprecated.Create a new instance
- channelRead(ChannelHandlerContext, Object) - Method in interface io.netty.channel.ChannelInboundHandler
-
Invoked when the current
Channelhas read a message from the peer. - channelRead(ChannelHandlerContext, Object) - Method in class io.netty.channel.ChannelInboundHandlerAdapter
-
Calls
ChannelHandlerContext.fireChannelRead(Object)to forward to the nextChannelInboundHandlerin theChannelPipeline. - channelRead(ChannelHandlerContext, Object) - Method in class io.netty.channel.CombinedChannelDuplexHandler
- channelRead(ChannelHandlerContext, Object) - Method in class io.netty.channel.SimpleChannelInboundHandler
- channelRead0(ChannelHandlerContext, I) - Method in class io.netty.channel.SimpleChannelInboundHandler
-
Is called for each message of type
SimpleChannelInboundHandler. - channelReadComplete(ChannelHandlerContext) - Method in interface io.netty.channel.ChannelInboundHandler
-
Invoked when the last message read by the current read operation has been consumed by
ChannelInboundHandler.channelRead(ChannelHandlerContext, Object). - channelReadComplete(ChannelHandlerContext) - Method in class io.netty.channel.ChannelInboundHandlerAdapter
-
Calls
ChannelHandlerContext.fireChannelReadComplete()to forward to the nextChannelInboundHandlerin theChannelPipeline. - channelReadComplete(ChannelHandlerContext) - Method in class io.netty.channel.CombinedChannelDuplexHandler
- channelReady(C, SelectionKey) - Method in interface io.netty.channel.nio.NioTask
-
Invoked when the
SelectableChannelhas been selected by theSelector. - channelRegistered(ChannelHandlerContext) - Method in interface io.netty.channel.ChannelInboundHandler
- channelRegistered(ChannelHandlerContext) - Method in class io.netty.channel.ChannelInboundHandlerAdapter
-
Calls
ChannelHandlerContext.fireChannelRegistered()to forward to the nextChannelInboundHandlerin theChannelPipeline. - channelRegistered(ChannelHandlerContext) - Method in class io.netty.channel.ChannelInitializer
- channelRegistered(ChannelHandlerContext) - Method in class io.netty.channel.CombinedChannelDuplexHandler
- channelReleased(Channel) - Method in class io.netty.channel.pool.AbstractChannelPoolHandler
-
NOOP implementation, sub-classes may override this.
- channelReleased(Channel) - Method in interface io.netty.channel.pool.ChannelPoolHandler
-
Called once a
Channelwas released by callingChannelPool.release(Channel)orChannelPool.release(Channel, Promise). - ChannelsReadOnlyIterator(Iterable<T>) - Constructor for class io.netty.channel.SingleThreadEventLoop.ChannelsReadOnlyIterator
- channelUnregistered(C, Throwable) - Method in interface io.netty.channel.nio.NioTask
-
Invoked when the
SelectionKeyof the specifiedSelectableChannelhas been cancelled and thus thisNioTaskwill not be notified anymore. - channelUnregistered(ChannelHandlerContext) - Method in interface io.netty.channel.ChannelInboundHandler
- channelUnregistered(ChannelHandlerContext) - Method in class io.netty.channel.ChannelInboundHandlerAdapter
-
Calls
ChannelHandlerContext.fireChannelUnregistered()to forward to the nextChannelInboundHandlerin theChannelPipeline. - channelUnregistered(ChannelHandlerContext) - Method in class io.netty.channel.CombinedChannelDuplexHandler
- ChannelUtils - Class in io.netty.channel.internal
- channelWritabilityChanged(ChannelHandlerContext) - Method in interface io.netty.channel.ChannelInboundHandler
-
Gets called once the writable state of a
Channelchanged. - channelWritabilityChanged(ChannelHandlerContext) - Method in class io.netty.channel.ChannelInboundHandlerAdapter
-
Calls
ChannelHandlerContext.fireChannelWritabilityChanged()to forward to the nextChannelInboundHandlerin theChannelPipeline. - channelWritabilityChanged(ChannelHandlerContext) - Method in class io.netty.channel.CombinedChannelDuplexHandler
- checkDeadLock() - Method in class io.netty.channel.DefaultChannelProgressivePromise
- checkDeadLock() - Method in class io.netty.channel.DefaultChannelPromise
- checkException() - Method in class io.netty.channel.embedded.EmbeddedChannel
-
Check if there was any
Throwablereceived and if so rethrow it. - checkInputShutdown() - Method in class io.netty.channel.socket.oio.OioSocketChannel
-
Deprecated.
- childAttr(AttributeKey<T>, T) - Method in class io.netty.bootstrap.ServerBootstrap
-
Set the specific
AttributeKeywith the given value on every childChannel. - childAttrs() - Method in class io.netty.bootstrap.ServerBootstrapConfig
-
Returns a copy of the configured attributes which will be used for the child channels.
- childGroup() - Method in class io.netty.bootstrap.ServerBootstrap
-
Deprecated.Use
ServerBootstrap.config()instead. - childGroup() - Method in class io.netty.bootstrap.ServerBootstrapConfig
-
Returns the configured
EventLoopGroupwhich will be used for the child channels ornullif non is configured yet. - childHandler() - Method in class io.netty.bootstrap.ServerBootstrapConfig
-
Returns the configured
ChannelHandlerbe used for the child channels ornullif non is configured yet. - childHandler(ChannelHandler) - Method in class io.netty.bootstrap.ServerBootstrap
-
Set the
ChannelHandlerwhich is used to serve the request for theChannel's. - childOption(ChannelOption<T>, T) - Method in class io.netty.bootstrap.ServerBootstrap
-
Allow to specify a
ChannelOptionwhich is used for theChannelinstances once they get created (after the acceptor accepted theChannel). - childOptions() - Method in class io.netty.bootstrap.ServerBootstrapConfig
-
Returns a copy of the configured options which will be used for the child channels.
- cleanup() - Method in class io.netty.channel.SingleThreadIoEventLoop
- clear() - Method in class io.netty.channel.group.DefaultChannelGroup
- clearOpWrite() - Method in class io.netty.channel.nio.AbstractNioByteChannel
- clearReadPending() - Method in class io.netty.channel.nio.AbstractNioChannel
-
Set read pending to
false. - clearReadPending() - Method in class io.netty.channel.oio.AbstractOioChannel
-
Deprecated.Set read pending to
false. - clone() - Method in class io.netty.bootstrap.AbstractBootstrap
-
Returns a deep clone of this bootstrap which has the identical configuration.
- clone() - Method in class io.netty.bootstrap.Bootstrap
- clone() - Method in class io.netty.bootstrap.ServerBootstrap
- clone(EventLoopGroup) - Method in class io.netty.bootstrap.Bootstrap
-
Returns a deep clone of this bootstrap which has the identical configuration except that it uses the given
EventLoopGroup. - close() - Method in interface io.netty.channel.Channel
- close() - Method in interface io.netty.channel.ChannelOutboundInvoker
-
Request to close the
Channeland notify theChannelFutureonce the operation completes, either because the operation was successful or because of an error. - close() - Method in class io.netty.channel.DefaultChannelPipeline
- close() - Method in class io.netty.channel.embedded.EmbeddedChannel
- close() - Method in interface io.netty.channel.group.ChannelGroup
-
Closes all
Channels in this group. - close() - Method in class io.netty.channel.group.DefaultChannelGroup
- close() - Method in interface io.netty.channel.IoHandle
-
Called once the
IoHandleshould be closed. - close() - Method in class io.netty.channel.nio.AbstractNioChannel.AbstractNioUnsafe
- close() - Method in class io.netty.channel.nio.NioSelectableChannelIoHandle
- close() - Method in class io.netty.channel.pool.AbstractChannelPoolMap
- close() - Method in interface io.netty.channel.pool.ChannelPool
- close() - Method in class io.netty.channel.pool.FixedChannelPool
- close() - Method in class io.netty.channel.pool.SimpleChannelPool
- close(ChannelHandlerContext, ChannelPromise) - Method in class io.netty.channel.ChannelDuplexHandler
-
Calls
ChannelOutboundInvoker.close(ChannelPromise)to forward to the nextChannelOutboundHandlerin theChannelPipeline. - close(ChannelHandlerContext, ChannelPromise) - Method in interface io.netty.channel.ChannelOutboundHandler
-
Called once a close operation is made.
- close(ChannelHandlerContext, ChannelPromise) - Method in class io.netty.channel.ChannelOutboundHandlerAdapter
-
Calls
ChannelOutboundInvoker.close(ChannelPromise)to forward to the nextChannelOutboundHandlerin theChannelPipeline. - close(ChannelHandlerContext, ChannelPromise) - Method in class io.netty.channel.CombinedChannelDuplexHandler
- close(ChannelPromise) - Method in class io.netty.channel.AbstractChannel.AbstractUnsafe
- close(ChannelPromise) - Method in interface io.netty.channel.Channel
- close(ChannelPromise) - Method in interface io.netty.channel.Channel.Unsafe
-
Close the
Channelof theChannelPromiseand notify theChannelPromiseonce the operation was complete. - close(ChannelPromise) - Method in interface io.netty.channel.ChannelOutboundInvoker
-
Request to close the
Channeland notify theChannelFutureonce the operation completes, either because the operation was successful or because of an error. - close(ChannelPromise) - Method in class io.netty.channel.DefaultChannelPipeline
- close(ChannelPromise) - Method in class io.netty.channel.embedded.EmbeddedChannel
- close(ChannelPromise, Throwable, ClosedChannelException) - Method in class io.netty.channel.AbstractChannel.AbstractUnsafe
- close(ChannelMatcher) - Method in interface io.netty.channel.group.ChannelGroup
-
Closes all
Channels in this group that are matched by the givenChannelMatcher. - close(ChannelMatcher) - Method in class io.netty.channel.group.DefaultChannelGroup
- CLOSE - Static variable in interface io.netty.channel.ChannelFutureListener
-
A
ChannelFutureListenerthat closes theChannelwhich is associated with the specifiedChannelFuture. - CLOSE_ON_FAILURE - Static variable in interface io.netty.channel.ChannelFutureListener
-
A
ChannelFutureListenerthat closes theChannelwhen the operation ended up with a failure or cancellation rather than a success. - closeAsync() - Method in class io.netty.channel.pool.FixedChannelPool
-
Closes the pool in an async manner.
- closeAsync() - Method in class io.netty.channel.pool.SimpleChannelPool
-
Closes the pool in an async manner.
- closeForcibly() - Method in class io.netty.channel.AbstractChannel.AbstractUnsafe
- closeForcibly() - Method in interface io.netty.channel.Channel.Unsafe
-
Closes the
Channelimmediately without firing any events. - closeFuture() - Method in class io.netty.channel.AbstractChannel
- closeFuture() - Method in interface io.netty.channel.Channel
-
Returns the
ChannelFuturewhich will be notified when this channel is closed. - closeIfClosed() - Method in class io.netty.channel.AbstractChannel.AbstractUnsafe
- closeOnReadError(Throwable) - Method in class io.netty.channel.nio.AbstractNioMessageChannel
- closeOnReadError(Throwable) - Method in class io.netty.channel.socket.nio.NioDatagramChannel
- closeOnReadError(Throwable) - Method in class io.netty.channel.socket.nio.NioServerDomainSocketChannel
- closeOnReadError(Throwable) - Method in class io.netty.channel.socket.nio.NioServerSocketChannel
- CoalescingBufferQueue - Class in io.netty.channel
-
A FIFO queue of bytes where producers add bytes by repeatedly adding
ByteBufand consumers take bytes in arbitrary lengths. - CoalescingBufferQueue(Channel) - Constructor for class io.netty.channel.CoalescingBufferQueue
- CoalescingBufferQueue(Channel, int) - Constructor for class io.netty.channel.CoalescingBufferQueue
- CoalescingBufferQueue(Channel, int, boolean) - Constructor for class io.netty.channel.CoalescingBufferQueue
- CombinedChannelDuplexHandler<I extends ChannelInboundHandler,O extends ChannelOutboundHandler> - Class in io.netty.channel
- CombinedChannelDuplexHandler() - Constructor for class io.netty.channel.CombinedChannelDuplexHandler
-
Creates a new uninitialized instance.
- CombinedChannelDuplexHandler(I, O) - Constructor for class io.netty.channel.CombinedChannelDuplexHandler
-
Creates a new instance that combines the specified two handlers into one.
- compareTo(Channel) - Method in class io.netty.channel.AbstractChannel
- compareTo(ChannelId) - Method in class io.netty.channel.DefaultChannelId
- compareTo(ChannelGroup) - Method in class io.netty.channel.group.DefaultChannelGroup
- compareTo(LocalAddress) - Method in class io.netty.channel.local.LocalAddress
- compose(ByteBufAllocator, ByteBuf, ByteBuf) - Method in class io.netty.channel.AbstractCoalescingBufferQueue
-
Calculate the result of
current + next. - compose(ByteBufAllocator, ByteBuf, ByteBuf) - Method in class io.netty.channel.CoalescingBufferQueue
- compose(ChannelMatcher...) - Static method in class io.netty.channel.group.ChannelMatchers
-
Return a composite of the given
ChannelMatchers. - composeFirst(ByteBufAllocator, ByteBuf) - Method in class io.netty.channel.AbstractCoalescingBufferQueue
-
Deprecated.Use {AbstractCoalescingBufferQueue#composeFirst(ByteBufAllocator, ByteBuf, int)}
- composeFirst(ByteBufAllocator, ByteBuf, int) - Method in class io.netty.channel.AbstractCoalescingBufferQueue
-
Calculate the first
ByteBufwhich will be used in subsequent calls toAbstractCoalescingBufferQueue.compose(ByteBufAllocator, ByteBuf, ByteBuf). - composeIntoComposite(ByteBufAllocator, ByteBuf, ByteBuf) - Method in class io.netty.channel.AbstractCoalescingBufferQueue
-
Compose
cumulationandnextinto a newCompositeByteBuf. - compositeBuffer() - Method in class io.netty.channel.PreferHeapByteBufAllocator
- compositeBuffer(int) - Method in class io.netty.channel.PreferHeapByteBufAllocator
- compositeDirectBuffer() - Method in class io.netty.channel.PreferHeapByteBufAllocator
- compositeDirectBuffer(int) - Method in class io.netty.channel.PreferHeapByteBufAllocator
- compositeHeapBuffer() - Method in class io.netty.channel.PreferHeapByteBufAllocator
- compositeHeapBuffer(int) - Method in class io.netty.channel.PreferHeapByteBufAllocator
- config() - Method in class io.netty.bootstrap.AbstractBootstrap
-
Returns the
AbstractBootstrapConfigobject that can be used to obtain the current config of the bootstrap. - config() - Method in class io.netty.bootstrap.Bootstrap
- config() - Method in class io.netty.bootstrap.ServerBootstrap
- config() - Method in interface io.netty.channel.Channel
-
Returns the configuration of this channel.
- config() - Method in class io.netty.channel.embedded.EmbeddedChannel
- config() - Method in class io.netty.channel.local.LocalChannel
- config() - Method in class io.netty.channel.local.LocalServerChannel
- config() - Method in interface io.netty.channel.socket.DatagramChannel
- config() - Method in class io.netty.channel.socket.nio.NioDatagramChannel
- config() - Method in class io.netty.channel.socket.nio.NioDomainSocketChannel
- config() - Method in class io.netty.channel.socket.nio.NioServerDomainSocketChannel
- config() - Method in class io.netty.channel.socket.nio.NioServerSocketChannel
- config() - Method in class io.netty.channel.socket.nio.NioSocketChannel
- config() - Method in class io.netty.channel.socket.oio.OioDatagramChannel
-
Deprecated.Returns the configuration of this channel.
- config() - Method in class io.netty.channel.socket.oio.OioServerSocketChannel
-
Deprecated.
- config() - Method in class io.netty.channel.socket.oio.OioSocketChannel
-
Deprecated.
- config() - Method in interface io.netty.channel.socket.ServerSocketChannel
- config() - Method in interface io.netty.channel.socket.SocketChannel
- config(ChannelConfig) - Method in class io.netty.channel.embedded.EmbeddedChannel.Builder
-
The
ChannelConfigwhich will be returned byEmbeddedChannel.config(). - connect() - Method in class io.netty.bootstrap.Bootstrap
-
Connect a
Channelto the remote peer. - connect(ChannelHandlerContext, SocketAddress, SocketAddress, ChannelPromise) - Method in class io.netty.channel.ChannelDuplexHandler
-
Calls
ChannelOutboundInvoker.connect(SocketAddress, SocketAddress, ChannelPromise)to forward to the nextChannelOutboundHandlerin theChannelPipeline. - connect(ChannelHandlerContext, SocketAddress, SocketAddress, ChannelPromise) - Method in interface io.netty.channel.ChannelOutboundHandler
-
Called once a connect operation is made.
- connect(ChannelHandlerContext, SocketAddress, SocketAddress, ChannelPromise) - Method in class io.netty.channel.ChannelOutboundHandlerAdapter
-
Calls
ChannelOutboundInvoker.connect(SocketAddress, SocketAddress, ChannelPromise)to forward to the nextChannelOutboundHandlerin theChannelPipeline. - connect(ChannelHandlerContext, SocketAddress, SocketAddress, ChannelPromise) - Method in class io.netty.channel.CombinedChannelDuplexHandler
- connect(String, int) - Method in class io.netty.bootstrap.Bootstrap
-
Connect a
Channelto the remote peer. - connect(InetAddress, int) - Method in class io.netty.bootstrap.Bootstrap
-
Connect a
Channelto the remote peer. - connect(SocketAddress) - Method in class io.netty.bootstrap.Bootstrap
-
Connect a
Channelto the remote peer. - connect(SocketAddress) - Method in interface io.netty.channel.Channel
- connect(SocketAddress) - Method in interface io.netty.channel.ChannelOutboundInvoker
-
Request to connect to the given
SocketAddressand notify theChannelFutureonce the operation completes, either because the operation was successful or because of an error. - connect(SocketAddress) - Method in class io.netty.channel.DefaultChannelPipeline
- connect(SocketAddress) - Method in class io.netty.channel.embedded.EmbeddedChannel
- connect(SocketAddress, ChannelPromise) - Method in interface io.netty.channel.Channel
- connect(SocketAddress, ChannelPromise) - Method in interface io.netty.channel.ChannelOutboundInvoker
-
Request to connect to the given
SocketAddressand notify theChannelFutureonce the operation completes, either because the operation was successful or because of an error. - connect(SocketAddress, ChannelPromise) - Method in class io.netty.channel.DefaultChannelPipeline
- connect(SocketAddress, ChannelPromise) - Method in class io.netty.channel.embedded.EmbeddedChannel
- connect(SocketAddress, SocketAddress) - Method in class io.netty.bootstrap.Bootstrap
-
Connect a
Channelto the remote peer. - connect(SocketAddress, SocketAddress) - Method in interface io.netty.channel.Channel
- connect(SocketAddress, SocketAddress) - Method in interface io.netty.channel.ChannelOutboundInvoker
-
Request to connect to the given
SocketAddresswhile bind to the localAddress and notify theChannelFutureonce the operation completes, either because the operation was successful or because of an error. - connect(SocketAddress, SocketAddress) - Method in class io.netty.channel.DefaultChannelPipeline
- connect(SocketAddress, SocketAddress) - Method in class io.netty.channel.embedded.EmbeddedChannel
- connect(SocketAddress, SocketAddress, ChannelPromise) - Method in interface io.netty.channel.Channel
- connect(SocketAddress, SocketAddress, ChannelPromise) - Method in interface io.netty.channel.Channel.Unsafe
- connect(SocketAddress, SocketAddress, ChannelPromise) - Method in interface io.netty.channel.ChannelOutboundInvoker
-
Request to connect to the given
SocketAddresswhile bind to the localAddress and notify theChannelFutureonce the operation completes, either because the operation was successful or because of an error. - connect(SocketAddress, SocketAddress, ChannelPromise) - Method in class io.netty.channel.DefaultChannelPipeline
- connect(SocketAddress, SocketAddress, ChannelPromise) - Method in class io.netty.channel.embedded.EmbeddedChannel
- connect(SocketAddress, SocketAddress, ChannelPromise) - Method in class io.netty.channel.nio.AbstractNioChannel.AbstractNioUnsafe
- CONNECT - Static variable in class io.netty.channel.nio.NioIoOps
-
Interested in IO events which should be handled by finish pending connect operations
- CONNECT_TIMEOUT_MILLIS - Static variable in class io.netty.channel.ChannelOption
- connectChannel(Bootstrap) - Method in class io.netty.channel.pool.SimpleChannelPool
-
Bootstrap a new
Channel. - ConnectTimeoutException - Exception in io.netty.channel
-
ConnectExceptionwhich will be thrown if a connection could not be established because of a connection timeout. - ConnectTimeoutException() - Constructor for exception io.netty.channel.ConnectTimeoutException
- ConnectTimeoutException(String) - Constructor for exception io.netty.channel.ConnectTimeoutException
- contains(NioIoOps) - Method in class io.netty.channel.nio.NioIoOps
- contains(Object) - Method in class io.netty.channel.group.DefaultChannelGroup
- contains(K) - Method in class io.netty.channel.pool.AbstractChannelPoolMap
- contains(K) - Method in interface io.netty.channel.pool.ChannelPoolMap
- content() - Method in interface io.netty.channel.AddressedEnvelope
-
Returns the message wrapped by this envelope message.
- content() - Method in class io.netty.channel.DefaultAddressedEnvelope
- context(ChannelHandler) - Method in interface io.netty.channel.ChannelPipeline
-
Returns the context object of the specified
ChannelHandlerin this pipeline. - context(ChannelHandler) - Method in class io.netty.channel.DefaultChannelPipeline
- context(Class<? extends ChannelHandler>) - Method in interface io.netty.channel.ChannelPipeline
-
Returns the context object of the
ChannelHandlerof the specified type in this pipeline. - context(Class<? extends ChannelHandler>) - Method in class io.netty.channel.DefaultChannelPipeline
- context(String) - Method in interface io.netty.channel.ChannelPipeline
-
Returns the context object of the
ChannelHandlerwith the specified name in this pipeline. - context(String) - Method in class io.netty.channel.DefaultChannelPipeline
- CONTINUE - Static variable in interface io.netty.channel.SelectStrategy
-
Indicates the IO loop should be retried, no blocking select to follow directly.
- continueOnWriteError() - Method in class io.netty.channel.nio.AbstractNioMessageChannel
-
Returns
trueif we should continue the write loop on a write error. - continueOnWriteError() - Method in class io.netty.channel.socket.nio.NioDatagramChannel
- continueReading() - Method in class io.netty.channel.DefaultMaxMessagesRecvByteBufAllocator.MaxMessageHandle
- continueReading() - Method in class io.netty.channel.RecvByteBufAllocator.DelegatingHandle
- continueReading() - Method in interface io.netty.channel.RecvByteBufAllocator.Handle
-
Deprecated.Determine if the current read loop should continue.
- continueReading(RecvByteBufAllocator.Handle) - Method in class io.netty.channel.nio.AbstractNioMessageChannel
- continueReading(RecvByteBufAllocator.Handle) - Method in class io.netty.channel.socket.nio.NioDatagramChannel
- continueReading(UncheckedBooleanSupplier) - Method in class io.netty.channel.DefaultMaxMessagesRecvByteBufAllocator.MaxMessageHandle
- continueReading(UncheckedBooleanSupplier) - Method in interface io.netty.channel.RecvByteBufAllocator.ExtendedHandle
-
Same as
RecvByteBufAllocator.Handle.continueReading()except "more data" is determined by the supplier parameter. - copy() - Method in class io.netty.channel.socket.DatagramPacket
- copyAndCompose(ByteBufAllocator, ByteBuf, ByteBuf) - Method in class io.netty.channel.AbstractCoalescingBufferQueue
-
Compose
cumulationandnextinto a newByteBufAllocator.ioBuffer(). - copyTo(AbstractCoalescingBufferQueue) - Method in class io.netty.channel.AbstractCoalescingBufferQueue
-
Copy all pending entries in this queue into the destination queue.
- count() - Method in class io.netty.channel.DefaultFileRegion
- count() - Method in interface io.netty.channel.FileRegion
-
Returns the number of bytes to transfer.
- current() - Method in class io.netty.channel.ChannelOutboundBuffer
-
Return the current message to write or
nullif nothing was flushed before and so is ready to be written. - current() - Method in class io.netty.channel.PendingWriteQueue
-
Return the current message or
nullif empty. - currentProgress() - Method in class io.netty.channel.ChannelOutboundBuffer
-
Return the current message flush progress.
D
- DATAGRAM_CHANNEL_ACTIVE_ON_REGISTRATION - Static variable in class io.netty.channel.ChannelOption
-
Deprecated.
- DatagramChannel - Interface in io.netty.channel.socket
-
A UDP/IP
Channel. - DatagramChannelConfig - Interface in io.netty.channel.socket
-
A
ChannelConfigfor aDatagramChannel. - DatagramPacket - Class in io.netty.channel.socket
-
The message container that is used for
DatagramChannelto communicate with the remote peer. - DatagramPacket(ByteBuf, InetSocketAddress) - Constructor for class io.netty.channel.socket.DatagramPacket
-
Create a new instance with the specified packet
dataandrecipientaddress. - DatagramPacket(ByteBuf, InetSocketAddress, InetSocketAddress) - Constructor for class io.netty.channel.socket.DatagramPacket
-
Create a new instance with the specified packet
data,recipientaddress, andsenderaddress. - deadlineNanos() - Method in interface io.netty.channel.IoHandlerContext
-
Returns the absolute point in time at which the next closest scheduled task should run or
-1if nothing is scheduled to run. - deallocate() - Method in class io.netty.channel.DefaultFileRegion
- decrementPendingOutboundBytes(long) - Method in class io.netty.channel.DefaultChannelPipeline
- DEFAULT - Static variable in class io.netty.channel.AdaptiveRecvByteBufAllocator
-
Deprecated.There is state for
DefaultMaxMessagesRecvByteBufAllocator.maxMessagesPerRead()which is typically based upon channel type. - DEFAULT - Static variable in class io.netty.channel.DefaultMessageSizeEstimator
-
Return the default implementation which returns
8for unknown messages. - DEFAULT - Static variable in class io.netty.channel.local.LocalIoOps
-
Default instance to use.
- DEFAULT - Static variable in class io.netty.channel.WriteBufferWaterMark
- DEFAULT_INITIAL - Static variable in class io.netty.channel.AdaptiveRecvByteBufAllocator
- DEFAULT_MAX_PENDING_TASKS - Static variable in class io.netty.channel.SingleThreadEventLoop
- DEFAULT_MAXIMUM - Static variable in class io.netty.channel.AdaptiveRecvByteBufAllocator
- DEFAULT_MINIMUM - Static variable in class io.netty.channel.AdaptiveRecvByteBufAllocator
- DefaultAddressedEnvelope<M,A extends SocketAddress> - Class in io.netty.channel
-
The default
AddressedEnvelopeimplementation. - DefaultAddressedEnvelope(M, A) - Constructor for class io.netty.channel.DefaultAddressedEnvelope
-
Creates a new instance with the specified
messageandrecipientaddress. - DefaultAddressedEnvelope(M, A, A) - Constructor for class io.netty.channel.DefaultAddressedEnvelope
-
Creates a new instance with the specified
message,recipientaddress, andsenderaddress. - DefaultChannelConfig - Class in io.netty.channel
-
The default
ChannelConfigimplementation. - DefaultChannelConfig(Channel) - Constructor for class io.netty.channel.DefaultChannelConfig
- DefaultChannelConfig(Channel, RecvByteBufAllocator) - Constructor for class io.netty.channel.DefaultChannelConfig
- DefaultChannelGroup - Class in io.netty.channel.group
-
The default
ChannelGroupimplementation. - DefaultChannelGroup(EventExecutor) - Constructor for class io.netty.channel.group.DefaultChannelGroup
-
Creates a new group with a generated name and the provided
EventExecutorto notify theChannelGroupFutures. - DefaultChannelGroup(EventExecutor, boolean) - Constructor for class io.netty.channel.group.DefaultChannelGroup
-
Creates a new group with a generated name and the provided
EventExecutorto notify theChannelGroupFutures. - DefaultChannelGroup(String, EventExecutor) - Constructor for class io.netty.channel.group.DefaultChannelGroup
- DefaultChannelGroup(String, EventExecutor, boolean) - Constructor for class io.netty.channel.group.DefaultChannelGroup
- DefaultChannelId - Class in io.netty.channel
-
The default
ChannelIdimplementation. - DefaultChannelPipeline - Class in io.netty.channel
-
The default
ChannelPipelineimplementation. - DefaultChannelPipeline(Channel) - Constructor for class io.netty.channel.DefaultChannelPipeline
- DefaultChannelProgressivePromise - Class in io.netty.channel
-
The default
ChannelProgressivePromiseimplementation. - DefaultChannelProgressivePromise(Channel) - Constructor for class io.netty.channel.DefaultChannelProgressivePromise
-
Creates a new instance.
- DefaultChannelProgressivePromise(Channel, EventExecutor) - Constructor for class io.netty.channel.DefaultChannelProgressivePromise
-
Creates a new instance.
- DefaultChannelPromise - Class in io.netty.channel
-
The default
ChannelPromiseimplementation. - DefaultChannelPromise(Channel) - Constructor for class io.netty.channel.DefaultChannelPromise
-
Creates a new instance.
- DefaultChannelPromise(Channel, EventExecutor) - Constructor for class io.netty.channel.DefaultChannelPromise
-
Creates a new instance.
- DefaultDatagramChannelConfig - Class in io.netty.channel.socket
-
The default
DatagramChannelConfigimplementation. - DefaultDatagramChannelConfig(DatagramChannel, DatagramSocket) - Constructor for class io.netty.channel.socket.DefaultDatagramChannelConfig
-
Creates a new instance.
- DefaultEventLoop - Class in io.netty.channel
- DefaultEventLoop() - Constructor for class io.netty.channel.DefaultEventLoop
- DefaultEventLoop(EventLoopGroup) - Constructor for class io.netty.channel.DefaultEventLoop
- DefaultEventLoop(EventLoopGroup, Executor) - Constructor for class io.netty.channel.DefaultEventLoop
- DefaultEventLoop(EventLoopGroup, ThreadFactory) - Constructor for class io.netty.channel.DefaultEventLoop
- DefaultEventLoop(Executor) - Constructor for class io.netty.channel.DefaultEventLoop
- DefaultEventLoop(ThreadFactory) - Constructor for class io.netty.channel.DefaultEventLoop
- DefaultEventLoopGroup - Class in io.netty.channel
-
Deprecated.
- DefaultEventLoopGroup() - Constructor for class io.netty.channel.DefaultEventLoopGroup
-
Deprecated.Create a new instance with the default number of threads.
- DefaultEventLoopGroup(int) - Constructor for class io.netty.channel.DefaultEventLoopGroup
-
Deprecated.Create a new instance
- DefaultEventLoopGroup(int, Executor) - Constructor for class io.netty.channel.DefaultEventLoopGroup
-
Deprecated.Create a new instance
- DefaultEventLoopGroup(int, ThreadFactory) - Constructor for class io.netty.channel.DefaultEventLoopGroup
-
Deprecated.Create a new instance
- DefaultEventLoopGroup(ThreadFactory) - Constructor for class io.netty.channel.DefaultEventLoopGroup
-
Deprecated.Create a new instance with the default number of threads and the given
ThreadFactory. - DefaultFileRegion - Class in io.netty.channel
- DefaultFileRegion(File, long, long) - Constructor for class io.netty.channel.DefaultFileRegion
-
Create a new instance using the given
File. - DefaultFileRegion(FileChannel, long, long) - Constructor for class io.netty.channel.DefaultFileRegion
-
Create a new instance
- DefaultMaxBytesRecvByteBufAllocator - Class in io.netty.channel
-
The
RecvByteBufAllocatorthat yields a buffer size prediction based upon decrementing the value from the max bytes per read. - DefaultMaxBytesRecvByteBufAllocator() - Constructor for class io.netty.channel.DefaultMaxBytesRecvByteBufAllocator
- DefaultMaxBytesRecvByteBufAllocator(int, int) - Constructor for class io.netty.channel.DefaultMaxBytesRecvByteBufAllocator
- defaultMaxMessagesPerRead() - Method in class io.netty.channel.ChannelMetadata
-
If a
MaxMessagesRecvByteBufAllocatoris in use, then this is the default value forMaxMessagesRecvByteBufAllocator.maxMessagesPerRead(). - DefaultMaxMessagesRecvByteBufAllocator - Class in io.netty.channel
-
Default implementation of
MaxMessagesRecvByteBufAllocatorwhich respectsChannelConfig.isAutoRead()and also prevents overflow. - DefaultMaxMessagesRecvByteBufAllocator() - Constructor for class io.netty.channel.DefaultMaxMessagesRecvByteBufAllocator
- DefaultMaxMessagesRecvByteBufAllocator(int) - Constructor for class io.netty.channel.DefaultMaxMessagesRecvByteBufAllocator
- DefaultMaxMessagesRecvByteBufAllocator.MaxMessageHandle - Class in io.netty.channel
-
Focuses on enforcing the maximum messages per read condition for
DefaultMaxMessagesRecvByteBufAllocator.MaxMessageHandle.continueReading(). - DefaultMessageSizeEstimator - Class in io.netty.channel
-
Default
MessageSizeEstimatorimplementation which supports the estimation of the size ofByteBuf,ByteBufHolderandFileRegion. - DefaultMessageSizeEstimator(int) - Constructor for class io.netty.channel.DefaultMessageSizeEstimator
-
Create a new instance
- DefaultOioServerSocketChannelConfig - Class in io.netty.channel.socket.oio
-
Deprecated.use NIO / EPOLL / KQUEUE transport.
- DefaultOioServerSocketChannelConfig(ServerSocketChannel, ServerSocket) - Constructor for class io.netty.channel.socket.oio.DefaultOioServerSocketChannelConfig
-
Deprecated.
- DefaultOioSocketChannelConfig - Class in io.netty.channel.socket.oio
-
Deprecated.use NIO / EPOLL / KQUEUE transport.
- DefaultOioSocketChannelConfig(SocketChannel, Socket) - Constructor for class io.netty.channel.socket.oio.DefaultOioSocketChannelConfig
-
Deprecated.
- DefaultSelectStrategyFactory - Class in io.netty.channel
-
Factory which uses the default select strategy.
- DefaultServerSocketChannelConfig - Class in io.netty.channel.socket
-
The default
ServerSocketChannelConfigimplementation. - DefaultServerSocketChannelConfig(ServerSocketChannel, ServerSocket) - Constructor for class io.netty.channel.socket.DefaultServerSocketChannelConfig
-
Creates a new instance.
- DefaultSocketChannelConfig - Class in io.netty.channel.socket
-
The default
SocketChannelConfigimplementation. - DefaultSocketChannelConfig(SocketChannel, Socket) - Constructor for class io.netty.channel.socket.DefaultSocketChannelConfig
-
Creates a new instance.
- delayNanos(long) - Method in interface io.netty.channel.IoHandlerContext
-
Returns the amount of time left until the scheduled task with the closest deadline should run.
- delegate() - Method in class io.netty.channel.RecvByteBufAllocator.DelegatingHandle
-
Get the
RecvByteBufAllocator.Handlewhich all methods will be delegated to. - DelegatingChannelPromiseNotifier - Class in io.netty.channel
- DelegatingChannelPromiseNotifier(ChannelPromise) - Constructor for class io.netty.channel.DelegatingChannelPromiseNotifier
- DelegatingChannelPromiseNotifier(ChannelPromise, boolean) - Constructor for class io.netty.channel.DelegatingChannelPromiseNotifier
- DelegatingHandle(RecvByteBufAllocator.Handle) - Constructor for class io.netty.channel.RecvByteBufAllocator.DelegatingHandle
- deregister() - Method in interface io.netty.channel.Channel
- deregister() - Method in interface io.netty.channel.ChannelOutboundInvoker
-
Request to deregister from the previous assigned
EventExecutorand notify theChannelFutureonce the operation completes, either because the operation was successful or because of an error. - deregister() - Method in class io.netty.channel.DefaultChannelPipeline
- deregister() - Method in class io.netty.channel.embedded.EmbeddedChannel
- deregister() - Method in interface io.netty.channel.group.ChannelGroup
-
Deprecated.This method will be removed in the next major feature release. Deregister all
Channels in this group from theirEventLoop. Please note that this operation is asynchronous asChannel.deregister()is. - deregister() - Method in class io.netty.channel.group.DefaultChannelGroup
- deregister() - Method in class io.netty.channel.ThreadPerChannelEventLoop
-
Deprecated.
- deregister(ChannelHandlerContext, ChannelPromise) - Method in class io.netty.channel.ChannelDuplexHandler
-
Calls
ChannelOutboundInvoker.deregister(ChannelPromise)to forward to the nextChannelOutboundHandlerin theChannelPipeline. - deregister(ChannelHandlerContext, ChannelPromise) - Method in interface io.netty.channel.ChannelOutboundHandler
-
Called once a deregister operation is made from the current registered
EventLoop. - deregister(ChannelHandlerContext, ChannelPromise) - Method in class io.netty.channel.ChannelOutboundHandlerAdapter
-
Calls
ChannelOutboundInvoker.deregister(ChannelPromise)to forward to the nextChannelOutboundHandlerin theChannelPipeline. - deregister(ChannelHandlerContext, ChannelPromise) - Method in class io.netty.channel.CombinedChannelDuplexHandler
- deregister(ChannelPromise) - Method in class io.netty.channel.AbstractChannel.AbstractUnsafe
- deregister(ChannelPromise) - Method in interface io.netty.channel.Channel
- deregister(ChannelPromise) - Method in interface io.netty.channel.Channel.Unsafe
-
Deregister the
Channelof theChannelPromisefromEventLoopand notify theChannelPromiseonce the operation was complete. - deregister(ChannelPromise) - Method in interface io.netty.channel.ChannelOutboundInvoker
-
Request to deregister from the previous assigned
EventExecutorand notify theChannelFutureonce the operation completes, either because the operation was successful or because of an error. - deregister(ChannelPromise) - Method in class io.netty.channel.DefaultChannelPipeline
- deregister(ChannelPromise) - Method in class io.netty.channel.embedded.EmbeddedChannel
- deregister(ChannelMatcher) - Method in interface io.netty.channel.group.ChannelGroup
-
Deprecated.This method will be removed in the next major feature release. Deregister all
Channels in this group from theirEventLoopthat are matched by the givenChannelMatcher. Please note that this operation is asynchronous asChannel.deregister()is. - deregister(ChannelMatcher) - Method in class io.netty.channel.group.DefaultChannelGroup
- deregister(S) - Method in class io.netty.channel.nio.NioSelectableChannelIoHandle
- destroy() - Method in interface io.netty.channel.IoHandler
-
Destroy the
IoHandlerand free all its resources. - destroy() - Method in class io.netty.channel.local.LocalIoHandler
- destroy() - Method in class io.netty.channel.nio.NioIoHandler
- directBuffer() - Method in class io.netty.channel.PreferHeapByteBufAllocator
- directBuffer(int) - Method in class io.netty.channel.PreferHeapByteBufAllocator
- directBuffer(int, int) - Method in class io.netty.channel.PreferHeapByteBufAllocator
- disableResolver() - Method in class io.netty.bootstrap.Bootstrap
-
Disables address name resolution.
- disconnect() - Method in interface io.netty.channel.Channel
- disconnect() - Method in interface io.netty.channel.ChannelOutboundInvoker
-
Request to disconnect from the remote peer and notify the
ChannelFutureonce the operation completes, either because the operation was successful or because of an error. - disconnect() - Method in class io.netty.channel.DefaultChannelPipeline
- disconnect() - Method in class io.netty.channel.embedded.EmbeddedChannel
- disconnect() - Method in interface io.netty.channel.group.ChannelGroup
-
Disconnects all
Channels in this group from their remote peers. - disconnect() - Method in class io.netty.channel.group.DefaultChannelGroup
- disconnect(ChannelHandlerContext, ChannelPromise) - Method in class io.netty.channel.ChannelDuplexHandler
-
Calls
ChannelOutboundInvoker.disconnect(ChannelPromise)to forward to the nextChannelOutboundHandlerin theChannelPipeline. - disconnect(ChannelHandlerContext, ChannelPromise) - Method in interface io.netty.channel.ChannelOutboundHandler
-
Called once a disconnect operation is made.
- disconnect(ChannelHandlerContext, ChannelPromise) - Method in class io.netty.channel.ChannelOutboundHandlerAdapter
-
Calls
ChannelOutboundInvoker.disconnect(ChannelPromise)to forward to the nextChannelOutboundHandlerin theChannelPipeline. - disconnect(ChannelHandlerContext, ChannelPromise) - Method in class io.netty.channel.CombinedChannelDuplexHandler
- disconnect(ChannelPromise) - Method in class io.netty.channel.AbstractChannel.AbstractUnsafe
- disconnect(ChannelPromise) - Method in interface io.netty.channel.Channel
- disconnect(ChannelPromise) - Method in interface io.netty.channel.Channel.Unsafe
-
Disconnect the
Channelof theChannelFutureand notify theChannelPromiseonce the operation was complete. - disconnect(ChannelPromise) - Method in interface io.netty.channel.ChannelOutboundInvoker
-
Request to disconnect from the remote peer and notify the
ChannelFutureonce the operation completes, either because the operation was successful or because of an error. - disconnect(ChannelPromise) - Method in class io.netty.channel.DefaultChannelPipeline
- disconnect(ChannelPromise) - Method in class io.netty.channel.embedded.EmbeddedChannel
- disconnect(ChannelMatcher) - Method in interface io.netty.channel.group.ChannelGroup
-
Disconnects all
Channels in this group from their remote peers, that are matched by the givenChannelMatcher. - disconnect(ChannelMatcher) - Method in class io.netty.channel.group.DefaultChannelGroup
- doBeginRead() - Method in class io.netty.channel.AbstractChannel
-
Schedule a read operation.
- doBeginRead() - Method in class io.netty.channel.embedded.EmbeddedChannel
- doBeginRead() - Method in class io.netty.channel.local.LocalChannel
- doBeginRead() - Method in class io.netty.channel.local.LocalServerChannel
- doBeginRead() - Method in class io.netty.channel.nio.AbstractNioChannel
- doBeginRead() - Method in class io.netty.channel.nio.AbstractNioMessageChannel
- doBeginRead() - Method in class io.netty.channel.oio.AbstractOioChannel
-
Deprecated.
- doBind(SocketAddress) - Method in class io.netty.channel.AbstractChannel
-
Bind the
Channelto theSocketAddress - doBind(SocketAddress) - Method in class io.netty.channel.embedded.EmbeddedChannel
- doBind(SocketAddress) - Method in class io.netty.channel.local.LocalChannel
- doBind(SocketAddress) - Method in class io.netty.channel.local.LocalServerChannel
- doBind(SocketAddress) - Method in class io.netty.channel.socket.nio.NioDatagramChannel
- doBind(SocketAddress) - Method in class io.netty.channel.socket.nio.NioDomainSocketChannel
- doBind(SocketAddress) - Method in class io.netty.channel.socket.nio.NioServerDomainSocketChannel
- doBind(SocketAddress) - Method in class io.netty.channel.socket.nio.NioServerSocketChannel
- doBind(SocketAddress) - Method in class io.netty.channel.socket.nio.NioSocketChannel
- doBind(SocketAddress) - Method in class io.netty.channel.socket.oio.OioDatagramChannel
-
Deprecated.
- doBind(SocketAddress) - Method in class io.netty.channel.socket.oio.OioServerSocketChannel
-
Deprecated.
- doBind(SocketAddress) - Method in class io.netty.channel.socket.oio.OioSocketChannel
-
Deprecated.
- doClose() - Method in class io.netty.channel.AbstractChannel
-
Close the
Channel - doClose() - Method in class io.netty.channel.embedded.EmbeddedChannel
- doClose() - Method in class io.netty.channel.local.LocalChannel
- doClose() - Method in class io.netty.channel.local.LocalServerChannel
- doClose() - Method in class io.netty.channel.nio.AbstractNioChannel
- doClose() - Method in class io.netty.channel.oio.OioByteStreamChannel
-
Deprecated.
- doClose() - Method in class io.netty.channel.socket.nio.NioDatagramChannel
- doClose() - Method in class io.netty.channel.socket.nio.NioDomainSocketChannel
- doClose() - Method in class io.netty.channel.socket.nio.NioServerDomainSocketChannel
- doClose() - Method in class io.netty.channel.socket.nio.NioServerSocketChannel
- doClose() - Method in class io.netty.channel.socket.nio.NioSocketChannel
- doClose() - Method in class io.netty.channel.socket.oio.OioDatagramChannel
-
Deprecated.
- doClose() - Method in class io.netty.channel.socket.oio.OioServerSocketChannel
-
Deprecated.
- doClose() - Method in class io.netty.channel.socket.oio.OioSocketChannel
-
Deprecated.
- doConnect(SocketAddress, SocketAddress) - Method in class io.netty.channel.nio.AbstractNioChannel
-
Connect to the remote peer
- doConnect(SocketAddress, SocketAddress) - Method in class io.netty.channel.oio.AbstractOioChannel
-
Deprecated.Connect to the remote peer using the given localAddress if one is specified or
nullotherwise. - doConnect(SocketAddress, SocketAddress) - Method in class io.netty.channel.socket.nio.NioDatagramChannel
- doConnect(SocketAddress, SocketAddress) - Method in class io.netty.channel.socket.nio.NioDomainSocketChannel
- doConnect(SocketAddress, SocketAddress) - Method in class io.netty.channel.socket.nio.NioServerDomainSocketChannel
- doConnect(SocketAddress, SocketAddress) - Method in class io.netty.channel.socket.nio.NioServerSocketChannel
- doConnect(SocketAddress, SocketAddress) - Method in class io.netty.channel.socket.nio.NioSocketChannel
- doConnect(SocketAddress, SocketAddress) - Method in class io.netty.channel.socket.oio.OioDatagramChannel
-
Deprecated.
- doConnect(SocketAddress, SocketAddress) - Method in class io.netty.channel.socket.oio.OioServerSocketChannel
-
Deprecated.
- doConnect(SocketAddress, SocketAddress) - Method in class io.netty.channel.socket.oio.OioSocketChannel
-
Deprecated.
- doDeregister() - Method in class io.netty.channel.AbstractChannel
- doDeregister() - Method in class io.netty.channel.local.LocalChannel
- doDeregister() - Method in class io.netty.channel.local.LocalServerChannel
- doDeregister() - Method in class io.netty.channel.nio.AbstractNioChannel
- doDisconnect() - Method in class io.netty.channel.AbstractChannel
-
Disconnect this
Channelfrom its remote peer - doDisconnect() - Method in class io.netty.channel.AbstractServerChannel
- doDisconnect() - Method in class io.netty.channel.embedded.EmbeddedChannel
- doDisconnect() - Method in class io.netty.channel.local.LocalChannel
- doDisconnect() - Method in class io.netty.channel.socket.nio.NioDatagramChannel
- doDisconnect() - Method in class io.netty.channel.socket.nio.NioDomainSocketChannel
- doDisconnect() - Method in class io.netty.channel.socket.nio.NioServerDomainSocketChannel
- doDisconnect() - Method in class io.netty.channel.socket.nio.NioServerSocketChannel
- doDisconnect() - Method in class io.netty.channel.socket.nio.NioSocketChannel
- doDisconnect() - Method in class io.netty.channel.socket.oio.OioDatagramChannel
-
Deprecated.
- doDisconnect() - Method in class io.netty.channel.socket.oio.OioServerSocketChannel
-
Deprecated.
- doDisconnect() - Method in class io.netty.channel.socket.oio.OioSocketChannel
-
Deprecated.
- doFinishConnect() - Method in class io.netty.channel.nio.AbstractNioChannel
-
Finish the connect
- doFinishConnect() - Method in class io.netty.channel.socket.nio.NioDatagramChannel
- doFinishConnect() - Method in class io.netty.channel.socket.nio.NioDomainSocketChannel
- doFinishConnect() - Method in class io.netty.channel.socket.nio.NioServerDomainSocketChannel
- doFinishConnect() - Method in class io.netty.channel.socket.nio.NioServerSocketChannel
- doFinishConnect() - Method in class io.netty.channel.socket.nio.NioSocketChannel
- doRead() - Method in class io.netty.channel.oio.AbstractOioByteChannel
-
Deprecated.
- doRead() - Method in class io.netty.channel.oio.AbstractOioChannel
-
Deprecated.
- doRead() - Method in class io.netty.channel.oio.AbstractOioMessageChannel
-
Deprecated.
- doReadBytes(ByteBuf) - Method in class io.netty.channel.nio.AbstractNioByteChannel
-
Read bytes into the given
ByteBufand return the amount. - doReadBytes(ByteBuf) - Method in class io.netty.channel.oio.AbstractOioByteChannel
-
Deprecated.Read bytes from the underlying Socket.
- doReadBytes(ByteBuf) - Method in class io.netty.channel.oio.OioByteStreamChannel
-
Deprecated.
- doReadBytes(ByteBuf) - Method in class io.netty.channel.socket.nio.NioDomainSocketChannel
- doReadBytes(ByteBuf) - Method in class io.netty.channel.socket.nio.NioSocketChannel
- doReadBytes(ByteBuf) - Method in class io.netty.channel.socket.oio.OioSocketChannel
-
Deprecated.
- doReadMessages(List<Object>) - Method in class io.netty.channel.nio.AbstractNioMessageChannel
-
Read messages into the given array and return the amount which was read.
- doReadMessages(List<Object>) - Method in class io.netty.channel.oio.AbstractOioMessageChannel
-
Deprecated.Read messages into the given array and return the amount which was read.
- doReadMessages(List<Object>) - Method in class io.netty.channel.socket.nio.NioDatagramChannel
- doReadMessages(List<Object>) - Method in class io.netty.channel.socket.nio.NioServerDomainSocketChannel
- doReadMessages(List<Object>) - Method in class io.netty.channel.socket.nio.NioServerSocketChannel
- doReadMessages(List<Object>) - Method in class io.netty.channel.socket.oio.OioDatagramChannel
-
Deprecated.
- doReadMessages(List<Object>) - Method in class io.netty.channel.socket.oio.OioServerSocketChannel
-
Deprecated.
- doRegister() - Method in class io.netty.channel.AbstractChannel
-
Deprecated.
- doRegister() - Method in class io.netty.channel.embedded.EmbeddedChannel
- doRegister(ChannelPromise) - Method in class io.netty.channel.AbstractChannel
- doRegister(ChannelPromise) - Method in class io.netty.channel.local.LocalChannel
- doRegister(ChannelPromise) - Method in class io.netty.channel.local.LocalServerChannel
- doRegister(ChannelPromise) - Method in class io.netty.channel.nio.AbstractNioChannel
- doShutdownOutput() - Method in class io.netty.channel.AbstractChannel
-
Called when conditions justify shutting down the output portion of the channel.
- doShutdownOutput() - Method in class io.netty.channel.socket.nio.NioDomainSocketChannel
- doShutdownOutput() - Method in class io.netty.channel.socket.nio.NioSocketChannel
- doShutdownOutput() - Method in class io.netty.channel.socket.oio.OioSocketChannel
-
Deprecated.
- doWrite(ChannelOutboundBuffer) - Method in class io.netty.channel.AbstractChannel
-
Flush the content of the given buffer to the remote peer.
- doWrite(ChannelOutboundBuffer) - Method in class io.netty.channel.AbstractServerChannel
- doWrite(ChannelOutboundBuffer) - Method in class io.netty.channel.embedded.EmbeddedChannel
- doWrite(ChannelOutboundBuffer) - Method in class io.netty.channel.local.LocalChannel
- doWrite(ChannelOutboundBuffer) - Method in class io.netty.channel.nio.AbstractNioByteChannel
- doWrite(ChannelOutboundBuffer) - Method in class io.netty.channel.nio.AbstractNioMessageChannel
- doWrite(ChannelOutboundBuffer) - Method in class io.netty.channel.oio.AbstractOioByteChannel
-
Deprecated.
- doWrite(ChannelOutboundBuffer) - Method in class io.netty.channel.socket.nio.NioDomainSocketChannel
- doWrite(ChannelOutboundBuffer) - Method in class io.netty.channel.socket.nio.NioSocketChannel
- doWrite(ChannelOutboundBuffer) - Method in class io.netty.channel.socket.oio.OioDatagramChannel
-
Deprecated.
- doWrite(ChannelOutboundBuffer) - Method in class io.netty.channel.socket.oio.OioServerSocketChannel
-
Deprecated.
- doWrite0(ChannelOutboundBuffer) - Method in class io.netty.channel.nio.AbstractNioByteChannel
-
Write objects to the OS.
- doWriteBytes(ByteBuf) - Method in class io.netty.channel.nio.AbstractNioByteChannel
-
Write bytes form the given
ByteBufto the underlyingChannel. - doWriteBytes(ByteBuf) - Method in class io.netty.channel.oio.AbstractOioByteChannel
-
Deprecated.Write the data which is hold by the
ByteBufto the underlying Socket. - doWriteBytes(ByteBuf) - Method in class io.netty.channel.oio.OioByteStreamChannel
-
Deprecated.
- doWriteBytes(ByteBuf) - Method in class io.netty.channel.socket.nio.NioDomainSocketChannel
- doWriteBytes(ByteBuf) - Method in class io.netty.channel.socket.nio.NioSocketChannel
- doWriteFileRegion(FileRegion) - Method in class io.netty.channel.nio.AbstractNioByteChannel
-
Write a
FileRegion - doWriteFileRegion(FileRegion) - Method in class io.netty.channel.oio.AbstractOioByteChannel
-
Deprecated.Write the data which is hold by the
FileRegionto the underlying Socket. - doWriteFileRegion(FileRegion) - Method in class io.netty.channel.oio.OioByteStreamChannel
-
Deprecated.
- doWriteFileRegion(FileRegion) - Method in class io.netty.channel.socket.nio.NioDomainSocketChannel
- doWriteFileRegion(FileRegion) - Method in class io.netty.channel.socket.nio.NioSocketChannel
- doWriteMessage(Object, ChannelOutboundBuffer) - Method in class io.netty.channel.nio.AbstractNioMessageChannel
-
Write a message to the underlying
Channel. - doWriteMessage(Object, ChannelOutboundBuffer) - Method in class io.netty.channel.socket.nio.NioDatagramChannel
- doWriteMessage(Object, ChannelOutboundBuffer) - Method in class io.netty.channel.socket.nio.NioServerDomainSocketChannel
- doWriteMessage(Object, ChannelOutboundBuffer) - Method in class io.netty.channel.socket.nio.NioServerSocketChannel
- DuplexChannel - Interface in io.netty.channel.socket
-
A duplex
Channelthat has two sides that can be shutdown independently. - DuplexChannelConfig - Interface in io.netty.channel.socket
-
A
ChannelConfigfor aDuplexChannel. - duplicate() - Method in class io.netty.channel.socket.DatagramPacket
E
- EmbeddedChannel - Class in io.netty.channel.embedded
-
Base class for
Channelimplementations that are used in an embedded fashion. - EmbeddedChannel() - Constructor for class io.netty.channel.embedded.EmbeddedChannel
-
Create a new instance with an
EmbeddedChannelIdand an empty pipeline. - EmbeddedChannel(boolean, boolean, ChannelHandler...) - Constructor for class io.netty.channel.embedded.EmbeddedChannel
-
Create a new instance with the pipeline initialized with the specified handlers.
- EmbeddedChannel(boolean, ChannelHandler...) - Constructor for class io.netty.channel.embedded.EmbeddedChannel
-
Create a new instance with the pipeline initialized with the specified handlers.
- EmbeddedChannel(ChannelHandler...) - Constructor for class io.netty.channel.embedded.EmbeddedChannel
-
Create a new instance with the pipeline initialized with the specified handlers.
- EmbeddedChannel(ChannelId) - Constructor for class io.netty.channel.embedded.EmbeddedChannel
-
Create a new instance with the specified ID and an empty pipeline.
- EmbeddedChannel(ChannelId, boolean, boolean, ChannelHandler...) - Constructor for class io.netty.channel.embedded.EmbeddedChannel
-
Create a new instance with the channel ID set to the given ID and the pipeline initialized with the specified handlers.
- EmbeddedChannel(ChannelId, boolean, ChannelConfig, ChannelHandler...) - Constructor for class io.netty.channel.embedded.EmbeddedChannel
-
Create a new instance with the channel ID set to the given ID and the pipeline initialized with the specified handlers.
- EmbeddedChannel(ChannelId, boolean, ChannelHandler...) - Constructor for class io.netty.channel.embedded.EmbeddedChannel
-
Create a new instance with the channel ID set to the given ID and the pipeline initialized with the specified handlers.
- EmbeddedChannel(ChannelId, ChannelHandler...) - Constructor for class io.netty.channel.embedded.EmbeddedChannel
-
Create a new instance with the channel ID set to the given ID and the pipeline initialized with the specified handlers.
- EmbeddedChannel(Channel, ChannelId, boolean, boolean, ChannelHandler...) - Constructor for class io.netty.channel.embedded.EmbeddedChannel
-
Create a new instance with the channel ID set to the given ID and the pipeline initialized with the specified handlers.
- EmbeddedChannel(EmbeddedChannel.Builder) - Constructor for class io.netty.channel.embedded.EmbeddedChannel
-
Create a new instance with the configuration from the given builder.
- EmbeddedChannel.Builder - Class in io.netty.channel.embedded
- empty() - Static method in class io.netty.channel.SingleThreadEventLoop.ChannelsReadOnlyIterator
- ensureNotSharable() - Method in class io.netty.channel.ChannelHandlerAdapter
- ensureOpen() - Method in class io.netty.channel.embedded.EmbeddedChannel
-
Ensure the
Channelis open and if not throw an exception. - ensureOpen(ChannelPromise) - Method in class io.netty.channel.AbstractChannel.AbstractUnsafe
- equals(Object) - Method in class io.netty.channel.AbstractChannel
-
Returns
trueif and only if the specified object is identical with this channel (i.e:this == o). - equals(Object) - Method in class io.netty.channel.DefaultChannelId
- equals(Object) - Method in class io.netty.channel.group.DefaultChannelGroup
- equals(Object) - Method in class io.netty.channel.local.LocalAddress
- equals(Object) - Method in class io.netty.channel.nio.NioIoOps
- eventLoop() - Method in class io.netty.channel.AbstractChannel
- eventLoop() - Method in interface io.netty.channel.Channel
- EventLoop - Interface in io.netty.channel
-
Will handle all the I/O operations for a
Channelonce registered. - EventLoopException - Exception in io.netty.channel
-
Special
ChannelExceptionwhich will be thrown byEventLoopandEventLoopGroupimplementations when an error occurs. - EventLoopException() - Constructor for exception io.netty.channel.EventLoopException
- EventLoopException(String) - Constructor for exception io.netty.channel.EventLoopException
- EventLoopException(String, Throwable) - Constructor for exception io.netty.channel.EventLoopException
- EventLoopException(Throwable) - Constructor for exception io.netty.channel.EventLoopException
- EventLoopGroup - Interface in io.netty.channel
-
Special
EventExecutorGroupwhich allows registeringChannels that get processed for later selection during the event loop. - EventLoopTaskQueueFactory - Interface in io.netty.channel
-
Deprecated.Not used anymore by new
IoEventLoopGroupandIoEventLoopimplementations - eventReceived(ChannelHandlerContext, I) - Method in class io.netty.channel.SimpleUserEventChannelHandler
-
Is called for each user event triggered of type
SimpleUserEventChannelHandler. - exceptionCaught(ChannelHandlerContext, Throwable) - Method in interface io.netty.channel.ChannelHandler
-
Deprecated.if you want to handle this event you should implement
ChannelInboundHandlerand implement the method there. - exceptionCaught(ChannelHandlerContext, Throwable) - Method in class io.netty.channel.ChannelHandlerAdapter
-
Deprecated.is part of
ChannelInboundHandler - exceptionCaught(ChannelHandlerContext, Throwable) - Method in interface io.netty.channel.ChannelInboundHandler
-
Gets called if a
Throwablewas thrown. - exceptionCaught(ChannelHandlerContext, Throwable) - Method in class io.netty.channel.ChannelInboundHandlerAdapter
-
Calls
ChannelHandlerContext.fireExceptionCaught(Throwable)to forward to the nextChannelHandlerin theChannelPipeline. - exceptionCaught(ChannelHandlerContext, Throwable) - Method in class io.netty.channel.ChannelInitializer
- exceptionCaught(ChannelHandlerContext, Throwable) - Method in class io.netty.channel.CombinedChannelDuplexHandler
- execute(Runnable) - Method in class io.netty.channel.ManualIoEventLoop
- executeAfterEventLoopIteration(Runnable) - Method in class io.netty.channel.SingleThreadEventLoop
-
Adds a task to be run once at the end of next (or current)
eventloopiteration. - executor() - Method in interface io.netty.channel.ChannelHandlerContext
-
Returns the
EventExecutorwhich is used to execute an arbitrary task. - executor() - Method in class io.netty.channel.DefaultChannelProgressivePromise
- executor() - Method in class io.netty.channel.DefaultChannelPromise
- exists(String) - Static method in class io.netty.channel.ChannelOption
- EXTENSIONS_SYSTEM_PROPERTY - Static variable in class io.netty.bootstrap.ChannelInitializerExtension
-
The name of the system property that control initializer extensions.
- extensionsClassLoader(ClassLoader) - Method in class io.netty.bootstrap.AbstractBootstrap
-
Load
ChannelInitializerExtensions using the given class loader.
F
- FAIL - io.netty.channel.pool.FixedChannelPool.AcquireTimeoutAction
-
Fail the
Futureof the acquire call with aTimeoutException. - FileRegion - Interface in io.netty.channel
-
A region of a file that is sent via a
Channelwhich supports zero-copy file transfer. - filterOutboundMessage(Object) - Method in class io.netty.channel.AbstractChannel
-
Invoked when a new message is added to a
ChannelOutboundBufferof thisAbstractChannel, so that theChannelimplementation converts the message to another. - filterOutboundMessage(Object) - Method in class io.netty.channel.AbstractServerChannel
- filterOutboundMessage(Object) - Method in class io.netty.channel.nio.AbstractNioByteChannel
- filterOutboundMessage(Object) - Method in class io.netty.channel.oio.AbstractOioByteChannel
-
Deprecated.
- filterOutboundMessage(Object) - Method in class io.netty.channel.socket.nio.NioDatagramChannel
- filterOutboundMessage(Object) - Method in class io.netty.channel.socket.nio.NioServerSocketChannel
- filterOutboundMessage(Object) - Method in class io.netty.channel.socket.oio.OioDatagramChannel
-
Deprecated.
- filterOutboundMessage(Object) - Method in class io.netty.channel.socket.oio.OioServerSocketChannel
-
Deprecated.
- find(Channel) - Method in interface io.netty.channel.group.ChannelGroupFuture
-
Returns the
ChannelFutureof the individual I/O operation which is associated with the specifiedChannel. - find(ChannelId) - Method in interface io.netty.channel.group.ChannelGroup
- find(ChannelId) - Method in class io.netty.channel.group.DefaultChannelGroup
- finish() - Method in class io.netty.channel.embedded.EmbeddedChannel
-
Mark this
Channelas finished. - finishAndReleaseAll() - Method in class io.netty.channel.embedded.EmbeddedChannel
-
Mark this
Channelas finished and release all pending message in the inbound and outbound buffer. - finishConnect() - Method in class io.netty.channel.nio.AbstractNioChannel.AbstractNioUnsafe
- finishConnect() - Method in interface io.netty.channel.nio.AbstractNioChannel.NioUnsafe
-
Finish connect
- FIRE_EXCEPTION_ON_FAILURE - Static variable in interface io.netty.channel.ChannelFutureListener
- fireChannelActive() - Method in interface io.netty.channel.ChannelHandlerContext
- fireChannelActive() - Method in interface io.netty.channel.ChannelInboundInvoker
-
A
Channelis active now, which means it is connected. - fireChannelActive() - Method in interface io.netty.channel.ChannelPipeline
- fireChannelActive() - Method in class io.netty.channel.DefaultChannelPipeline
- fireChannelInactive() - Method in interface io.netty.channel.ChannelHandlerContext
- fireChannelInactive() - Method in interface io.netty.channel.ChannelInboundInvoker
-
A
Channelis inactive now, which means it is closed. - fireChannelInactive() - Method in interface io.netty.channel.ChannelPipeline
- fireChannelInactive() - Method in class io.netty.channel.DefaultChannelPipeline
- fireChannelRead(Object) - Method in interface io.netty.channel.ChannelHandlerContext
- fireChannelRead(Object) - Method in interface io.netty.channel.ChannelInboundInvoker
-
A
Channelreceived a message. - fireChannelRead(Object) - Method in interface io.netty.channel.ChannelPipeline
- fireChannelRead(Object) - Method in class io.netty.channel.DefaultChannelPipeline
- fireChannelReadComplete() - Method in interface io.netty.channel.ChannelHandlerContext
- fireChannelReadComplete() - Method in interface io.netty.channel.ChannelInboundInvoker
-
Triggers an
ChannelInboundHandler.channelReadComplete(ChannelHandlerContext)event to the nextChannelInboundHandlerin theChannelPipeline. - fireChannelReadComplete() - Method in interface io.netty.channel.ChannelPipeline
- fireChannelReadComplete() - Method in class io.netty.channel.DefaultChannelPipeline
- fireChannelRegistered() - Method in interface io.netty.channel.ChannelHandlerContext
- fireChannelRegistered() - Method in interface io.netty.channel.ChannelInboundInvoker
- fireChannelRegistered() - Method in interface io.netty.channel.ChannelPipeline
- fireChannelRegistered() - Method in class io.netty.channel.DefaultChannelPipeline
- fireChannelUnregistered() - Method in interface io.netty.channel.ChannelHandlerContext
- fireChannelUnregistered() - Method in interface io.netty.channel.ChannelInboundInvoker
- fireChannelUnregistered() - Method in interface io.netty.channel.ChannelPipeline
- fireChannelUnregistered() - Method in class io.netty.channel.DefaultChannelPipeline
- fireChannelWritabilityChanged() - Method in interface io.netty.channel.ChannelHandlerContext
- fireChannelWritabilityChanged() - Method in interface io.netty.channel.ChannelInboundInvoker
-
Triggers an
ChannelInboundHandler.channelWritabilityChanged(ChannelHandlerContext)event to the nextChannelInboundHandlerin theChannelPipeline. - fireChannelWritabilityChanged() - Method in interface io.netty.channel.ChannelPipeline
- fireChannelWritabilityChanged() - Method in class io.netty.channel.DefaultChannelPipeline
- fireExceptionCaught(Throwable) - Method in interface io.netty.channel.ChannelHandlerContext
- fireExceptionCaught(Throwable) - Method in interface io.netty.channel.ChannelInboundInvoker
- fireExceptionCaught(Throwable) - Method in interface io.netty.channel.ChannelPipeline
- fireExceptionCaught(Throwable) - Method in class io.netty.channel.DefaultChannelPipeline
- fireUserEventTriggered(Object) - Method in interface io.netty.channel.ChannelHandlerContext
- fireUserEventTriggered(Object) - Method in interface io.netty.channel.ChannelInboundInvoker
-
A
Channelreceived an user defined event. - fireUserEventTriggered(Object) - Method in interface io.netty.channel.ChannelPipeline
- fireUserEventTriggered(Object) - Method in class io.netty.channel.DefaultChannelPipeline
- first() - Method in interface io.netty.channel.ChannelPipeline
-
Returns the first
ChannelHandlerin this pipeline. - first() - Method in class io.netty.channel.DefaultChannelPipeline
- firstContext() - Method in interface io.netty.channel.ChannelPipeline
-
Returns the context of the first
ChannelHandlerin this pipeline. - firstContext() - Method in class io.netty.channel.DefaultChannelPipeline
- FixedChannelPool - Class in io.netty.channel.pool
-
ChannelPoolimplementation that takes anotherChannelPoolimplementation and enforce a maximum number of concurrent connections. - FixedChannelPool(Bootstrap, ChannelPoolHandler, int) - Constructor for class io.netty.channel.pool.FixedChannelPool
-
Creates a new instance using the
ChannelHealthChecker.ACTIVE. - FixedChannelPool(Bootstrap, ChannelPoolHandler, int, int) - Constructor for class io.netty.channel.pool.FixedChannelPool
-
Creates a new instance using the
ChannelHealthChecker.ACTIVE. - FixedChannelPool(Bootstrap, ChannelPoolHandler, ChannelHealthChecker, FixedChannelPool.AcquireTimeoutAction, long, int, int) - Constructor for class io.netty.channel.pool.FixedChannelPool
-
Creates a new instance.
- FixedChannelPool(Bootstrap, ChannelPoolHandler, ChannelHealthChecker, FixedChannelPool.AcquireTimeoutAction, long, int, int, boolean) - Constructor for class io.netty.channel.pool.FixedChannelPool
-
Creates a new instance.
- FixedChannelPool(Bootstrap, ChannelPoolHandler, ChannelHealthChecker, FixedChannelPool.AcquireTimeoutAction, long, int, int, boolean, boolean) - Constructor for class io.netty.channel.pool.FixedChannelPool
-
Creates a new instance.
- FixedChannelPool.AcquireTimeoutAction - Enum in io.netty.channel.pool
- FixedRecvByteBufAllocator - Class in io.netty.channel
-
The
RecvByteBufAllocatorthat always yields the same buffer size prediction. - FixedRecvByteBufAllocator(int) - Constructor for class io.netty.channel.FixedRecvByteBufAllocator
-
Creates a new predictor that always returns the same prediction of the specified buffer size.
- flush() - Method in class io.netty.channel.AbstractChannel.AbstractUnsafe
- flush() - Method in interface io.netty.channel.Channel
- flush() - Method in interface io.netty.channel.Channel.Unsafe
-
Flush out all write operations scheduled via
Channel.Unsafe.write(Object, ChannelPromise). - flush() - Method in interface io.netty.channel.ChannelHandlerContext
- flush() - Method in interface io.netty.channel.ChannelOutboundInvoker
-
Request to flush all pending messages via this ChannelOutboundInvoker.
- flush() - Method in interface io.netty.channel.ChannelPipeline
- flush() - Method in class io.netty.channel.DefaultChannelPipeline
- flush() - Method in class io.netty.channel.embedded.EmbeddedChannel
- flush() - Method in interface io.netty.channel.group.ChannelGroup
-
Flush all
Channels in this group. - flush() - Method in class io.netty.channel.group.DefaultChannelGroup
- flush(ChannelHandlerContext) - Method in class io.netty.channel.ChannelDuplexHandler
-
Calls
ChannelHandlerContext.flush()to forward to the nextChannelOutboundHandlerin theChannelPipeline. - flush(ChannelHandlerContext) - Method in interface io.netty.channel.ChannelOutboundHandler
-
Called once a flush operation is made.
- flush(ChannelHandlerContext) - Method in class io.netty.channel.ChannelOutboundHandlerAdapter
-
Calls
ChannelHandlerContext.flush()to forward to the nextChannelOutboundHandlerin theChannelPipeline. - flush(ChannelHandlerContext) - Method in class io.netty.channel.CombinedChannelDuplexHandler
- flush(ChannelMatcher) - Method in interface io.netty.channel.group.ChannelGroup
-
Flush all
Channels in this group that are matched by the givenChannelMatcher. - flush(ChannelMatcher) - Method in class io.netty.channel.group.DefaultChannelGroup
- flush0() - Method in class io.netty.channel.AbstractChannel.AbstractUnsafe
- flush0() - Method in class io.netty.channel.nio.AbstractNioChannel.AbstractNioUnsafe
- flushAndWrite(Object) - Method in interface io.netty.channel.group.ChannelGroup
-
Deprecated.Use
ChannelGroup.writeAndFlush(Object)instead. - flushAndWrite(Object) - Method in class io.netty.channel.group.DefaultChannelGroup
- flushAndWrite(Object, ChannelMatcher) - Method in interface io.netty.channel.group.ChannelGroup
-
Deprecated.Use
ChannelGroup.writeAndFlush(Object, ChannelMatcher)instead. - flushAndWrite(Object, ChannelMatcher) - Method in class io.netty.channel.group.DefaultChannelGroup
- flushCheckpoint() - Method in class io.netty.channel.DefaultChannelProgressivePromise
- flushCheckpoint() - Method in class io.netty.channel.DefaultChannelPromise
- flushCheckpoint(long) - Method in class io.netty.channel.DefaultChannelProgressivePromise
- flushCheckpoint(long) - Method in class io.netty.channel.DefaultChannelPromise
- flushInbound() - Method in class io.netty.channel.embedded.EmbeddedChannel
-
Flushes the inbound of this
Channel. - flushOutbound() - Method in class io.netty.channel.embedded.EmbeddedChannel
-
Flushes the outbound of this
Channel. - forceFlush() - Method in class io.netty.channel.nio.AbstractNioChannel.AbstractNioUnsafe
- forceFlush() - Method in interface io.netty.channel.nio.AbstractNioChannel.NioUnsafe
- forEachFlushedMessage(ChannelOutboundBuffer.MessageProcessor) - Method in class io.netty.channel.ChannelOutboundBuffer
-
Call
ChannelOutboundBuffer.MessageProcessor.processMessage(Object)for each flushed message in thisChannelOutboundBufferuntilChannelOutboundBuffer.MessageProcessor.processMessage(Object)returnsfalseor there are no more flushed messages to process. - freezeTime() - Method in class io.netty.channel.embedded.EmbeddedChannel
-
Freeze the clock of this channel's event loop.
G
- get() - Method in class io.netty.channel.DelegatingChannelPromiseNotifier
- get(long, TimeUnit) - Method in class io.netty.channel.DelegatingChannelPromiseNotifier
- get(Class<T>) - Method in interface io.netty.channel.ChannelPipeline
-
Returns the
ChannelHandlerof the specified type in this pipeline. - get(Class<T>) - Method in class io.netty.channel.DefaultChannelPipeline
- get(String) - Method in interface io.netty.channel.ChannelPipeline
-
Returns the
ChannelHandlerwith the specified name in this pipeline. - get(String) - Method in class io.netty.channel.DefaultChannelPipeline
- get(K) - Method in class io.netty.channel.pool.AbstractChannelPoolMap
- get(K) - Method in interface io.netty.channel.pool.ChannelPoolMap
-
Return the
ChannelPoolfor thecode. - getAllocator() - Method in interface io.netty.channel.ChannelConfig
-
Returns
ByteBufAllocatorwhich is used for the channel to allocate buffers. - getAllocator() - Method in class io.netty.channel.DefaultChannelConfig
- getBacklog() - Method in class io.netty.channel.socket.DefaultServerSocketChannelConfig
- getBacklog() - Method in interface io.netty.channel.socket.ServerSocketChannelConfig
-
Gets the backlog value to specify when the channel binds to a local address.
- getConnectTimeoutMillis() - Method in interface io.netty.channel.ChannelConfig
-
Returns the connect timeout of the channel in milliseconds.
- getConnectTimeoutMillis() - Method in class io.netty.channel.DefaultChannelConfig
- getInterface() - Method in interface io.netty.channel.socket.DatagramChannelConfig
-
Gets the address of the network interface used for multicast packets.
- getInterface() - Method in class io.netty.channel.socket.DefaultDatagramChannelConfig
- getIoRatio() - Method in class io.netty.channel.nio.NioEventLoop
-
Deprecated.Always return 0.
- getMaxMessagesPerRead() - Method in interface io.netty.channel.ChannelConfig
-
Deprecated.Use
MaxMessagesRecvByteBufAllocatorandMaxMessagesRecvByteBufAllocator.maxMessagesPerRead().Returns the maximum number of messages to read per read loop. a
channelRead()event. If this value is greater than 1, an event loop might attempt to read multiple times to procure multiple messages. - getMaxMessagesPerRead() - Method in class io.netty.channel.DefaultChannelConfig
-
Deprecated.
- getMaxMessagesPerWrite() - Method in class io.netty.channel.DefaultChannelConfig
-
Get the maximum number of message to write per eventloop run.
- getMessageSizeEstimator() - Method in interface io.netty.channel.ChannelConfig
-
Returns
MessageSizeEstimatorwhich is used for the channel to detect the size of a message. - getMessageSizeEstimator() - Method in class io.netty.channel.DefaultChannelConfig
- getNetworkInterface() - Method in interface io.netty.channel.socket.DatagramChannelConfig
-
Gets the
StandardSocketOptions.IP_MULTICAST_IFoption. - getNetworkInterface() - Method in class io.netty.channel.socket.DefaultDatagramChannelConfig
- getNow() - Method in class io.netty.channel.DelegatingChannelPromiseNotifier
- getNow() - Method in class io.netty.channel.VoidChannelPromise
- getNumOfRegisteredChannels() - Method in class io.netty.channel.SingleThreadIoEventLoop
- getOption(ChannelOption<T>) - Method in interface io.netty.channel.Channel
-
Return the value of the given
ChannelOption - getOption(ChannelOption<T>) - Method in interface io.netty.channel.ChannelConfig
-
Return the value of the given
ChannelOption - getOption(ChannelOption<T>) - Method in class io.netty.channel.DefaultChannelConfig
- getOption(ChannelOption<T>) - Method in class io.netty.channel.socket.DefaultDatagramChannelConfig
- getOption(ChannelOption<T>) - Method in class io.netty.channel.socket.DefaultServerSocketChannelConfig
- getOption(ChannelOption<T>) - Method in class io.netty.channel.socket.DefaultSocketChannelConfig
- getOption(ChannelOption<T>) - Method in class io.netty.channel.socket.oio.DefaultOioServerSocketChannelConfig
-
Deprecated.
- getOption(ChannelOption<T>) - Method in class io.netty.channel.socket.oio.DefaultOioSocketChannelConfig
-
Deprecated.
- getOptions() - Method in interface io.netty.channel.ChannelConfig
-
Return all set
ChannelOption's. - getOptions() - Method in class io.netty.channel.DefaultChannelConfig
- getOptions() - Method in class io.netty.channel.socket.DefaultDatagramChannelConfig
- getOptions() - Method in class io.netty.channel.socket.DefaultServerSocketChannelConfig
- getOptions() - Method in class io.netty.channel.socket.DefaultSocketChannelConfig
- getOptions() - Method in class io.netty.channel.socket.oio.DefaultOioServerSocketChannelConfig
-
Deprecated.
- getOptions() - Method in class io.netty.channel.socket.oio.DefaultOioSocketChannelConfig
-
Deprecated.
- getOptions(Map<ChannelOption<?>, Object>, ChannelOption<?>...) - Method in class io.netty.channel.DefaultChannelConfig
- getReceiveBufferSize() - Method in interface io.netty.channel.socket.DatagramChannelConfig
-
Gets the
StandardSocketOptions.SO_RCVBUFoption. - getReceiveBufferSize() - Method in class io.netty.channel.socket.DefaultDatagramChannelConfig
- getReceiveBufferSize() - Method in class io.netty.channel.socket.DefaultServerSocketChannelConfig
- getReceiveBufferSize() - Method in class io.netty.channel.socket.DefaultSocketChannelConfig
- getReceiveBufferSize() - Method in interface io.netty.channel.socket.ServerSocketChannelConfig
-
Gets the
StandardSocketOptions.SO_RCVBUFoption. - getReceiveBufferSize() - Method in interface io.netty.channel.socket.SocketChannelConfig
-
Gets the
StandardSocketOptions.SO_RCVBUFoption. - getRecvByteBufAllocator() - Method in interface io.netty.channel.ChannelConfig
-
Returns
RecvByteBufAllocatorwhich is used for the channel to allocate receive buffers. - getRecvByteBufAllocator() - Method in class io.netty.channel.DefaultChannelConfig
- getSendBufferSize() - Method in interface io.netty.channel.socket.DatagramChannelConfig
-
Gets the
StandardSocketOptions.SO_SNDBUFoption. - getSendBufferSize() - Method in class io.netty.channel.socket.DefaultDatagramChannelConfig
- getSendBufferSize() - Method in class io.netty.channel.socket.DefaultSocketChannelConfig
- getSendBufferSize() - Method in interface io.netty.channel.socket.SocketChannelConfig
-
Gets the
StandardSocketOptions.SO_SNDBUFoption. - getSoLinger() - Method in class io.netty.channel.socket.DefaultSocketChannelConfig
- getSoLinger() - Method in interface io.netty.channel.socket.SocketChannelConfig
-
Gets the
StandardSocketOptions.SO_LINGERoption. - getSoTimeout() - Method in class io.netty.channel.socket.oio.DefaultOioServerSocketChannelConfig
-
Deprecated.
- getSoTimeout() - Method in class io.netty.channel.socket.oio.DefaultOioSocketChannelConfig
-
Deprecated.
- getSoTimeout() - Method in interface io.netty.channel.socket.oio.OioDatagramChannelConfig
-
Deprecated.Returns the maximal time a operation on the underlying socket may block.
- getSoTimeout() - Method in interface io.netty.channel.socket.oio.OioServerSocketChannelConfig
-
Deprecated.Returns the maximal time a operation on the underlying socket may block.
- getSoTimeout() - Method in interface io.netty.channel.socket.oio.OioSocketChannelConfig
-
Deprecated.Returns the maximal time a operation on the underlying socket may block.
- getTimeToLive() - Method in interface io.netty.channel.socket.DatagramChannelConfig
-
Gets the
StandardSocketOptions.IP_MULTICAST_TTLoption. - getTimeToLive() - Method in class io.netty.channel.socket.DefaultDatagramChannelConfig
- getTrafficClass() - Method in interface io.netty.channel.socket.DatagramChannelConfig
-
Gets the
StandardSocketOptions.IP_TOSoption. - getTrafficClass() - Method in class io.netty.channel.socket.DefaultDatagramChannelConfig
- getTrafficClass() - Method in class io.netty.channel.socket.DefaultSocketChannelConfig
- getTrafficClass() - Method in interface io.netty.channel.socket.SocketChannelConfig
-
Gets the
StandardSocketOptions.IP_TOSoption. - getUserDefinedWritability(int) - Method in class io.netty.channel.ChannelOutboundBuffer
-
Returns
trueif and only if the user-defined writability flag at the specified index is set totrue. - getWriteBufferHighWaterMark() - Method in interface io.netty.channel.ChannelConfig
-
Returns the high water mark of the write buffer.
- getWriteBufferHighWaterMark() - Method in class io.netty.channel.DefaultChannelConfig
- getWriteBufferLowWaterMark() - Method in interface io.netty.channel.ChannelConfig
-
Returns the low water mark of the write buffer.
- getWriteBufferLowWaterMark() - Method in class io.netty.channel.DefaultChannelConfig
- getWriteBufferWaterMark() - Method in interface io.netty.channel.ChannelConfig
-
Returns the
WriteBufferWaterMarkwhich is used for setting the high and low water mark of the write buffer. - getWriteBufferWaterMark() - Method in class io.netty.channel.DefaultChannelConfig
- getWriteSpinCount() - Method in interface io.netty.channel.ChannelConfig
-
Returns the maximum loop count for a write operation until
WritableByteChannel.write(ByteBuffer)returns a non-zero value. - getWriteSpinCount() - Method in class io.netty.channel.DefaultChannelConfig
- group() - Method in class io.netty.bootstrap.AbstractBootstrap
-
Deprecated.Use
AbstractBootstrap.config()instead. - group() - Method in class io.netty.bootstrap.AbstractBootstrapConfig
-
Returns the configured
EventLoopGroupornullif non is configured yet. - group() - Method in interface io.netty.channel.group.ChannelGroupFuture
-
Returns the
ChannelGroupwhich is associated with this future. - group(EventLoopGroup) - Method in class io.netty.bootstrap.AbstractBootstrap
-
The
EventLoopGroupwhich is used to handle all the events for the to-be-createdChannel - group(EventLoopGroup) - Method in class io.netty.bootstrap.ServerBootstrap
-
Specify the
EventLoopGroupwhich is used for the parent (acceptor) and the child (client). - group(EventLoopGroup, EventLoopGroup) - Method in class io.netty.bootstrap.ServerBootstrap
-
Set the
EventLoopGroupfor the parent (acceptor) and the child (client). - guess() - Method in class io.netty.channel.RecvByteBufAllocator.DelegatingHandle
- guess() - Method in interface io.netty.channel.RecvByteBufAllocator.Handle
-
Deprecated.Similar to
RecvByteBufAllocator.Handle.allocate(ByteBufAllocator)except that it does not allocate anything but just tells the capacity.
H
- handle(IoRegistration, IoEvent) - Method in interface io.netty.channel.IoHandle
-
Be called once there is something to handle.
- handle(IoRegistration, IoEvent) - Method in class io.netty.channel.nio.AbstractNioChannel.AbstractNioUnsafe
- handle(IoRegistration, IoEvent) - Method in class io.netty.channel.nio.NioSelectableChannelIoHandle
- handle(S, SelectionKey) - Method in class io.netty.channel.nio.NioSelectableChannelIoHandle
- handleInboundMessage(Object) - Method in class io.netty.channel.embedded.EmbeddedChannel
-
Called for each inbound message.
- handleOutboundMessage(Object) - Method in class io.netty.channel.embedded.EmbeddedChannel
-
Called for each outbound message.
- handler() - Method in class io.netty.bootstrap.AbstractBootstrapConfig
-
Returns the configured
ChannelHandlerornullif non is configured yet. - handler() - Method in interface io.netty.channel.ChannelHandlerContext
-
The
ChannelHandlerthat is bound thisChannelHandlerContext. - handler() - Method in class io.netty.channel.pool.SimpleChannelPool
-
Returns the
ChannelPoolHandlerthat will be notified for the different pool actions. - handler(ChannelHandler) - Method in class io.netty.bootstrap.AbstractBootstrap
-
the
ChannelHandlerto use for serving the requests. - handlerAdded(ChannelHandlerContext) - Method in interface io.netty.channel.ChannelHandler
-
Gets called after the
ChannelHandlerwas added to the actual context and it's ready to handle events. - handlerAdded(ChannelHandlerContext) - Method in class io.netty.channel.ChannelHandlerAdapter
-
Do nothing by default, sub-classes may override this method.
- handlerAdded(ChannelHandlerContext) - Method in class io.netty.channel.ChannelInitializer
-
Do nothing by default, sub-classes may override this method.
- handlerAdded(ChannelHandlerContext) - Method in class io.netty.channel.CombinedChannelDuplexHandler
- handlerRemoved(ChannelHandlerContext) - Method in interface io.netty.channel.ChannelHandler
-
Gets called after the
ChannelHandlerwas removed from the actual context and it doesn't handle events anymore. - handlerRemoved(ChannelHandlerContext) - Method in class io.netty.channel.ChannelHandlerAdapter
-
Do nothing by default, sub-classes may override this method.
- handlerRemoved(ChannelHandlerContext) - Method in class io.netty.channel.ChannelInitializer
- handlerRemoved(ChannelHandlerContext) - Method in class io.netty.channel.CombinedChannelDuplexHandler
- handlers(ChannelHandler) - Method in class io.netty.channel.embedded.EmbeddedChannel.Builder
-
The
ChannelHandlerwhich will be added to theChannelPipeline. - handlers(ChannelHandler...) - Method in class io.netty.channel.embedded.EmbeddedChannel.Builder
-
The
ChannelHandlers which will be added to theChannelPipeline. - handleWriteError(Throwable) - Method in class io.netty.channel.AbstractChannel.AbstractUnsafe
- hasAttr(AttributeKey<T>) - Method in interface io.netty.channel.ChannelHandlerContext
-
Deprecated.Use
AttributeMap.hasAttr(AttributeKey) - hasDisconnect() - Method in class io.netty.channel.ChannelMetadata
-
Returns
trueif and only if the channel has thedisconnect()operation that allows a user to disconnect and then callChannel.connect(SocketAddress)again, such as UDP/IP. - hasDisconnect(boolean) - Method in class io.netty.channel.embedded.EmbeddedChannel.Builder
-
falseif thisChannelwill delegateEmbeddedChannel.disconnect()toEmbeddedChannel.close(),trueotherwise. - hashCode() - Method in class io.netty.channel.AbstractChannel
-
Returns the ID of this channel.
- hashCode() - Method in class io.netty.channel.DefaultChannelId
- hashCode() - Method in class io.netty.channel.group.DefaultChannelGroup
- hashCode() - Method in class io.netty.channel.local.LocalAddress
- hashCode() - Method in class io.netty.channel.nio.NioIoOps
- hasNext() - Method in class io.netty.channel.SingleThreadEventLoop.ChannelsReadOnlyIterator
- hasPendingTasks() - Method in class io.netty.channel.embedded.EmbeddedChannel
-
Check whether this channel has any pending tasks that would be executed by a call to
EmbeddedChannel.runPendingTasks(). - hasTasks() - Method in class io.netty.channel.SingleThreadEventLoop
- healthChecker() - Method in class io.netty.channel.pool.SimpleChannelPool
-
Returns the
ChannelHealthCheckerthat will be used to check if aChannelis healthy. - heapBuffer() - Method in class io.netty.channel.PreferHeapByteBufAllocator
- heapBuffer(int) - Method in class io.netty.channel.PreferHeapByteBufAllocator
- heapBuffer(int, int) - Method in class io.netty.channel.PreferHeapByteBufAllocator
- high() - Method in class io.netty.channel.WriteBufferWaterMark
-
Returns the high water mark for the write buffer.
I
- id() - Method in class io.netty.channel.AbstractChannel
- id() - Method in interface io.netty.channel.Channel
-
Returns the globally unique identifier of this
Channel. - id() - Method in class io.netty.channel.local.LocalAddress
-
Returns the ID of this address.
- inboundHandler() - Method in class io.netty.channel.CombinedChannelDuplexHandler
- inboundMessages() - Method in class io.netty.channel.embedded.EmbeddedChannel
- incMessagesRead(int) - Method in class io.netty.channel.DefaultMaxMessagesRecvByteBufAllocator.MaxMessageHandle
- incMessagesRead(int) - Method in class io.netty.channel.RecvByteBufAllocator.DelegatingHandle
- incMessagesRead(int) - Method in interface io.netty.channel.RecvByteBufAllocator.Handle
-
Deprecated.Increment the number of messages that have been read for the current read loop.
- incompleteWrite(boolean) - Method in class io.netty.channel.nio.AbstractNioByteChannel
- increaseWriteCounter(long) - Method in class io.netty.channel.ChannelFlushPromiseNotifier
-
Increase the current write counter by the given delta
- incrementPendingOutboundBytes(long) - Method in class io.netty.channel.DefaultChannelPipeline
- INET - io.netty.channel.socket.SocketProtocolFamily
-
IPv4
- INET6 - io.netty.channel.socket.SocketProtocolFamily
-
IPv6
- inEventLoop(Thread) - Method in class io.netty.channel.ManualIoEventLoop
- init(I, O) - Method in class io.netty.channel.CombinedChannelDuplexHandler
-
Initialized this handler with the specified handlers.
- initChannel(C) - Method in class io.netty.channel.ChannelInitializer
-
This method will be called once the
Channelwas registered. - initialize() - Method in interface io.netty.channel.IoHandler
-
Initialize this
IoHandler. - INSTANCE - Static variable in class io.netty.channel.DefaultSelectStrategyFactory
- INSTANCE - Static variable in class io.netty.channel.socket.ChannelInputShutdownEvent
-
Instance to use
- INSTANCE - Static variable in class io.netty.channel.socket.ChannelInputShutdownReadComplete
- INSTANCE - Static variable in class io.netty.channel.socket.ChannelOutputShutdownEvent
- InternetProtocolFamily - Enum in io.netty.channel.socket
-
Deprecated.use
SocketProtocolFamily. - invalidateLocalAddress() - Method in class io.netty.channel.AbstractChannel
-
Deprecated.no use-case for this.
- invalidateRemoteAddress() - Method in class io.netty.channel.AbstractChannel
-
Deprecated.no use-case for this.
- invert(ChannelMatcher) - Static method in class io.netty.channel.group.ChannelMatchers
-
Invert the given
ChannelMatcher. - invokeAll(Collection<? extends Callable<T>>) - Method in class io.netty.channel.ManualIoEventLoop
- invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class io.netty.channel.ManualIoEventLoop
- invokeAny(Collection<? extends Callable<T>>) - Method in class io.netty.channel.ManualIoEventLoop
- invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class io.netty.channel.ManualIoEventLoop
- io.netty.bootstrap - package io.netty.bootstrap
-
The helper classes with fluent API which enable an easy implementation of typical client side and server side channel initialization.
- io.netty.channel - package 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.embedded - package io.netty.channel.embedded
-
A virtual
Channelthat helps wrapping a series of handlers to unit test the handlers or use them in non-I/O context. - io.netty.channel.group - package io.netty.channel.group
-
A channel registry which helps a user maintain the list of open
Channels and perform bulk operations on them. - io.netty.channel.internal - package io.netty.channel.internal
-
Internal utilities for channel implementations.
- io.netty.channel.local - package io.netty.channel.local
-
A virtual transport that enables the communication between the two parties in the same virtual machine.
- io.netty.channel.nio - package io.netty.channel.nio
-
NIO-based channel API implementation - recommended for a large number of connections (>= 1000).
- io.netty.channel.oio - package io.netty.channel.oio
-
Old blocking I/O based channel API implementation - recommended for a small number of connections (< 1000).
- io.netty.channel.pool - package io.netty.channel.pool
-
Implementations and API for
Channelpools. - io.netty.channel.socket - package io.netty.channel.socket
-
Abstract TCP and UDP socket interfaces which extend the core channel API.
- io.netty.channel.socket.nio - package io.netty.channel.socket.nio
-
NIO-based socket channel API implementation - recommended for a large number of connections (>= 1000).
- io.netty.channel.socket.oio - package io.netty.channel.socket.oio
-
Old blocking I/O based socket channel API implementation - recommended for a small number of connections (< 1000).
- ioBuffer() - Method in class io.netty.channel.PreferHeapByteBufAllocator
- ioBuffer(int) - Method in class io.netty.channel.PreferHeapByteBufAllocator
- ioBuffer(int, int) - Method in class io.netty.channel.PreferHeapByteBufAllocator
- IoEvent - Interface in io.netty.channel
- IoEventLoop - Interface in io.netty.channel
- IoEventLoopGroup - Interface in io.netty.channel
-
EventLoopGroupforIoEventLoops. - IoHandle - Interface in io.netty.channel
-
A handle that can be registered to an
IoHandler. - ioHandler() - Method in class io.netty.channel.SingleThreadIoEventLoop
- IoHandler - Interface in io.netty.channel
-
Handles IO dispatching for an
ThreadAwareExecutor. - IoHandlerContext - Interface in io.netty.channel
-
The context for an
IoHandlerthat is run by anThreadAwareExecutor. - IoHandlerFactory - Interface in io.netty.channel
-
Factory for
IoHandlerinstances. - IoOps - Interface in io.netty.channel
-
An IO op that can be submitted to an
IoRegistrationviaIoRegistration.submit(IoOps). // * These submittedIoOpswill result inIoEvents on the relatedIoHandle. - IoRegistration - Interface in io.netty.channel
-
A registration for IO.
- IP_MULTICAST_ADDR - Static variable in class io.netty.channel.ChannelOption
- IP_MULTICAST_IF - Static variable in class io.netty.channel.ChannelOption
- IP_MULTICAST_LOOP_DISABLED - Static variable in class io.netty.channel.ChannelOption
- IP_MULTICAST_TTL - Static variable in class io.netty.channel.ChannelOption
- IP_TOS - Static variable in class io.netty.channel.ChannelOption
- IPv4 - io.netty.channel.socket.InternetProtocolFamily
-
Deprecated.
- IPv6 - io.netty.channel.socket.InternetProtocolFamily
-
Deprecated.
- is(Channel) - Static method in class io.netty.channel.group.ChannelMatchers
-
Returns a
ChannelMatcherthat matches the givenChannel. - isActive() - Method in interface io.netty.channel.Channel
-
Return
trueif theChannelis active and so connected. - isActive() - Method in class io.netty.channel.embedded.EmbeddedChannel
- isActive() - Method in class io.netty.channel.local.LocalChannel
- isActive() - Method in class io.netty.channel.local.LocalServerChannel
- isActive() - Method in class io.netty.channel.oio.OioByteStreamChannel
-
Deprecated.
- isActive() - Method in class io.netty.channel.socket.nio.NioDatagramChannel
- isActive() - Method in class io.netty.channel.socket.nio.NioDomainSocketChannel
- isActive() - Method in class io.netty.channel.socket.nio.NioServerDomainSocketChannel
- isActive() - Method in class io.netty.channel.socket.nio.NioServerSocketChannel
- isActive() - Method in class io.netty.channel.socket.nio.NioSocketChannel
- isActive() - Method in class io.netty.channel.socket.oio.OioDatagramChannel
-
Deprecated.
- isActive() - Method in class io.netty.channel.socket.oio.OioServerSocketChannel
-
Deprecated.
- isActive() - Method in class io.netty.channel.socket.oio.OioSocketChannel
-
Deprecated.
- isAllowHalfClosure() - Method in class io.netty.channel.socket.DefaultSocketChannelConfig
- isAllowHalfClosure() - Method in interface io.netty.channel.socket.DuplexChannelConfig
-
Returns
trueif and only if the channel should not close itself when its remote peer shuts down output to make the connection half-closed. - isAutoClose() - Method in interface io.netty.channel.ChannelConfig
-
Returns
trueif and only if theChannelwill be closed automatically and immediately on write failure. - isAutoClose() - Method in class io.netty.channel.DefaultChannelConfig
- isAutoRead() - Method in interface io.netty.channel.ChannelConfig
-
Returns
trueif and only ifChannelHandlerContext.read()will be invoked automatically so that a user application doesn't need to call it at all. - isAutoRead() - Method in class io.netty.channel.DefaultChannelConfig
- isBroadcast() - Method in interface io.netty.channel.socket.DatagramChannelConfig
-
Gets the
StandardSocketOptions.SO_BROADCASToption. - isBroadcast() - Method in class io.netty.channel.socket.DefaultDatagramChannelConfig
- isCancellable() - Method in class io.netty.channel.DelegatingChannelPromiseNotifier
- isCancellable() - Method in class io.netty.channel.VoidChannelPromise
- isCancelled() - Method in class io.netty.channel.DelegatingChannelPromiseNotifier
- isCancelled() - Method in class io.netty.channel.VoidChannelPromise
- isChangingThreadSupported() - Method in interface io.netty.channel.IoHandlerFactory
-
Returns
trueif it's supported that theThreadAwareExecutormight change itsThreadduring the life-time of theIoHandlerthat can be created viaIoHandlerFactory.newHandler(ThreadAwareExecutor). - isCompatible(EventLoop) - Method in class io.netty.channel.AbstractChannel
-
Return
trueif the givenEventLoopis compatible with this instance. - isCompatible(EventLoop) - Method in class io.netty.channel.embedded.EmbeddedChannel
- isCompatible(EventLoop) - Method in class io.netty.channel.local.LocalChannel
- isCompatible(EventLoop) - Method in class io.netty.channel.local.LocalServerChannel
- isCompatible(EventLoop) - Method in class io.netty.channel.nio.AbstractNioChannel
- isCompatible(EventLoop) - Method in class io.netty.channel.oio.AbstractOioChannel
-
Deprecated.
- isCompatible(Class<? extends IoHandle>) - Method in interface io.netty.channel.IoEventLoop
- isCompatible(Class<? extends IoHandle>) - Method in interface io.netty.channel.IoEventLoopGroup
-
Returns
trueif the given type is compatible with thisIoEventLoopGroupand so can be registered to the containedIoEventLoops,falseotherwise. - isCompatible(Class<? extends IoHandle>) - Method in interface io.netty.channel.IoHandler
-
Returns
trueif the given type is compatible with thisIoHandlerand so can be registered,falseotherwise. - isCompatible(Class<? extends IoHandle>) - Method in class io.netty.channel.local.LocalIoHandler
- isCompatible(Class<? extends IoHandle>) - Method in class io.netty.channel.ManualIoEventLoop
- isCompatible(Class<? extends IoHandle>) - Method in class io.netty.channel.nio.NioIoHandler
- isCompatible(Class<? extends IoHandle>) - Method in class io.netty.channel.SingleThreadIoEventLoop
- isConnected() - Method in interface io.netty.channel.socket.DatagramChannel
-
Return
trueif theDatagramChannelis connected to the remote peer. - isConnected() - Method in class io.netty.channel.socket.nio.NioDatagramChannel
- isConnected() - Method in class io.netty.channel.socket.oio.OioDatagramChannel
-
Deprecated.
- isDirectBufferPooled() - Method in class io.netty.channel.PreferHeapByteBufAllocator
- isDone() - Method in class io.netty.channel.DelegatingChannelPromiseNotifier
- isDone() - Method in class io.netty.channel.VoidChannelPromise
- isEmpty() - Method in class io.netty.channel.AbstractCoalescingBufferQueue
-
Are there pending buffers in the queue.
- isEmpty() - Method in class io.netty.channel.ChannelOutboundBuffer
- isEmpty() - Method in class io.netty.channel.group.DefaultChannelGroup
- isEmpty() - Method in class io.netty.channel.PendingWriteQueue
-
Returns
trueif there are no pending write operations left in this queue. - isEmpty() - Method in class io.netty.channel.pool.AbstractChannelPoolMap
- isHealthy(Channel) - Method in interface io.netty.channel.pool.ChannelHealthChecker
-
Check if the given channel is healthy which means it can be used.
- isIncludedIn(int) - Method in class io.netty.channel.nio.NioIoOps
- isInputShutdown() - Method in class io.netty.channel.oio.AbstractOioByteChannel
-
Deprecated.Determine if the input side of this channel is shutdown.
- isInputShutdown() - Method in interface io.netty.channel.socket.DuplexChannel
-
Returns
trueif and only if the remote peer shut down its output so that no more data is received from this channel. - isInputShutdown() - Method in class io.netty.channel.socket.nio.NioDomainSocketChannel
- isInputShutdown() - Method in class io.netty.channel.socket.nio.NioSocketChannel
- isInputShutdown() - Method in class io.netty.channel.socket.oio.OioSocketChannel
-
Deprecated.
- isInputShutdown0() - Method in class io.netty.channel.nio.AbstractNioByteChannel
- isInputShutdown0() - Method in class io.netty.channel.socket.nio.NioDomainSocketChannel
- isInputShutdown0() - Method in class io.netty.channel.socket.nio.NioSocketChannel
- isInstanceOf(Class<? extends Channel>) - Static method in class io.netty.channel.group.ChannelMatchers
-
Returns a
ChannelMatcherthat matches allChannels that are an instance of sub-type of the given class. - isIoType(Class<? extends IoHandler>) - Method in interface io.netty.channel.IoEventLoop
- isIoType(Class<? extends IoHandler>) - Method in interface io.netty.channel.IoEventLoopGroup
- isIoType(Class<? extends IoHandler>) - Method in class io.netty.channel.ManualIoEventLoop
- isIoType(Class<? extends IoHandler>) - Method in class io.netty.channel.SingleThreadIoEventLoop
- isKeepAlive() - Method in class io.netty.channel.socket.DefaultSocketChannelConfig
- isKeepAlive() - Method in interface io.netty.channel.socket.SocketChannelConfig
-
Gets the
StandardSocketOptions.SO_KEEPALIVEoption. - isLoopbackModeDisabled() - Method in interface io.netty.channel.socket.DatagramChannelConfig
-
Gets the
StandardSocketOptions.IP_MULTICAST_LOOPoption. - isLoopbackModeDisabled() - Method in class io.netty.channel.socket.DefaultDatagramChannelConfig
- isNonServerChannel() - Static method in class io.netty.channel.group.ChannelMatchers
- isNot(Channel) - Static method in class io.netty.channel.group.ChannelMatchers
-
Returns a
ChannelMatcherthat matches allChannels except the given. - isNotIncludedIn(int) - Method in class io.netty.channel.nio.NioIoOps
- isNotInstanceOf(Class<? extends Channel>) - Static method in class io.netty.channel.group.ChannelMatchers
-
Returns a
ChannelMatcherthat matches allChannels that are not an instance of sub-type of the given class. - isOpen() - Method in interface io.netty.channel.Channel
-
Returns
trueif theChannelis open and may get active later - isOpen() - Method in class io.netty.channel.DefaultFileRegion
-
Returns
trueif theFileRegionhas a open file-descriptor - isOpen() - Method in class io.netty.channel.embedded.EmbeddedChannel
- isOpen() - Method in class io.netty.channel.local.LocalChannel
- isOpen() - Method in class io.netty.channel.local.LocalServerChannel
- isOpen() - Method in class io.netty.channel.nio.AbstractNioChannel
- isOpen() - Method in class io.netty.channel.socket.oio.OioDatagramChannel
-
Deprecated.
- isOpen() - Method in class io.netty.channel.socket.oio.OioServerSocketChannel
-
Deprecated.
- isOpen() - Method in class io.netty.channel.socket.oio.OioSocketChannel
-
Deprecated.
- isOutputShutdown() - Method in interface io.netty.channel.socket.DuplexChannel
- isOutputShutdown() - Method in class io.netty.channel.socket.nio.NioDomainSocketChannel
- isOutputShutdown() - Method in class io.netty.channel.socket.nio.NioSocketChannel
- isOutputShutdown() - Method in class io.netty.channel.socket.oio.OioSocketChannel
-
Deprecated.
- isPartialFailure() - Method in interface io.netty.channel.group.ChannelGroupFuture
-
Returns
trueif and only if the I/O operations associated with this future have failed partially with some success. - isPartialSuccess() - Method in interface io.netty.channel.group.ChannelGroupFuture
-
Returns
trueif and only if the I/O operations associated with this future were partially successful with some failure. - isReadPending() - Method in class io.netty.channel.nio.AbstractNioChannel
-
Deprecated.No longer supported. No longer supported.
- isReadPending() - Method in class io.netty.channel.oio.AbstractOioChannel
-
Deprecated.No longer supported. No longer supported.
- isRegistered() - Method in class io.netty.channel.AbstractChannel
- isRegistered() - Method in interface io.netty.channel.Channel
- isRemoved() - Method in interface io.netty.channel.ChannelHandlerContext
-
Return
trueif theChannelHandlerwhich belongs to this context was removed from theChannelPipeline. - isReuseAddress() - Method in interface io.netty.channel.socket.DatagramChannelConfig
-
Gets the
StandardSocketOptions.SO_REUSEADDRoption. - isReuseAddress() - Method in class io.netty.channel.socket.DefaultDatagramChannelConfig
- isReuseAddress() - Method in class io.netty.channel.socket.DefaultServerSocketChannelConfig
- isReuseAddress() - Method in class io.netty.channel.socket.DefaultSocketChannelConfig
- isReuseAddress() - Method in interface io.netty.channel.socket.ServerSocketChannelConfig
-
Gets the
StandardSocketOptions.SO_REUSEADDRoption. - isReuseAddress() - Method in interface io.netty.channel.socket.SocketChannelConfig
-
Gets the
StandardSocketOptions.SO_REUSEADDRoption. - isServerChannel() - Static method in class io.netty.channel.group.ChannelMatchers
- isSharable() - Method in class io.netty.channel.ChannelHandlerAdapter
-
Return
trueif the implementation isChannelHandler.Sharableand so can be added to differentChannelPipelines. - isShutdown() - Method in class io.netty.channel.ManualIoEventLoop
- isShutdown() - Method in interface io.netty.channel.socket.DuplexChannel
-
Determine if both the input and output of this channel have been shutdown.
- isShutdown() - Method in class io.netty.channel.socket.nio.NioDomainSocketChannel
- isShutdown() - Method in class io.netty.channel.socket.nio.NioSocketChannel
- isShutdown() - Method in class io.netty.channel.socket.oio.OioSocketChannel
-
Deprecated.
- isShutdown() - Method in class io.netty.channel.ThreadPerChannelEventLoopGroup
-
Deprecated.
- isShuttingDown() - Method in class io.netty.channel.ManualIoEventLoop
- isShuttingDown() - Method in class io.netty.channel.ThreadPerChannelEventLoopGroup
-
Deprecated.
- isSuccess() - Method in class io.netty.channel.DelegatingChannelPromiseNotifier
- isSuccess() - Method in interface io.netty.channel.group.ChannelGroupFuture
-
Returns
trueif and only if all I/O operations associated with this future were successful without any failure. - isSuccess() - Method in class io.netty.channel.VoidChannelPromise
- isTcpNoDelay() - Method in class io.netty.channel.socket.DefaultSocketChannelConfig
- isTcpNoDelay() - Method in interface io.netty.channel.socket.SocketChannelConfig
-
Gets the
StandardSocketOptions.TCP_NODELAYoption. - isTerminated() - Method in class io.netty.channel.ManualIoEventLoop
- isTerminated() - Method in class io.netty.channel.ThreadPerChannelEventLoopGroup
-
Deprecated.
- isValid() - Method in interface io.netty.channel.IoRegistration
-
Returns
trueif the registration is still valid. - isVoid() - Method in interface io.netty.channel.ChannelFuture
-
Returns
trueif thisChannelFutureis a void future and so not allow to call any of the following methods:ChannelFuture.addListener(GenericFutureListener)ChannelFuture.addListeners(GenericFutureListener[])ChannelFuture.await()Future.await(long, TimeUnit)()}Future.await(long)()}ChannelFuture.awaitUninterruptibly()ChannelFuture.sync()ChannelFuture.syncUninterruptibly() - isVoid() - Method in class io.netty.channel.DefaultChannelProgressivePromise
- isVoid() - Method in class io.netty.channel.DefaultChannelPromise
- isVoid() - Method in class io.netty.channel.DelegatingChannelPromiseNotifier
- isVoid() - Method in class io.netty.channel.VoidChannelPromise
- isWritable() - Method in interface io.netty.channel.Channel
-
Returns
trueif and only if the I/O thread will perform the requested write operation immediately. - isWritable() - Method in class io.netty.channel.ChannelOutboundBuffer
-
Returns
trueif and only if the total number of pending bytes did not exceed the write watermark of theChanneland no user-defined writability flag has been set tofalse. - iterator() - Method in class io.netty.channel.DefaultChannelPipeline
- iterator() - Method in exception io.netty.channel.group.ChannelGroupException
- iterator() - Method in interface io.netty.channel.group.ChannelGroupFuture
-
Returns the
Iteratorthat enumerates allChannelFutures which are associated with this future. - iterator() - Method in class io.netty.channel.group.DefaultChannelGroup
- iterator() - Method in class io.netty.channel.pool.AbstractChannelPoolMap
- iterator() - Method in class io.netty.channel.ThreadPerChannelEventLoopGroup
-
Deprecated.
J
- javaChannel() - Method in class io.netty.channel.nio.AbstractNioChannel
- javaChannel() - Method in class io.netty.channel.socket.nio.NioDatagramChannel
- javaChannel() - Method in class io.netty.channel.socket.nio.NioDomainSocketChannel
- javaChannel() - Method in class io.netty.channel.socket.nio.NioServerDomainSocketChannel
- javaChannel() - Method in class io.netty.channel.socket.nio.NioServerSocketChannel
- javaChannel() - Method in class io.netty.channel.socket.nio.NioSocketChannel
- javaSocket - Variable in class io.netty.channel.socket.DefaultServerSocketChannelConfig
- javaSocket - Variable in class io.netty.channel.socket.DefaultSocketChannelConfig
- javaSocket() - Method in class io.netty.channel.socket.DefaultDatagramChannelConfig
- joinGroup(InetAddress) - Method in interface io.netty.channel.socket.DatagramChannel
-
Joins a multicast group and notifies the
ChannelFutureonce the operation completes. - joinGroup(InetAddress) - Method in class io.netty.channel.socket.nio.NioDatagramChannel
- joinGroup(InetAddress) - Method in class io.netty.channel.socket.oio.OioDatagramChannel
-
Deprecated.
- joinGroup(InetAddress, ChannelPromise) - Method in interface io.netty.channel.socket.DatagramChannel
-
Joins a multicast group and notifies the
ChannelFutureonce the operation completes. - joinGroup(InetAddress, ChannelPromise) - Method in class io.netty.channel.socket.nio.NioDatagramChannel
- joinGroup(InetAddress, ChannelPromise) - Method in class io.netty.channel.socket.oio.OioDatagramChannel
-
Deprecated.
- joinGroup(InetAddress, NetworkInterface, InetAddress) - Method in interface io.netty.channel.socket.DatagramChannel
-
Joins the specified multicast group at the specified interface and notifies the
ChannelFutureonce the operation completes. - joinGroup(InetAddress, NetworkInterface, InetAddress) - Method in class io.netty.channel.socket.nio.NioDatagramChannel
- joinGroup(InetAddress, NetworkInterface, InetAddress) - Method in class io.netty.channel.socket.oio.OioDatagramChannel
-
Deprecated.
- joinGroup(InetAddress, NetworkInterface, InetAddress, ChannelPromise) - Method in interface io.netty.channel.socket.DatagramChannel
-
Joins the specified multicast group at the specified interface and notifies the
ChannelFutureonce the operation completes. - joinGroup(InetAddress, NetworkInterface, InetAddress, ChannelPromise) - Method in class io.netty.channel.socket.nio.NioDatagramChannel
- joinGroup(InetAddress, NetworkInterface, InetAddress, ChannelPromise) - Method in class io.netty.channel.socket.oio.OioDatagramChannel
-
Deprecated.
- joinGroup(InetSocketAddress, NetworkInterface) - Method in interface io.netty.channel.socket.DatagramChannel
-
Joins the specified multicast group at the specified interface and notifies the
ChannelFutureonce the operation completes. - joinGroup(InetSocketAddress, NetworkInterface) - Method in class io.netty.channel.socket.nio.NioDatagramChannel
- joinGroup(InetSocketAddress, NetworkInterface) - Method in class io.netty.channel.socket.oio.OioDatagramChannel
-
Deprecated.
- joinGroup(InetSocketAddress, NetworkInterface, ChannelPromise) - Method in interface io.netty.channel.socket.DatagramChannel
-
Joins the specified multicast group at the specified interface and notifies the
ChannelFutureonce the operation completes. - joinGroup(InetSocketAddress, NetworkInterface, ChannelPromise) - Method in class io.netty.channel.socket.nio.NioDatagramChannel
- joinGroup(InetSocketAddress, NetworkInterface, ChannelPromise) - Method in class io.netty.channel.socket.oio.OioDatagramChannel
-
Deprecated.
L
- last() - Method in interface io.netty.channel.ChannelPipeline
-
Returns the last
ChannelHandlerin this pipeline. - last() - Method in class io.netty.channel.DefaultChannelPipeline
- lastBytesRead() - Method in class io.netty.channel.DefaultMaxMessagesRecvByteBufAllocator.MaxMessageHandle
- lastBytesRead() - Method in class io.netty.channel.RecvByteBufAllocator.DelegatingHandle
- lastBytesRead() - Method in interface io.netty.channel.RecvByteBufAllocator.Handle
-
Deprecated.Get the amount of bytes for the previous read operation.
- lastBytesRead(int) - Method in class io.netty.channel.DefaultMaxMessagesRecvByteBufAllocator.MaxMessageHandle
- lastBytesRead(int) - Method in class io.netty.channel.RecvByteBufAllocator.DelegatingHandle
- lastBytesRead(int) - Method in interface io.netty.channel.RecvByteBufAllocator.Handle
-
Deprecated.Set the bytes that have been read for the last read operation.
- lastContext() - Method in interface io.netty.channel.ChannelPipeline
-
Returns the context of the last
ChannelHandlerin this pipeline. - lastContext() - Method in class io.netty.channel.DefaultChannelPipeline
- lastInboundBuffer() - Method in class io.netty.channel.embedded.EmbeddedChannel
-
Deprecated.
- lastOutboundBuffer() - Method in class io.netty.channel.embedded.EmbeddedChannel
-
Deprecated.
- leaveGroup(InetAddress) - Method in interface io.netty.channel.socket.DatagramChannel
-
Leaves a multicast group and notifies the
ChannelFutureonce the operation completes. - leaveGroup(InetAddress) - Method in class io.netty.channel.socket.nio.NioDatagramChannel
- leaveGroup(InetAddress) - Method in class io.netty.channel.socket.oio.OioDatagramChannel
-
Deprecated.
- leaveGroup(InetAddress, ChannelPromise) - Method in interface io.netty.channel.socket.DatagramChannel
-
Leaves a multicast group and notifies the
ChannelFutureonce the operation completes. - leaveGroup(InetAddress, ChannelPromise) - Method in class io.netty.channel.socket.nio.NioDatagramChannel
- leaveGroup(InetAddress, ChannelPromise) - Method in class io.netty.channel.socket.oio.OioDatagramChannel
-
Deprecated.
- leaveGroup(InetAddress, NetworkInterface, InetAddress) - Method in interface io.netty.channel.socket.DatagramChannel
-
Leave the specified multicast group at the specified interface using the specified source and notifies the
ChannelFutureonce the operation completes. - leaveGroup(InetAddress, NetworkInterface, InetAddress) - Method in class io.netty.channel.socket.nio.NioDatagramChannel
- leaveGroup(InetAddress, NetworkInterface, InetAddress) - Method in class io.netty.channel.socket.oio.OioDatagramChannel
-
Deprecated.
- leaveGroup(InetAddress, NetworkInterface, InetAddress, ChannelPromise) - Method in interface io.netty.channel.socket.DatagramChannel
-
Leave the specified multicast group at the specified interface using the specified source and notifies the
ChannelFutureonce the operation completes. - leaveGroup(InetAddress, NetworkInterface, InetAddress, ChannelPromise) - Method in class io.netty.channel.socket.nio.NioDatagramChannel
- leaveGroup(InetAddress, NetworkInterface, InetAddress, ChannelPromise) - Method in class io.netty.channel.socket.oio.OioDatagramChannel
-
Deprecated.
- leaveGroup(InetSocketAddress, NetworkInterface) - Method in interface io.netty.channel.socket.DatagramChannel
-
Leaves a multicast group on a specified local interface and notifies the
ChannelFutureonce the operation completes. - leaveGroup(InetSocketAddress, NetworkInterface) - Method in class io.netty.channel.socket.nio.NioDatagramChannel
- leaveGroup(InetSocketAddress, NetworkInterface) - Method in class io.netty.channel.socket.oio.OioDatagramChannel
-
Deprecated.
- leaveGroup(InetSocketAddress, NetworkInterface, ChannelPromise) - Method in interface io.netty.channel.socket.DatagramChannel
-
Leaves a multicast group on a specified local interface and notifies the
ChannelFutureonce the operation completes. - leaveGroup(InetSocketAddress, NetworkInterface, ChannelPromise) - Method in class io.netty.channel.socket.nio.NioDatagramChannel
- leaveGroup(InetSocketAddress, NetworkInterface, ChannelPromise) - Method in class io.netty.channel.socket.oio.OioDatagramChannel
-
Deprecated.
- localAddress() - Method in class io.netty.bootstrap.AbstractBootstrapConfig
-
Returns the configured local address or
nullif non is configured yet. - localAddress() - Method in class io.netty.channel.AbstractChannel.AbstractUnsafe
- localAddress() - Method in class io.netty.channel.AbstractChannel
- localAddress() - Method in interface io.netty.channel.Channel
-
Returns the local address where this channel is bound to.
- localAddress() - Method in interface io.netty.channel.Channel.Unsafe
-
Return the
SocketAddressto which is bound local ornullif none. - localAddress() - Method in class io.netty.channel.local.LocalChannel
- localAddress() - Method in class io.netty.channel.local.LocalServerChannel
- localAddress() - Method in interface io.netty.channel.socket.DatagramChannel
- localAddress() - Method in class io.netty.channel.socket.nio.NioDatagramChannel
- localAddress() - Method in class io.netty.channel.socket.nio.NioServerSocketChannel
- localAddress() - Method in class io.netty.channel.socket.nio.NioSocketChannel
- localAddress() - Method in class io.netty.channel.socket.oio.OioDatagramChannel
-
Deprecated.
- localAddress() - Method in class io.netty.channel.socket.oio.OioServerSocketChannel
-
Deprecated.
- localAddress() - Method in class io.netty.channel.socket.oio.OioSocketChannel
-
Deprecated.
- localAddress() - Method in interface io.netty.channel.socket.ServerSocketChannel
- localAddress() - Method in interface io.netty.channel.socket.SocketChannel
- localAddress(int) - Method in class io.netty.bootstrap.AbstractBootstrap
- localAddress(String, int) - Method in class io.netty.bootstrap.AbstractBootstrap
- localAddress(InetAddress, int) - Method in class io.netty.bootstrap.AbstractBootstrap
- localAddress(SocketAddress) - Method in class io.netty.bootstrap.AbstractBootstrap
-
The
SocketAddresswhich is used to bind the local "end" to. - LocalAddress - Class in io.netty.channel.local
-
An endpoint in the local transport.
- LocalAddress(Class<?>) - Constructor for class io.netty.channel.local.LocalAddress
-
Creates a new instance with a random ID based on the given class.
- LocalAddress(String) - Constructor for class io.netty.channel.local.LocalAddress
-
Creates a new instance with the specified ID.
- localAddress0() - Method in class io.netty.channel.AbstractChannel
-
Returns the
SocketAddresswhich is bound locally. - localAddress0() - Method in class io.netty.channel.embedded.EmbeddedChannel
- localAddress0() - Method in class io.netty.channel.local.LocalChannel
- localAddress0() - Method in class io.netty.channel.local.LocalServerChannel
- localAddress0() - Method in class io.netty.channel.socket.nio.NioDatagramChannel
- localAddress0() - Method in class io.netty.channel.socket.nio.NioDomainSocketChannel
- localAddress0() - Method in class io.netty.channel.socket.nio.NioServerDomainSocketChannel
- localAddress0() - Method in class io.netty.channel.socket.nio.NioServerSocketChannel
- localAddress0() - Method in class io.netty.channel.socket.nio.NioSocketChannel
- localAddress0() - Method in class io.netty.channel.socket.oio.OioDatagramChannel
-
Deprecated.
- localAddress0() - Method in class io.netty.channel.socket.oio.OioServerSocketChannel
-
Deprecated.
- localAddress0() - Method in class io.netty.channel.socket.oio.OioSocketChannel
-
Deprecated.
- LocalChannel - Class in io.netty.channel.local
-
A
Channelfor the local transport. - LocalChannel() - Constructor for class io.netty.channel.local.LocalChannel
- LocalChannel(LocalServerChannel, LocalChannel) - Constructor for class io.netty.channel.local.LocalChannel
- LocalEventLoopGroup - Class in io.netty.channel.local
-
Deprecated.
- LocalEventLoopGroup() - Constructor for class io.netty.channel.local.LocalEventLoopGroup
-
Deprecated.Create a new instance with the default number of threads.
- LocalEventLoopGroup(int) - Constructor for class io.netty.channel.local.LocalEventLoopGroup
-
Deprecated.Create a new instance
- LocalEventLoopGroup(int, ThreadFactory) - Constructor for class io.netty.channel.local.LocalEventLoopGroup
-
Deprecated.Create a new instance
- LocalEventLoopGroup(ThreadFactory) - Constructor for class io.netty.channel.local.LocalEventLoopGroup
-
Deprecated.Create a new instance with the default number of threads and the given
ThreadFactory. - localhost() - Method in enum io.netty.channel.socket.InternetProtocolFamily
-
Deprecated.Returns the
InetAddressthat represent theLOCALHOSTfor the family. - LocalIoHandler - Class in io.netty.channel.local
- LocalIoOps - Class in io.netty.channel.local
-
IoOpsimplementation that can be used withLocalIoHandler. - LocalServerChannel - Class in io.netty.channel.local
-
A
ServerChannelfor the local transport which allows in VM communication. - LocalServerChannel() - Constructor for class io.netty.channel.local.LocalServerChannel
- low() - Method in class io.netty.channel.WriteBufferWaterMark
-
Returns the low water mark for the write buffer.
M
- ManualIoEventLoop - Class in io.netty.channel
-
IoEventLoopimplementation that is owned by the user and so needs to be driven by the user manually with the givenThread. - ManualIoEventLoop(IoEventLoopGroup, Thread, IoHandlerFactory) - Constructor for class io.netty.channel.ManualIoEventLoop
-
Create a new
IoEventLoopthat is owned by the user and so needs to be driven by the user with the givenThread. - ManualIoEventLoop(IoEventLoopGroup, Thread, IoHandlerFactory, Ticker) - Constructor for class io.netty.channel.ManualIoEventLoop
-
Create a new
IoEventLoopthat is owned by the user and so needs to be driven by the user with the givenThread. - ManualIoEventLoop(Thread, IoHandlerFactory) - Constructor for class io.netty.channel.ManualIoEventLoop
-
Create a new
IoEventLoopthat is owned by the user and so needs to be driven by the user with the givenThread. - matches(Channel) - Method in interface io.netty.channel.group.ChannelMatcher
-
Returns
trueif the operation should be also executed on the givenChannel. - MAX_BYTES_PER_GATHERING_WRITE_ATTEMPTED_LOW_THRESHOLD - Static variable in class io.netty.channel.internal.ChannelUtils
- MAX_MESSAGES_PER_READ - Static variable in class io.netty.channel.ChannelOption
-
Deprecated.
- MAX_MESSAGES_PER_WRITE - Static variable in class io.netty.channel.ChannelOption
- maxBytesPerIndividualRead() - Method in class io.netty.channel.DefaultMaxBytesRecvByteBufAllocator
- maxBytesPerIndividualRead() - Method in interface io.netty.channel.MaxBytesRecvByteBufAllocator
-
Returns the maximum number of bytes to read per individual read operation.
- maxBytesPerIndividualRead(int) - Method in class io.netty.channel.DefaultMaxBytesRecvByteBufAllocator
- maxBytesPerIndividualRead(int) - Method in interface io.netty.channel.MaxBytesRecvByteBufAllocator
-
Sets the maximum number of bytes to read per individual read operation.
- maxBytesPerRead() - Method in class io.netty.channel.DefaultMaxBytesRecvByteBufAllocator
- maxBytesPerRead() - Method in interface io.netty.channel.MaxBytesRecvByteBufAllocator
-
Returns the maximum number of bytes to read per read loop.
- maxBytesPerRead(int) - Method in class io.netty.channel.DefaultMaxBytesRecvByteBufAllocator
- maxBytesPerRead(int) - Method in interface io.netty.channel.MaxBytesRecvByteBufAllocator
-
Sets the maximum number of bytes to read per read loop.
- maxBytesPerReadPair() - Method in class io.netty.channel.DefaultMaxBytesRecvByteBufAllocator
- maxBytesPerReadPair() - Method in interface io.netty.channel.MaxBytesRecvByteBufAllocator
-
Atomic way to get the maximum number of bytes to read for a read loop and per individual read operation.
- maxBytesPerReadPair(int, int) - Method in class io.netty.channel.DefaultMaxBytesRecvByteBufAllocator
- maxBytesPerReadPair(int, int) - Method in interface io.netty.channel.MaxBytesRecvByteBufAllocator
-
Sets the maximum number of bytes to read for a read loop and per individual read operation.
- MaxBytesRecvByteBufAllocator - Interface in io.netty.channel
-
RecvByteBufAllocatorthat limits a read operation based upon a maximum value per individual read and a maximum amount when a read operation is attempted by the event loop. - MaxMessageHandle() - Constructor for class io.netty.channel.DefaultMaxMessagesRecvByteBufAllocator.MaxMessageHandle
- maxMessagesPerRead() - Method in class io.netty.channel.DefaultMaxMessagesRecvByteBufAllocator
- maxMessagesPerRead() - Method in interface io.netty.channel.MaxMessagesRecvByteBufAllocator
-
Returns the maximum number of messages to read per read loop.
- maxMessagesPerRead(int) - Method in class io.netty.channel.DefaultMaxMessagesRecvByteBufAllocator
- maxMessagesPerRead(int) - Method in interface io.netty.channel.MaxMessagesRecvByteBufAllocator
-
Sets the maximum number of messages to read per read loop.
- maxMessagesPerWrite() - Method in class io.netty.channel.AbstractChannel
- MaxMessagesRecvByteBufAllocator - Interface in io.netty.channel
-
RecvByteBufAllocatorthat limits the number of read operations that will be attempted when a read operation is attempted by the event loop. - MESSAGE_SIZE_ESTIMATOR - Static variable in class io.netty.channel.ChannelOption
- MessageSizeEstimator - Interface in io.netty.channel
-
Responsible to estimate the size of a message.
- MessageSizeEstimator.Handle - Interface in io.netty.channel
- metadata() - Method in class io.netty.channel.AbstractServerChannel
- metadata() - Method in interface io.netty.channel.Channel
- metadata() - Method in class io.netty.channel.embedded.EmbeddedChannel
- metadata() - Method in class io.netty.channel.local.LocalChannel
- metadata() - Method in class io.netty.channel.nio.AbstractNioByteChannel
- metadata() - Method in class io.netty.channel.oio.AbstractOioByteChannel
-
Deprecated.
- metadata() - Method in class io.netty.channel.socket.nio.NioDatagramChannel
- metadata() - Method in class io.netty.channel.socket.nio.NioServerDomainSocketChannel
- metadata() - Method in class io.netty.channel.socket.nio.NioServerSocketChannel
- metadata() - Method in class io.netty.channel.socket.oio.OioDatagramChannel
-
Deprecated.
- metadata() - Method in class io.netty.channel.socket.oio.OioServerSocketChannel
-
Deprecated.
- MultithreadEventLoopGroup - Class in io.netty.channel
-
Abstract base class for
EventLoopGroupimplementations that handles their tasks with multiple threads at the same time. - MultithreadEventLoopGroup(int, Executor, EventExecutorChooserFactory, Object...) - Constructor for class io.netty.channel.MultithreadEventLoopGroup
- MultithreadEventLoopGroup(int, Executor, Object...) - Constructor for class io.netty.channel.MultithreadEventLoopGroup
- MultithreadEventLoopGroup(int, ThreadFactory, Object...) - Constructor for class io.netty.channel.MultithreadEventLoopGroup
- MultiThreadIoEventLoopGroup - Class in io.netty.channel
-
IoEventLoopGroupimplementation that will handle its tasks with multiple threads. - MultiThreadIoEventLoopGroup(int, IoHandlerFactory) - Constructor for class io.netty.channel.MultiThreadIoEventLoopGroup
-
/** Creates a new instance of the
MultiThreadIoEventLoopGroupusing the defaultThreadFactory. - MultiThreadIoEventLoopGroup(int, Executor, IoHandlerFactory) - Constructor for class io.netty.channel.MultiThreadIoEventLoopGroup
-
Creates a new instance of the
MultiThreadIoEventLoopGroup. - MultiThreadIoEventLoopGroup(int, Executor, IoHandlerFactory, EventExecutorChooserFactory, Object...) - Constructor for class io.netty.channel.MultiThreadIoEventLoopGroup
-
Creates a new instance of the
MultiThreadIoEventLoopGroup. - MultiThreadIoEventLoopGroup(int, Executor, IoHandlerFactory, Object...) - Constructor for class io.netty.channel.MultiThreadIoEventLoopGroup
-
Creates a new instance of the
MultiThreadIoEventLoopGroup. - MultiThreadIoEventLoopGroup(int, Executor, EventExecutorChooserFactory, IoHandlerFactory) - Constructor for class io.netty.channel.MultiThreadIoEventLoopGroup
-
Creates a new instance of the
MultiThreadIoEventLoopGroup. - MultiThreadIoEventLoopGroup(int, ThreadFactory, IoHandlerFactory) - Constructor for class io.netty.channel.MultiThreadIoEventLoopGroup
-
Creates a new instance of the
MultiThreadIoEventLoopGroup. - MultiThreadIoEventLoopGroup(int, ThreadFactory, IoHandlerFactory, EventExecutorChooserFactory, Object...) - Constructor for class io.netty.channel.MultiThreadIoEventLoopGroup
-
Creates a new instance of the
MultiThreadIoEventLoopGroup. - MultiThreadIoEventLoopGroup(int, ThreadFactory, IoHandlerFactory, Object...) - Constructor for class io.netty.channel.MultiThreadIoEventLoopGroup
-
Creates a new instance of the
MultiThreadIoEventLoopGroup. - MultiThreadIoEventLoopGroup(IoHandlerFactory) - Constructor for class io.netty.channel.MultiThreadIoEventLoopGroup
-
Creates a new instance of the
MultiThreadIoEventLoopGroupusing the default number of threads and defaultThreadFactory. - MultiThreadIoEventLoopGroup(Executor, IoHandlerFactory) - Constructor for class io.netty.channel.MultiThreadIoEventLoopGroup
-
Creates a new instance of the
MultiThreadIoEventLoopGroupusing the default number of threads. - MultiThreadIoEventLoopGroup(ThreadFactory, IoHandlerFactory) - Constructor for class io.netty.channel.MultiThreadIoEventLoopGroup
-
Create a new instance using the default number of thread.
N
- name() - Method in interface io.netty.channel.ChannelHandlerContext
-
The unique name of the
ChannelHandlerContext.The name was used when thenChannelHandlerwas added to theChannelPipeline. - name() - Method in interface io.netty.channel.group.ChannelGroup
-
Returns the name of this group.
- name() - Method in class io.netty.channel.group.DefaultChannelGroup
- names() - Method in interface io.netty.channel.ChannelPipeline
-
Returns the
Listof the handler names. - names() - Method in class io.netty.channel.DefaultChannelPipeline
- NEW - io.netty.channel.pool.FixedChannelPool.AcquireTimeoutAction
-
Create a new connection when the timeout is detected.
- newChannel() - Method in interface io.netty.bootstrap.ChannelFactory
-
Deprecated.Creates a new channel.
- newChannel() - Method in interface io.netty.channel.ChannelFactory
-
Creates a new channel.
- newChannel() - Method in class io.netty.channel.ReflectiveChannelFactory
- newChannelPipeline() - Method in class io.netty.channel.AbstractChannel
-
Returns a new
DefaultChannelPipelineinstance. - newChannelPipeline() - Method in class io.netty.channel.embedded.EmbeddedChannel
- newChild(Object...) - Method in class io.netty.channel.ThreadPerChannelEventLoopGroup
-
Deprecated.Creates a new
EventLoop. - newChild(Executor, IoHandlerFactory, Object...) - Method in class io.netty.channel.MultiThreadIoEventLoopGroup
- newChild(Executor, IoHandlerFactory, Object...) - Method in class io.netty.channel.nio.NioEventLoopGroup
-
Deprecated.
- newChild(Executor, Object...) - Method in class io.netty.channel.DefaultEventLoopGroup
-
Deprecated.
- newChild(Executor, Object...) - Method in class io.netty.channel.MultithreadEventLoopGroup
- newChild(Executor, Object...) - Method in class io.netty.channel.MultiThreadIoEventLoopGroup
- newCloseFuture() - Method in interface io.netty.channel.group.ChannelGroup
-
Returns the
ChannelGroupFuturewhich will be notified when allChannels that are part of thisChannelGroup, at the time of calling, are closed. - newCloseFuture() - Method in class io.netty.channel.group.DefaultChannelGroup
- newCloseFuture(ChannelMatcher) - Method in interface io.netty.channel.group.ChannelGroup
-
Returns the
ChannelGroupFuturewhich will be notified when allChannels that are part of thisChannelGroup, at the time of calling, are closed. - newCloseFuture(ChannelMatcher) - Method in class io.netty.channel.group.DefaultChannelGroup
- newDefaultThreadFactory() - Method in class io.netty.channel.MultithreadEventLoopGroup
- newDirectBuffer(ByteBuf) - Method in class io.netty.channel.nio.AbstractNioChannel
-
Returns an off-heap copy of the specified
ByteBuf, and releases the original one. - newDirectBuffer(ReferenceCounted, ByteBuf) - Method in class io.netty.channel.nio.AbstractNioChannel
-
Returns an off-heap copy of the specified
ByteBuf, and releases the specified holder. - newFactory() - Static method in class io.netty.channel.local.LocalIoHandler
-
Returns a new
IoHandlerFactorythat createsLocalIoHandlerinstances. - newFactory() - Static method in class io.netty.channel.nio.NioIoHandler
-
Returns a new
IoHandlerFactorythat createsNioIoHandlerinstances - newFactory(SelectorProvider) - Static method in class io.netty.channel.nio.NioIoHandler
-
Returns a new
IoHandlerFactorythat createsNioIoHandlerinstances. - newFactory(SelectorProvider, SelectStrategyFactory) - Static method in class io.netty.channel.nio.NioIoHandler
-
Returns a new
IoHandlerFactorythat createsNioIoHandlerinstances. - newFailedFuture(Throwable) - Method in interface io.netty.channel.Channel
- newFailedFuture(Throwable) - Method in interface io.netty.channel.ChannelOutboundInvoker
-
Create a new
ChannelFuturewhich is marked as failed already. - newFailedFuture(Throwable) - Method in interface io.netty.channel.ChannelPipeline
- newFailedFuture(Throwable) - Method in class io.netty.channel.DefaultChannelPipeline
- newHandle() - Method in class io.netty.channel.AdaptiveRecvByteBufAllocator
- newHandle() - Method in class io.netty.channel.DefaultMaxBytesRecvByteBufAllocator
- newHandle() - Method in class io.netty.channel.DefaultMessageSizeEstimator
- newHandle() - Method in class io.netty.channel.FixedRecvByteBufAllocator
- newHandle() - Method in interface io.netty.channel.MessageSizeEstimator
-
Creates a new handle.
- newHandle() - Method in interface io.netty.channel.RecvByteBufAllocator
-
Creates a new handle.
- newHandle() - Method in class io.netty.channel.ServerChannelRecvByteBufAllocator
- newHandler(ThreadAwareExecutor) - Method in interface io.netty.channel.IoHandlerFactory
-
Creates a new
IoHandlerinstance. - newId() - Method in class io.netty.channel.AbstractChannel
-
Returns a new
DefaultChannelIdinstance. - newInstance() - Static method in class io.netty.channel.DefaultChannelId
-
Returns a new
DefaultChannelIdinstance. - newInstance(String) - Static method in class io.netty.channel.ChannelOption
-
Deprecated.
- newLocalChannel(LocalChannel) - Method in class io.netty.channel.local.LocalServerChannel
-
A factory method for
LocalChannels. - newPool(K) - Method in class io.netty.channel.pool.AbstractChannelPoolMap
-
Called once a new
ChannelPoolneeds to be created as non exists yet for thekey. - newProgressivePromise() - Method in interface io.netty.channel.Channel
- newProgressivePromise() - Method in interface io.netty.channel.ChannelOutboundInvoker
-
Return an new
ChannelProgressivePromise - newProgressivePromise() - Method in interface io.netty.channel.ChannelPipeline
- newProgressivePromise() - Method in class io.netty.channel.DefaultChannelPipeline
- newPromise() - Method in interface io.netty.channel.Channel
- newPromise() - Method in interface io.netty.channel.ChannelOutboundInvoker
-
Return a new
ChannelPromise. - newPromise() - Method in interface io.netty.channel.ChannelPipeline
- newPromise() - Method in class io.netty.channel.DefaultChannelPipeline
- newSelectStrategy() - Method in class io.netty.channel.DefaultSelectStrategyFactory
- newSelectStrategy() - Method in interface io.netty.channel.SelectStrategyFactory
-
Creates a new
SelectStrategy. - newSucceededFuture() - Method in interface io.netty.channel.Channel
- newSucceededFuture() - Method in interface io.netty.channel.ChannelOutboundInvoker
-
Create a new
ChannelFuturewhich is marked as succeeded already. - newSucceededFuture() - Method in class io.netty.channel.DefaultChannelPipeline
- newTaskQueue(int) - Method in interface io.netty.channel.EventLoopTaskQueueFactory
-
Deprecated.Returns a new
Queueto use. - newTaskQueue(int) - Method in class io.netty.channel.SingleThreadIoEventLoop
- newTaskQueue0(int) - Static method in class io.netty.channel.SingleThreadIoEventLoop
- newUnsafe() - Method in class io.netty.channel.AbstractChannel
-
Create a new
AbstractChannel.AbstractUnsafeinstance which will be used for the life-time of theChannel - newUnsafe() - Method in class io.netty.channel.AbstractServerChannel
- newUnsafe() - Method in class io.netty.channel.embedded.EmbeddedChannel
- newUnsafe() - Method in class io.netty.channel.local.LocalChannel
- newUnsafe() - Method in class io.netty.channel.local.LocalServerChannel
- newUnsafe() - Method in class io.netty.channel.nio.AbstractNioByteChannel
- newUnsafe() - Method in class io.netty.channel.nio.AbstractNioMessageChannel
- newUnsafe() - Method in class io.netty.channel.oio.AbstractOioChannel
-
Deprecated.
- newUnsafe() - Method in class io.netty.channel.socket.nio.NioDomainSocketChannel
- newUnsafe() - Method in class io.netty.channel.socket.nio.NioSocketChannel
- next() - Method in class io.netty.channel.AbstractEventLoop
- next() - Method in class io.netty.channel.AbstractEventLoopGroup
- next() - Method in interface io.netty.channel.EventLoopGroup
-
Return the next
EventLoopto use - next() - Method in interface io.netty.channel.IoEventLoop
- next() - Method in interface io.netty.channel.IoEventLoopGroup
- next() - Method in class io.netty.channel.ManualIoEventLoop
- next() - Method in class io.netty.channel.MultithreadEventLoopGroup
- next() - Method in class io.netty.channel.MultiThreadIoEventLoopGroup
- next() - Method in class io.netty.channel.SingleThreadEventLoop.ChannelsReadOnlyIterator
- next() - Method in class io.netty.channel.SingleThreadEventLoop
- next() - Method in class io.netty.channel.SingleThreadIoEventLoop
- next() - Method in class io.netty.channel.ThreadPerChannelEventLoopGroup
-
Deprecated.
- nioBufferCount() - Method in class io.netty.channel.ChannelOutboundBuffer
-
Returns the number of
ByteBufferthat can be written out of theByteBufferarray that was obtained viaChannelOutboundBuffer.nioBuffers(). - nioBuffers() - Method in class io.netty.channel.ChannelOutboundBuffer
-
Returns an array of direct NIO buffers if the currently pending messages are made of
ByteBufonly. - nioBuffers(int, long) - Method in class io.netty.channel.ChannelOutboundBuffer
-
Returns an array of direct NIO buffers if the currently pending messages are made of
ByteBufonly. - nioBufferSize() - Method in class io.netty.channel.ChannelOutboundBuffer
-
Returns the number of bytes that can be written out of the
ByteBufferarray that was obtained viaChannelOutboundBuffer.nioBuffers(). - NioByteUnsafe() - Constructor for class io.netty.channel.nio.AbstractNioByteChannel.NioByteUnsafe
- NioChannelOption<T> - Class in io.netty.channel.socket.nio
-
Provides
ChannelOptionover a givenSocketOptionwhich is then passed through the underlyingNetworkChannel. - NioDatagramChannel - Class in io.netty.channel.socket.nio
-
An NIO datagram
Channelthat sends and receives anAddressedEnvelope. - NioDatagramChannel() - Constructor for class io.netty.channel.socket.nio.NioDatagramChannel
-
Create a new instance which will use the Operation Systems default
SocketProtocolFamily. - NioDatagramChannel(InternetProtocolFamily) - Constructor for class io.netty.channel.socket.nio.NioDatagramChannel
-
Deprecated.
- NioDatagramChannel(SocketProtocolFamily) - Constructor for class io.netty.channel.socket.nio.NioDatagramChannel
-
Create a new instance using the given
SocketProtocolFamily. - NioDatagramChannel(DatagramChannel) - Constructor for class io.netty.channel.socket.nio.NioDatagramChannel
-
Create a new instance from the given
DatagramChannel. - NioDatagramChannel(SelectorProvider) - Constructor for class io.netty.channel.socket.nio.NioDatagramChannel
-
Create a new instance using the given
SelectorProviderwhich will use the Operation Systems defaultSocketProtocolFamily. - NioDatagramChannel(SelectorProvider, InternetProtocolFamily) - Constructor for class io.netty.channel.socket.nio.NioDatagramChannel
-
Deprecated.
- NioDatagramChannel(SelectorProvider, SocketProtocolFamily) - Constructor for class io.netty.channel.socket.nio.NioDatagramChannel
-
Create a new instance using the given
SelectorProviderandSocketProtocolFamily. - NioDomainSocketChannel - Class in io.netty.channel.socket.nio
-
DuplexChannelwhich uses NIO selector based implementation to support UNIX Domain Sockets. - NioDomainSocketChannel() - Constructor for class io.netty.channel.socket.nio.NioDomainSocketChannel
-
Create a new instance
- NioDomainSocketChannel(Channel, SocketChannel) - Constructor for class io.netty.channel.socket.nio.NioDomainSocketChannel
-
Create a new instance
- NioDomainSocketChannel(SocketChannel) - Constructor for class io.netty.channel.socket.nio.NioDomainSocketChannel
-
Create a new instance using the given
SocketChannel. - NioDomainSocketChannel(SelectorProvider) - Constructor for class io.netty.channel.socket.nio.NioDomainSocketChannel
-
Create a new instance using the given
SelectorProvider. - NioEventLoop - Class in io.netty.channel.nio
-
Deprecated.Use
SingleThreadIoEventLoopwithNioIoHandler - NioEventLoopGroup - Class in io.netty.channel.nio
-
Deprecated.
- NioEventLoopGroup() - Constructor for class io.netty.channel.nio.NioEventLoopGroup
-
Deprecated.Create a new instance using the default number of threads, the default
ThreadFactoryand theSelectorProviderwhich is returned bySelectorProvider.provider(). - NioEventLoopGroup(int) - Constructor for class io.netty.channel.nio.NioEventLoopGroup
-
Deprecated.Create a new instance using the specified number of threads,
ThreadFactoryand theSelectorProviderwhich is returned bySelectorProvider.provider(). - NioEventLoopGroup(int, Executor) - Constructor for class io.netty.channel.nio.NioEventLoopGroup
-
Deprecated.
- NioEventLoopGroup(int, Executor, EventExecutorChooserFactory, SelectorProvider, SelectStrategyFactory) - Constructor for class io.netty.channel.nio.NioEventLoopGroup
-
Deprecated.
- NioEventLoopGroup(int, Executor, EventExecutorChooserFactory, SelectorProvider, SelectStrategyFactory, RejectedExecutionHandler) - Constructor for class io.netty.channel.nio.NioEventLoopGroup
-
Deprecated.
- NioEventLoopGroup(int, Executor, EventExecutorChooserFactory, SelectorProvider, SelectStrategyFactory, RejectedExecutionHandler, EventLoopTaskQueueFactory) - Constructor for class io.netty.channel.nio.NioEventLoopGroup
-
Deprecated.
- NioEventLoopGroup(int, Executor, EventExecutorChooserFactory, SelectorProvider, SelectStrategyFactory, RejectedExecutionHandler, EventLoopTaskQueueFactory, EventLoopTaskQueueFactory) - Constructor for class io.netty.channel.nio.NioEventLoopGroup
-
Deprecated.
- NioEventLoopGroup(int, Executor, SelectorProvider) - Constructor for class io.netty.channel.nio.NioEventLoopGroup
-
Deprecated.
- NioEventLoopGroup(int, Executor, SelectorProvider, SelectStrategyFactory) - Constructor for class io.netty.channel.nio.NioEventLoopGroup
-
Deprecated.
- NioEventLoopGroup(int, ThreadFactory) - Constructor for class io.netty.channel.nio.NioEventLoopGroup
-
Deprecated.Create a new instance using the specified number of threads, the given
ThreadFactoryand theSelectorProviderwhich is returned bySelectorProvider.provider(). - NioEventLoopGroup(int, ThreadFactory, SelectorProvider) - Constructor for class io.netty.channel.nio.NioEventLoopGroup
-
Deprecated.Create a new instance using the specified number of threads, the given
ThreadFactoryand the givenSelectorProvider. - NioEventLoopGroup(int, ThreadFactory, SelectorProvider, SelectStrategyFactory) - Constructor for class io.netty.channel.nio.NioEventLoopGroup
-
Deprecated.
- NioEventLoopGroup(ThreadFactory) - Constructor for class io.netty.channel.nio.NioEventLoopGroup
-
Deprecated.Create a new instance using the default number of threads, the given
ThreadFactoryand theSelectorProviderwhich is returned bySelectorProvider.provider(). - NioIoEvent - Interface in io.netty.channel.nio
-
IoEventthat must be handled by theNioIoHandle. - NioIoHandle - Interface in io.netty.channel.nio
-
IoHandlesubtype for NIO based implementations that will work withNioIoHandler. - NioIoHandler - Class in io.netty.channel.nio
- NioIoOps - Class in io.netty.channel.nio
-
Implementation of
IoOpsfor that is used byNioIoHandlerand so for NIO based transports. - NioSelectableChannelIoHandle<S extends SelectableChannel> - Class in io.netty.channel.nio
-
Allows to create an
IoHandlefor aSelectableChannel, not necessarily created by Netty. - NioSelectableChannelIoHandle(S) - Constructor for class io.netty.channel.nio.NioSelectableChannelIoHandle
- NioServerDomainSocketChannel - Class in io.netty.channel.socket.nio
-
A
ServerChannelimplementation which uses NIO selector based implementation to support UNIX Domain Sockets. - NioServerDomainSocketChannel() - Constructor for class io.netty.channel.socket.nio.NioServerDomainSocketChannel
-
Create a new instance
- NioServerDomainSocketChannel(ServerSocketChannel) - Constructor for class io.netty.channel.socket.nio.NioServerDomainSocketChannel
-
Create a new instance using the given
ServerSocketChannel. - NioServerDomainSocketChannel(SelectorProvider) - Constructor for class io.netty.channel.socket.nio.NioServerDomainSocketChannel
-
Create a new instance using the given
SelectorProvider. - NioServerSocketChannel - Class in io.netty.channel.socket.nio
-
A
ServerSocketChannelimplementation which uses NIO selector based implementation to accept new connections. - NioServerSocketChannel() - Constructor for class io.netty.channel.socket.nio.NioServerSocketChannel
-
Create a new instance
- NioServerSocketChannel(ServerSocketChannel) - Constructor for class io.netty.channel.socket.nio.NioServerSocketChannel
-
Create a new instance using the given
ServerSocketChannel. - NioServerSocketChannel(SelectorProvider) - Constructor for class io.netty.channel.socket.nio.NioServerSocketChannel
-
Create a new instance using the given
SelectorProvider. - NioServerSocketChannel(SelectorProvider, InternetProtocolFamily) - Constructor for class io.netty.channel.socket.nio.NioServerSocketChannel
-
Deprecated.
- NioServerSocketChannel(SelectorProvider, SocketProtocolFamily) - Constructor for class io.netty.channel.socket.nio.NioServerSocketChannel
-
Create a new instance using the given
SelectorProviderand protocol family (supported only since JDK 15). - NioSocketChannel - Class in io.netty.channel.socket.nio
-
SocketChannelwhich uses NIO selector based implementation. - NioSocketChannel() - Constructor for class io.netty.channel.socket.nio.NioSocketChannel
-
Create a new instance
- NioSocketChannel(Channel, SocketChannel) - Constructor for class io.netty.channel.socket.nio.NioSocketChannel
-
Create a new instance
- NioSocketChannel(SocketChannel) - Constructor for class io.netty.channel.socket.nio.NioSocketChannel
-
Create a new instance using the given
SocketChannel. - NioSocketChannel(SelectorProvider) - Constructor for class io.netty.channel.socket.nio.NioSocketChannel
-
Create a new instance using the given
SelectorProvider. - NioSocketChannel(SelectorProvider, InternetProtocolFamily) - Constructor for class io.netty.channel.socket.nio.NioSocketChannel
-
Deprecated.
- NioSocketChannel(SelectorProvider, SocketProtocolFamily) - Constructor for class io.netty.channel.socket.nio.NioSocketChannel
-
Create a new instance using the given
SelectorProviderand protocol family (supported only since JDK 15). - NioTask<C extends SelectableChannel> - Interface in io.netty.channel.nio
-
An arbitrary task that can be executed by
NioEventLoopwhen aSelectableChannelbecomes ready. - NONE - Static variable in class io.netty.channel.nio.NioIoOps
-
Interested in NO IO events.
- notifyFlushFutures() - Method in class io.netty.channel.ChannelFlushPromiseNotifier
-
Deprecated.
- notifyFlushFutures(Throwable) - Method in class io.netty.channel.ChannelFlushPromiseNotifier
-
Deprecated.
- notifyFlushFutures(Throwable, Throwable) - Method in class io.netty.channel.ChannelFlushPromiseNotifier
-
Deprecated.
- notifyPromises() - Method in class io.netty.channel.ChannelFlushPromiseNotifier
-
Notify all
ChannelFutures that were registered withChannelFlushPromiseNotifier.add(ChannelPromise, int)and their pendingDatasize is smaller after the current writeCounter returned byChannelFlushPromiseNotifier.writeCounter(). - notifyPromises(Throwable) - Method in class io.netty.channel.ChannelFlushPromiseNotifier
-
Notify all
ChannelFutures that were registered withChannelFlushPromiseNotifier.add(ChannelPromise, int)and their pendingDatasize isis smaller then the current writeCounter returned byChannelFlushPromiseNotifier.writeCounter(). - notifyPromises(Throwable, Throwable) - Method in class io.netty.channel.ChannelFlushPromiseNotifier
-
Notify all
ChannelFutures that were registered withChannelFlushPromiseNotifier.add(ChannelPromise, int)and their pendingDatasize is smaller then the current writeCounter returned byChannelFlushPromiseNotifier.writeCounter()using the given cause1.
O
- of(InetAddress) - Static method in enum io.netty.channel.socket.InternetProtocolFamily
-
Deprecated.Returns the
InternetProtocolFamilyfor the givenInetAddress. - of(ProtocolFamily) - Static method in enum io.netty.channel.socket.SocketProtocolFamily
-
Return the
SocketProtocolFamilyfor the givenProtocolFamilyif possible. - of(SocketOption<T>) - Static method in class io.netty.channel.socket.nio.NioChannelOption
-
Returns a
ChannelOptionfor the givenSocketOption. - offerChannel(Channel) - Method in class io.netty.channel.pool.SimpleChannelPool
-
Offer a
Channelback to the internal storage. - OioByteStreamChannel - Class in io.netty.channel.oio
-
Deprecated.use NIO / EPOLL / KQUEUE transport.
- OioByteStreamChannel(Channel) - Constructor for class io.netty.channel.oio.OioByteStreamChannel
-
Deprecated.Create a new instance
- OioDatagramChannel - Class in io.netty.channel.socket.oio
-
Deprecated.use NIO / EPOLL / KQUEUE transport.
- OioDatagramChannel() - Constructor for class io.netty.channel.socket.oio.OioDatagramChannel
-
Deprecated.Create a new instance with an new
MulticastSocket. - OioDatagramChannel(MulticastSocket) - Constructor for class io.netty.channel.socket.oio.OioDatagramChannel
-
Deprecated.Create a new instance from the given
MulticastSocket. - OioDatagramChannelConfig - Interface in io.netty.channel.socket.oio
-
Deprecated.use NIO / EPOLL / KQUEUE transport.
- OioEventLoopGroup - Class in io.netty.channel.oio
-
Deprecated.use NIO / EPOLL / KQUEUE transport.
- OioEventLoopGroup() - Constructor for class io.netty.channel.oio.OioEventLoopGroup
-
Deprecated.Create a new
OioEventLoopGroupwith no limit in place. - OioEventLoopGroup(int) - Constructor for class io.netty.channel.oio.OioEventLoopGroup
-
Deprecated.Create a new
OioEventLoopGroup. - OioEventLoopGroup(int, Executor) - Constructor for class io.netty.channel.oio.OioEventLoopGroup
-
Deprecated.Create a new
OioEventLoopGroup. - OioEventLoopGroup(int, ThreadFactory) - Constructor for class io.netty.channel.oio.OioEventLoopGroup
-
Deprecated.Create a new
OioEventLoopGroup. - OioServerSocketChannel - Class in io.netty.channel.socket.oio
-
Deprecated.use NIO / EPOLL / KQUEUE transport.
- OioServerSocketChannel() - Constructor for class io.netty.channel.socket.oio.OioServerSocketChannel
-
Deprecated.Create a new instance with an new
Socket - OioServerSocketChannel(ServerSocket) - Constructor for class io.netty.channel.socket.oio.OioServerSocketChannel
-
Deprecated.Create a new instance from the given
ServerSocket - OioServerSocketChannelConfig - Interface in io.netty.channel.socket.oio
-
Deprecated.use NIO / EPOLL / KQUEUE transport.
- OioSocketChannel - Class in io.netty.channel.socket.oio
-
Deprecated.use NIO / EPOLL / KQUEUE transport.
- OioSocketChannel() - Constructor for class io.netty.channel.socket.oio.OioSocketChannel
-
Deprecated.Create a new instance with an new
Socket - OioSocketChannel(Channel, Socket) - Constructor for class io.netty.channel.socket.oio.OioSocketChannel
-
Deprecated.Create a new instance from the given
Socket - OioSocketChannel(Socket) - Constructor for class io.netty.channel.socket.oio.OioSocketChannel
-
Deprecated.Create a new instance from the given
Socket - OioSocketChannelConfig - Interface in io.netty.channel.socket.oio
-
Deprecated.use NIO / EPOLL / KQUEUE transport.
- onUnhandledChannelWritabilityChanged() - Method in class io.netty.channel.DefaultChannelPipeline
-
Called once the
ChannelInboundHandler.channelWritabilityChanged(ChannelHandlerContext)event hit the end of theChannelPipeline. - onUnhandledInboundChannelActive() - Method in class io.netty.channel.DefaultChannelPipeline
-
Called once the
ChannelInboundHandler.channelActive(ChannelHandlerContext)event hit the end of theChannelPipeline. - onUnhandledInboundChannelInactive() - Method in class io.netty.channel.DefaultChannelPipeline
-
Called once the
ChannelInboundHandler.channelInactive(ChannelHandlerContext)event hit the end of theChannelPipeline. - onUnhandledInboundChannelReadComplete() - Method in class io.netty.channel.DefaultChannelPipeline
-
Called once the
ChannelInboundHandler.channelReadComplete(ChannelHandlerContext)event hit the end of theChannelPipeline. - onUnhandledInboundException(Throwable) - Method in class io.netty.channel.DefaultChannelPipeline
-
Called once a
Throwablehit the end of theChannelPipelinewithout been handled by the user inChannelHandler.exceptionCaught(ChannelHandlerContext, Throwable). - onUnhandledInboundMessage(ChannelHandlerContext, Object) - Method in class io.netty.channel.DefaultChannelPipeline
-
Called once a message hit the end of the
ChannelPipelinewithout been handled by the user inChannelInboundHandler.channelRead(ChannelHandlerContext, Object). - onUnhandledInboundMessage(Object) - Method in class io.netty.channel.DefaultChannelPipeline
-
Called once a message hit the end of the
ChannelPipelinewithout been handled by the user inChannelInboundHandler.channelRead(ChannelHandlerContext, Object). - onUnhandledInboundUserEventTriggered(Object) - Method in class io.netty.channel.DefaultChannelPipeline
-
Called once an user event hit the end of the
ChannelPipelinewithout been handled by the user inChannelInboundHandler.userEventTriggered(ChannelHandlerContext, Object). - open() - Method in class io.netty.channel.DefaultFileRegion
-
Explicitly open the underlying file-descriptor if not done yet.
- operationComplete(ChannelFuture) - Method in class io.netty.channel.DelegatingChannelPromiseNotifier
- ops() - Method in interface io.netty.channel.nio.NioIoEvent
-
Returns the
NioIoOpswhich did trigger theNioIoEvent. - option(ChannelOption<T>, T) - Method in class io.netty.bootstrap.AbstractBootstrap
-
Allow to specify a
ChannelOptionwhich is used for theChannelinstances once they got created. - options() - Method in class io.netty.bootstrap.AbstractBootstrapConfig
-
Returns a copy of the configured options.
- outboundBuffer() - Method in class io.netty.channel.AbstractChannel.AbstractUnsafe
- outboundBuffer() - Method in interface io.netty.channel.Channel.Unsafe
-
Returns the
ChannelOutboundBufferof theChannelwhere the pending write requests are stored. - outboundHandler() - Method in class io.netty.channel.CombinedChannelDuplexHandler
- outboundMessages() - Method in class io.netty.channel.embedded.EmbeddedChannel
P
- parent() - Method in class io.netty.channel.AbstractChannel
- parent() - Method in class io.netty.channel.AbstractEventLoop
- parent() - Method in interface io.netty.channel.Channel
-
Returns the parent of this channel.
- parent() - Method in interface io.netty.channel.EventLoop
- parent() - Method in class io.netty.channel.local.LocalChannel
- parent() - Method in class io.netty.channel.ManualIoEventLoop
- parent() - Method in class io.netty.channel.SingleThreadEventLoop
- parent() - Method in class io.netty.channel.socket.nio.NioDomainSocketChannel
- parent() - Method in class io.netty.channel.socket.nio.NioSocketChannel
- parent() - Method in class io.netty.channel.socket.oio.OioSocketChannel
-
Deprecated.
- parent() - Method in interface io.netty.channel.socket.SocketChannel
- parent(Channel) - Method in class io.netty.channel.embedded.EmbeddedChannel.Builder
-
The parent
Channelof thisEmbeddedChannel. - pendingTasks() - Method in class io.netty.channel.SingleThreadEventLoop
- PendingWriteQueue - Class in io.netty.channel
-
A queue of write operations which are pending for later execution.
- PendingWriteQueue(Channel) - Constructor for class io.netty.channel.PendingWriteQueue
- PendingWriteQueue(ChannelHandlerContext) - Constructor for class io.netty.channel.PendingWriteQueue
- pipeline() - Method in class io.netty.channel.AbstractChannel
- pipeline() - Method in interface io.netty.channel.Channel
-
Return the assigned
ChannelPipeline. - pipeline() - Method in interface io.netty.channel.ChannelHandlerContext
-
Return the assigned
ChannelPipeline - pollChannel() - Method in class io.netty.channel.pool.SimpleChannelPool
-
Poll a
Channelout of the internal storage to reuse it. - position() - Method in class io.netty.channel.DefaultFileRegion
- position() - Method in interface io.netty.channel.FileRegion
-
Returns the offset in the file where the transfer began.
- postInitializeClientChannel(Channel) - Method in class io.netty.bootstrap.ChannelInitializerExtension
-
Called by
Bootstrapafter the initialization of the given client channel. - postInitializeServerChildChannel(Channel) - Method in class io.netty.bootstrap.ChannelInitializerExtension
-
Called by
ServerBootstrapafter the initialization of the given child channel. - postInitializeServerListenerChannel(ServerChannel) - Method in class io.netty.bootstrap.ChannelInitializerExtension
-
Called by
ServerBootstrapafter the initialization of the given server listener channel. - PreferHeapByteBufAllocator - Class in io.netty.channel
-
Wraps another
ByteBufAllocatorand use heapbuffers everywhere except when a direct buffer is explicit requested. - PreferHeapByteBufAllocator(ByteBufAllocator) - Constructor for class io.netty.channel.PreferHeapByteBufAllocator
- prepareToClose() - Method in class io.netty.channel.AbstractChannel.AbstractUnsafe
-
Prepares to close the
Channel. - prepareToDestroy() - Method in interface io.netty.channel.IoHandler
-
Prepare to destroy this
IoHandler. - prepareToDestroy() - Method in class io.netty.channel.local.LocalIoHandler
- prepareToDestroy() - Method in class io.netty.channel.nio.NioIoHandler
- priority() - Method in class io.netty.bootstrap.ChannelInitializerExtension
-
Get the "priority" of this extension.
- processMessage(Object) - Method in interface io.netty.channel.ChannelOutboundBuffer.MessageProcessor
-
Will be called for each flushed message until it either there are no more flushed messages or this method returns
false. - progress(long) - Method in class io.netty.channel.ChannelOutboundBuffer
-
Notify the
ChannelPromiseof the current message about writing progress. - promise() - Method in class io.netty.channel.DefaultChannelProgressivePromise
- promise() - Method in class io.netty.channel.DefaultChannelPromise
R
- RCVBUF_ALLOCATOR - Static variable in class io.netty.channel.ChannelOption
-
Deprecated.
- read() - Method in interface io.netty.channel.Channel
- read() - Method in interface io.netty.channel.ChannelHandlerContext
- read() - Method in interface io.netty.channel.ChannelOutboundInvoker
-
Request to Read data from the
Channelinto the first inbound buffer, triggers anChannelInboundHandler.channelRead(ChannelHandlerContext, Object)event if data was read, and triggers achannelReadCompleteevent so the handler can decide to continue reading. - read() - Method in class io.netty.channel.DefaultChannelPipeline
- read() - Method in class io.netty.channel.embedded.EmbeddedChannel
- read() - Method in class io.netty.channel.nio.AbstractNioByteChannel.NioByteUnsafe
- read() - Method in interface io.netty.channel.nio.AbstractNioChannel.NioUnsafe
-
Read from underlying
SelectableChannel - read(ChannelHandlerContext) - Method in class io.netty.channel.ChannelDuplexHandler
-
Calls
ChannelHandlerContext.read()to forward to the nextChannelOutboundHandlerin theChannelPipeline. - read(ChannelHandlerContext) - Method in interface io.netty.channel.ChannelOutboundHandler
-
Intercepts
ChannelHandlerContext.read(). - read(ChannelHandlerContext) - Method in class io.netty.channel.ChannelOutboundHandlerAdapter
-
Calls
ChannelHandlerContext.read()to forward to the nextChannelOutboundHandlerin theChannelPipeline. - read(ChannelHandlerContext) - Method in class io.netty.channel.CombinedChannelDuplexHandler
- READ - Static variable in class io.netty.channel.nio.NioIoOps
-
Interested in IO events which should be handled by reading data.
- READ_AND_ACCEPT - Static variable in class io.netty.channel.nio.NioIoOps
-
Interested in IO events which should be either handled by reading or accepting.
- READ_AND_WRITE - Static variable in class io.netty.channel.nio.NioIoOps
-
Interested in IO events which should be either handled by reading or writing.
- readableBytes() - Method in class io.netty.channel.AbstractCoalescingBufferQueue
-
The number of readable bytes.
- readComplete() - Method in class io.netty.channel.DefaultMaxMessagesRecvByteBufAllocator.MaxMessageHandle
- readComplete() - Method in class io.netty.channel.RecvByteBufAllocator.DelegatingHandle
- readComplete() - Method in interface io.netty.channel.RecvByteBufAllocator.Handle
-
Deprecated.The read has completed.
- readInbound() - Method in class io.netty.channel.embedded.EmbeddedChannel
-
Return received data from this
Channel - readInterestOp - Variable in class io.netty.channel.nio.AbstractNioChannel
- readOps - Variable in class io.netty.channel.nio.AbstractNioChannel
- readOutbound() - Method in class io.netty.channel.embedded.EmbeddedChannel
-
Read data from the outbound.
- rebuildSelector() - Method in class io.netty.channel.nio.NioEventLoop
-
Deprecated.
- rebuildSelectors() - Method in class io.netty.channel.nio.NioEventLoopGroup
-
Deprecated.
- recipient() - Method in interface io.netty.channel.AddressedEnvelope
-
Returns the address of the recipient of this message.
- recipient() - Method in class io.netty.channel.DefaultAddressedEnvelope
- RECVBUF_ALLOCATOR - Static variable in class io.netty.channel.ChannelOption
- recvBufAllocHandle() - Method in class io.netty.channel.AbstractChannel.AbstractUnsafe
- recvBufAllocHandle() - Method in interface io.netty.channel.Channel.Unsafe
-
Return the assigned
RecvByteBufAllocator.Handlewhich will be used to allocateByteBuf's when receiving data. - RecvByteBufAllocator - Interface in io.netty.channel
-
Allocates a new receive buffer whose capacity is probably large enough to read all inbound data and small enough not to waste its space.
- RecvByteBufAllocator.DelegatingHandle - Class in io.netty.channel
-
A
RecvByteBufAllocator.Handlewhich delegates all call to some otherRecvByteBufAllocator.Handle. - RecvByteBufAllocator.ExtendedHandle - Interface in io.netty.channel
- RecvByteBufAllocator.Handle - Interface in io.netty.channel
-
Deprecated.
- recycle() - Method in class io.netty.channel.ChannelOutboundBuffer
-
Deprecated.
- refCnt() - Method in class io.netty.channel.DefaultAddressedEnvelope
- ReflectiveChannelFactory<T extends Channel> - Class in io.netty.channel
-
A
ChannelFactorythat instantiates a newChannelby invoking its default constructor reflectively. - ReflectiveChannelFactory(Class<? extends T>) - Constructor for class io.netty.channel.ReflectiveChannelFactory
- register() - Method in class io.netty.bootstrap.AbstractBootstrap
- register() - Method in class io.netty.channel.embedded.EmbeddedChannel
-
Register this
Channelon itsEventLoop. - register(boolean) - Method in class io.netty.channel.embedded.EmbeddedChannel.Builder
- register(Channel) - Method in interface io.netty.channel.EventLoopGroup
- register(Channel) - Method in interface io.netty.channel.IoEventLoopGroup
-
Deprecated.
- register(Channel) - Method in class io.netty.channel.ManualIoEventLoop
-
Deprecated.
- register(Channel) - Method in class io.netty.channel.MultithreadEventLoopGroup
- register(Channel) - Method in class io.netty.channel.SingleThreadEventLoop
- register(Channel) - Method in class io.netty.channel.ThreadPerChannelEventLoopGroup
-
Deprecated.
- register(ChannelPromise) - Method in interface io.netty.channel.EventLoopGroup
- register(ChannelPromise) - Method in interface io.netty.channel.IoEventLoopGroup
-
Deprecated.
- register(ChannelPromise) - Method in class io.netty.channel.ManualIoEventLoop
-
Deprecated.
- register(ChannelPromise) - Method in class io.netty.channel.MultithreadEventLoopGroup
- register(ChannelPromise) - Method in class io.netty.channel.SingleThreadEventLoop
- register(ChannelPromise) - Method in class io.netty.channel.ThreadPerChannelEventLoop
-
Deprecated.
- register(ChannelPromise) - Method in class io.netty.channel.ThreadPerChannelEventLoopGroup
-
Deprecated.
- register(Channel, ChannelPromise) - Method in interface io.netty.channel.EventLoopGroup
-
Deprecated.Use
EventLoopGroup.register(ChannelPromise)instead. - register(Channel, ChannelPromise) - Method in class io.netty.channel.ManualIoEventLoop
-
Deprecated.
- register(Channel, ChannelPromise) - Method in class io.netty.channel.MultithreadEventLoopGroup
-
Deprecated.
- register(Channel, ChannelPromise) - Method in class io.netty.channel.SingleThreadEventLoop
-
Deprecated.
- register(Channel, ChannelPromise) - Method in class io.netty.channel.ThreadPerChannelEventLoop
-
Deprecated.
- register(Channel, ChannelPromise) - Method in class io.netty.channel.ThreadPerChannelEventLoopGroup
-
Deprecated.
- register(EventLoop, ChannelPromise) - Method in class io.netty.channel.AbstractChannel.AbstractUnsafe
- register(EventLoop, ChannelPromise) - Method in interface io.netty.channel.Channel.Unsafe
-
Register the
Channelof theChannelPromiseand notify theChannelFutureonce the registration was complete. - register(IoHandle) - Method in interface io.netty.channel.IoEventLoop
- register(IoHandle) - Method in interface io.netty.channel.IoEventLoopGroup
- register(IoHandle) - Method in interface io.netty.channel.IoHandler
-
Register a
IoHandlefor IO. - register(IoHandle) - Method in class io.netty.channel.local.LocalIoHandler
- register(IoHandle) - Method in class io.netty.channel.ManualIoEventLoop
- register(IoHandle) - Method in class io.netty.channel.nio.NioIoHandler
- register(IoHandle) - Method in class io.netty.channel.SingleThreadIoEventLoop
- register(SelectableChannel, int, NioTask<?>) - Method in class io.netty.channel.nio.NioEventLoop
-
Deprecated.Registers an arbitrary
SelectableChannel, not necessarily created by Netty, to theSelectorof this event loop. - registered() - Method in interface io.netty.channel.IoHandle
-
Called once this
IoHandlewas registered and so will start to receive events viaIoHandle.handle(IoRegistration, IoEvent). - registeredChannels() - Method in class io.netty.channel.nio.NioEventLoop
-
Deprecated.
- registeredChannels() - Method in class io.netty.channel.SingleThreadEventLoop
- registeredChannels() - Method in class io.netty.channel.ThreadPerChannelEventLoop
-
Deprecated.
- registeredChannelsIterator() - Method in class io.netty.channel.nio.NioEventLoop
-
Deprecated.
- registeredChannelsIterator() - Method in class io.netty.channel.SingleThreadEventLoop
- registration() - Method in class io.netty.channel.nio.AbstractNioChannel
- release() - Method in class io.netty.channel.DefaultAddressedEnvelope
- release(int) - Method in class io.netty.channel.DefaultAddressedEnvelope
- release(Channel) - Method in interface io.netty.channel.pool.ChannelPool
-
Release a
Channelback to thisChannelPool. - release(Channel) - Method in class io.netty.channel.pool.SimpleChannelPool
- release(Channel, Promise<Void>) - Method in interface io.netty.channel.pool.ChannelPool
-
Release a
Channelback to thisChannelPool. - release(Channel, Promise<Void>) - Method in class io.netty.channel.pool.FixedChannelPool
- release(Channel, Promise<Void>) - Method in class io.netty.channel.pool.SimpleChannelPool
- releaseAndFailAll(ChannelOutboundInvoker, Throwable) - Method in class io.netty.channel.AbstractCoalescingBufferQueue
-
Release all buffers in the queue and complete all listeners and promises.
- releaseAndFailAll(Throwable) - Method in class io.netty.channel.CoalescingBufferQueue
-
Release all buffers in the queue and complete all listeners and promises.
- releaseHealthCheck() - Method in class io.netty.channel.pool.SimpleChannelPool
-
Indicates whether this pool will check the health of channels before offering them back into the pool.
- releaseInbound() - Method in class io.netty.channel.embedded.EmbeddedChannel
-
Release all buffered inbound messages and return
trueif any were in the inbound buffer,falseotherwise. - releaseOutbound() - Method in class io.netty.channel.embedded.EmbeddedChannel
-
Release all buffered outbound messages and return
trueif any were in the outbound buffer,falseotherwise. - remoteAddress() - Method in class io.netty.bootstrap.BootstrapConfig
-
Returns the configured remote address or
nullif non is configured yet. - remoteAddress() - Method in class io.netty.channel.AbstractChannel.AbstractUnsafe
- remoteAddress() - Method in class io.netty.channel.AbstractChannel
- remoteAddress() - Method in class io.netty.channel.AbstractServerChannel
- remoteAddress() - Method in interface io.netty.channel.Channel
-
Returns the remote address where this channel is connected to.
- remoteAddress() - Method in interface io.netty.channel.Channel.Unsafe
-
Return the
SocketAddressto which is bound remote ornullif none is bound yet. - remoteAddress() - Method in class io.netty.channel.local.LocalChannel
- remoteAddress() - Method in class io.netty.channel.local.LocalServerChannel
- remoteAddress() - Method in interface io.netty.channel.socket.DatagramChannel
- remoteAddress() - Method in class io.netty.channel.socket.nio.NioDatagramChannel
- remoteAddress() - Method in class io.netty.channel.socket.nio.NioServerSocketChannel
- remoteAddress() - Method in class io.netty.channel.socket.nio.NioSocketChannel
- remoteAddress() - Method in class io.netty.channel.socket.oio.OioDatagramChannel
-
Deprecated.
- remoteAddress() - Method in class io.netty.channel.socket.oio.OioServerSocketChannel
-
Deprecated.
- remoteAddress() - Method in class io.netty.channel.socket.oio.OioSocketChannel
-
Deprecated.
- remoteAddress() - Method in interface io.netty.channel.socket.ServerSocketChannel
- remoteAddress() - Method in interface io.netty.channel.socket.SocketChannel
- remoteAddress(String, int) - Method in class io.netty.bootstrap.Bootstrap
- remoteAddress(InetAddress, int) - Method in class io.netty.bootstrap.Bootstrap
- remoteAddress(SocketAddress) - Method in class io.netty.bootstrap.Bootstrap
-
The
SocketAddressto connect to once theBootstrap.connect()method is called. - remoteAddress0() - Method in class io.netty.channel.AbstractChannel
-
Return the
SocketAddresswhich theChannelis connected to. - remoteAddress0() - Method in class io.netty.channel.AbstractServerChannel
- remoteAddress0() - Method in class io.netty.channel.embedded.EmbeddedChannel
- remoteAddress0() - Method in class io.netty.channel.local.LocalChannel
- remoteAddress0() - Method in class io.netty.channel.socket.nio.NioDatagramChannel
- remoteAddress0() - Method in class io.netty.channel.socket.nio.NioDomainSocketChannel
- remoteAddress0() - Method in class io.netty.channel.socket.nio.NioServerDomainSocketChannel
- remoteAddress0() - Method in class io.netty.channel.socket.nio.NioServerSocketChannel
- remoteAddress0() - Method in class io.netty.channel.socket.nio.NioSocketChannel
- remoteAddress0() - Method in class io.netty.channel.socket.oio.OioDatagramChannel
-
Deprecated.
- remoteAddress0() - Method in class io.netty.channel.socket.oio.OioServerSocketChannel
-
Deprecated.
- remoteAddress0() - Method in class io.netty.channel.socket.oio.OioSocketChannel
-
Deprecated.
- remove() - Method in class io.netty.channel.ChannelOutboundBuffer
-
Will remove the current message, mark its
ChannelPromiseas success and returntrue. - remove() - Method in class io.netty.channel.PendingWriteQueue
-
Removes a pending write operation and release it's message via
ReferenceCountUtil.safeRelease(Object). - remove() - Method in class io.netty.channel.SingleThreadEventLoop.ChannelsReadOnlyIterator
- remove(int, ChannelPromise) - Method in class io.netty.channel.CoalescingBufferQueue
-
Remove a
ByteBuffrom the queue with the specified number of bytes. - remove(ByteBufAllocator, int, ChannelPromise) - Method in class io.netty.channel.AbstractCoalescingBufferQueue
-
Remove a
ByteBuffrom the queue with the specified number of bytes. - remove(ChannelHandler) - Method in interface io.netty.channel.ChannelPipeline
-
Removes the specified
ChannelHandlerfrom this pipeline. - remove(ChannelHandler) - Method in class io.netty.channel.DefaultChannelPipeline
- remove(Class<T>) - Method in interface io.netty.channel.ChannelPipeline
-
Removes the
ChannelHandlerof the specified type from this pipeline. - remove(Class<T>) - Method in class io.netty.channel.DefaultChannelPipeline
- remove(Object) - Method in class io.netty.channel.group.DefaultChannelGroup
- remove(String) - Method in interface io.netty.channel.ChannelPipeline
-
Removes the
ChannelHandlerwith the specified name from this pipeline. - remove(String) - Method in class io.netty.channel.DefaultChannelPipeline
- remove(Throwable) - Method in class io.netty.channel.ChannelOutboundBuffer
-
Will remove the current message, mark its
ChannelPromiseas failure using the givenThrowableand returntrue. - remove(K) - Method in class io.netty.channel.pool.AbstractChannelPoolMap
-
Remove the
ChannelPoolfrom thisAbstractChannelPoolMap. - removeAndFail(Throwable) - Method in class io.netty.channel.PendingWriteQueue
-
Remove a pending write operation and fail it with the given
Throwable. - removeAndFailAll(Throwable) - Method in class io.netty.channel.PendingWriteQueue
-
Remove all pending write operation and fail them with the given
Throwable. - removeAndSubmit(NioIoOps) - Method in class io.netty.channel.nio.AbstractNioChannel
- removeAndWrite() - Method in class io.netty.channel.PendingWriteQueue
-
Removes a pending write operation and performs it via
ChannelOutboundInvoker.write(Object, ChannelPromise). - removeAndWriteAll() - Method in class io.netty.channel.PendingWriteQueue
-
Remove all pending write operation and performs them via
ChannelOutboundInvoker.write(Object, ChannelPromise). - removeBytes(long) - Method in class io.netty.channel.ChannelOutboundBuffer
-
Removes the fully written entries and update the reader index of the partially written entry.
- removeEmptyValue() - Method in class io.netty.channel.AbstractCoalescingBufferQueue
-
The value to return when
AbstractCoalescingBufferQueue.remove(ByteBufAllocator, int, ChannelPromise)is called but the queue is empty. - removeEmptyValue() - Method in class io.netty.channel.CoalescingBufferQueue
- removeFirst() - Method in interface io.netty.channel.ChannelPipeline
-
Removes the first
ChannelHandlerin this pipeline. - removeFirst() - Method in class io.netty.channel.DefaultChannelPipeline
- removeFirst(ChannelPromise) - Method in class io.netty.channel.AbstractCoalescingBufferQueue
-
Remove the first
ByteBuffrom the queue. - removeIfExists(ChannelHandler) - Method in class io.netty.channel.DefaultChannelPipeline
- removeIfExists(Class<T>) - Method in class io.netty.channel.DefaultChannelPipeline
- removeIfExists(String) - Method in class io.netty.channel.DefaultChannelPipeline
- removeInboundHandler() - Method in class io.netty.channel.CombinedChannelDuplexHandler
-
Removes the
ChannelInboundHandlerthat was combined in thisCombinedChannelDuplexHandler. - removeLast() - Method in interface io.netty.channel.ChannelPipeline
-
Removes the last
ChannelHandlerin this pipeline. - removeLast() - Method in class io.netty.channel.DefaultChannelPipeline
- removeListener(GenericFutureListener<? extends Future<? super Void>>) - Method in interface io.netty.channel.ChannelFuture
- removeListener(GenericFutureListener<? extends Future<? super Void>>) - Method in interface io.netty.channel.ChannelProgressiveFuture
- removeListener(GenericFutureListener<? extends Future<? super Void>>) - Method in interface io.netty.channel.ChannelProgressivePromise
- removeListener(GenericFutureListener<? extends Future<? super Void>>) - Method in interface io.netty.channel.ChannelPromise
- removeListener(GenericFutureListener<? extends Future<? super Void>>) - Method in class io.netty.channel.DefaultChannelProgressivePromise
- removeListener(GenericFutureListener<? extends Future<? super Void>>) - Method in class io.netty.channel.DefaultChannelPromise
- removeListener(GenericFutureListener<? extends Future<? super Void>>) - Method in class io.netty.channel.DelegatingChannelPromiseNotifier
- removeListener(GenericFutureListener<? extends Future<? super Void>>) - Method in interface io.netty.channel.group.ChannelGroupFuture
- removeListener(GenericFutureListener<? extends Future<? super Void>>) - Method in class io.netty.channel.VoidChannelPromise
- removeListeners(GenericFutureListener<? extends Future<? super Void>>...) - Method in interface io.netty.channel.ChannelFuture
- removeListeners(GenericFutureListener<? extends Future<? super Void>>...) - Method in interface io.netty.channel.ChannelProgressiveFuture
- removeListeners(GenericFutureListener<? extends Future<? super Void>>...) - Method in interface io.netty.channel.ChannelProgressivePromise
- removeListeners(GenericFutureListener<? extends Future<? super Void>>...) - Method in interface io.netty.channel.ChannelPromise
- removeListeners(GenericFutureListener<? extends Future<? super Void>>...) - Method in class io.netty.channel.DefaultChannelProgressivePromise
- removeListeners(GenericFutureListener<? extends Future<? super Void>>...) - Method in class io.netty.channel.DefaultChannelPromise
- removeListeners(GenericFutureListener<? extends Future<? super Void>>...) - Method in class io.netty.channel.DelegatingChannelPromiseNotifier
- removeListeners(GenericFutureListener<? extends Future<? super Void>>...) - Method in interface io.netty.channel.group.ChannelGroupFuture
- removeListeners(GenericFutureListener<? extends Future<? super Void>>...) - Method in class io.netty.channel.VoidChannelPromise
- removeOutboundHandler() - Method in class io.netty.channel.CombinedChannelDuplexHandler
-
Removes the
ChannelOutboundHandlerthat was combined in thisCombinedChannelDuplexHandler. - removeReadOp() - Method in class io.netty.channel.nio.AbstractNioChannel.AbstractNioUnsafe
- replace(ByteBuf) - Method in class io.netty.channel.socket.DatagramPacket
- replace(ChannelHandler, String, ChannelHandler) - Method in interface io.netty.channel.ChannelPipeline
-
Replaces the specified
ChannelHandlerwith a new handler in this pipeline. - replace(ChannelHandler, String, ChannelHandler) - Method in class io.netty.channel.DefaultChannelPipeline
- replace(Class<T>, String, ChannelHandler) - Method in interface io.netty.channel.ChannelPipeline
-
Replaces the
ChannelHandlerof the specified type with a new handler in this pipeline. - replace(Class<T>, String, ChannelHandler) - Method in class io.netty.channel.DefaultChannelPipeline
- replace(String, String, ChannelHandler) - Method in interface io.netty.channel.ChannelPipeline
-
Replaces the
ChannelHandlerof the specified name with a new handler in this pipeline. - replace(String, String, ChannelHandler) - Method in class io.netty.channel.DefaultChannelPipeline
- reportActiveIoTime(long) - Method in interface io.netty.channel.IoHandlerContext
-
Reports the amount of time in nanoseconds that was spent actively processing I/O events.
- reset(ChannelConfig) - Method in class io.netty.channel.DefaultMaxMessagesRecvByteBufAllocator.MaxMessageHandle
-
Only
ChannelConfig.getMaxMessagesPerRead()is used. - reset(ChannelConfig) - Method in class io.netty.channel.RecvByteBufAllocator.DelegatingHandle
- reset(ChannelConfig) - Method in interface io.netty.channel.RecvByteBufAllocator.Handle
-
Deprecated.Reset any counters that have accumulated and recommend how many messages/bytes should be read for the next read loop.
- resolver() - Method in class io.netty.bootstrap.BootstrapConfig
-
Returns the configured
AddressResolverGroup,nullif resolver was disabled withBootstrap.disableResolver(), or the default if not configured yet. - resolver(AddressResolverGroup<?>) - Method in class io.netty.bootstrap.Bootstrap
-
Sets the
NameResolverwhich will resolve the address of the unresolved named address. - respectMaybeMoreData() - Method in class io.netty.channel.DefaultMaxMessagesRecvByteBufAllocator
-
Get if future instances of
RecvByteBufAllocator.newHandle()will stop reading if we think there is no more data. - respectMaybeMoreData(boolean) - Method in class io.netty.channel.AdaptiveRecvByteBufAllocator
- respectMaybeMoreData(boolean) - Method in class io.netty.channel.DefaultMaxMessagesRecvByteBufAllocator
-
Determine if future instances of
RecvByteBufAllocator.newHandle()will stop reading if we think there is no more data. - respectMaybeMoreData(boolean) - Method in class io.netty.channel.FixedRecvByteBufAllocator
- retain() - Method in interface io.netty.channel.AddressedEnvelope
- retain() - Method in class io.netty.channel.DefaultAddressedEnvelope
- retain() - Method in class io.netty.channel.DefaultFileRegion
- retain() - Method in interface io.netty.channel.FileRegion
- retain() - Method in class io.netty.channel.socket.DatagramPacket
- retain(int) - Method in interface io.netty.channel.AddressedEnvelope
- retain(int) - Method in class io.netty.channel.DefaultAddressedEnvelope
- retain(int) - Method in class io.netty.channel.DefaultFileRegion
- retain(int) - Method in interface io.netty.channel.FileRegion
- retain(int) - Method in class io.netty.channel.socket.DatagramPacket
- retainedDuplicate() - Method in class io.netty.channel.socket.DatagramPacket
- run() - Method in class io.netty.channel.DefaultEventLoop
- run() - Method in class io.netty.channel.SingleThreadIoEventLoop
- run() - Method in class io.netty.channel.ThreadPerChannelEventLoop
-
Deprecated.
- run(long) - Method in class io.netty.channel.ManualIoEventLoop
-
Run all ready IO and tasks for this
IoEventLoop. - run(long, long) - Method in class io.netty.channel.ManualIoEventLoop
-
Run all ready IO and tasks for this
IoEventLoop. - run(IoHandlerContext) - Method in interface io.netty.channel.IoHandler
-
Run the IO handled by this
IoHandler. - run(IoHandlerContext) - Method in class io.netty.channel.local.LocalIoHandler
- run(IoHandlerContext) - Method in class io.netty.channel.nio.NioIoHandler
- runIo() - Method in class io.netty.channel.SingleThreadIoEventLoop
-
Called when IO will be processed for all the
IoHandles on thisSingleThreadIoEventLoop. - runNonBlockingTasks(long) - Method in class io.netty.channel.ManualIoEventLoop
-
Poll and run tasks from the task queue, until the task queue is empty or the given deadline is exceeded.
IftimeoutNanosis less or equals 0, no deadline is applied. - runNow() - Method in class io.netty.channel.ManualIoEventLoop
-
Run all ready IO and tasks for this
IoEventLoop. - runNow(long) - Method in class io.netty.channel.ManualIoEventLoop
-
Executes all ready IO and tasks for this
IoEventLoop. - runPendingTasks() - Method in class io.netty.channel.embedded.EmbeddedChannel
- runScheduledPendingTasks() - Method in class io.netty.channel.embedded.EmbeddedChannel
S
- safeSetFailure(ChannelPromise, Throwable) - Method in class io.netty.channel.AbstractChannel.AbstractUnsafe
-
Marks the specified
promiseas failure. - safeSetSuccess(ChannelPromise) - Method in class io.netty.channel.AbstractChannel.AbstractUnsafe
-
Marks the specified
promiseas success. - SELECT - Static variable in interface io.netty.channel.SelectStrategy
-
Indicates a blocking select should follow.
- selectableChannel() - Method in class io.netty.channel.nio.AbstractNioChannel.AbstractNioUnsafe
- selectableChannel() - Method in interface io.netty.channel.nio.NioIoHandle
-
The underlying
SelectableChannel. - selectableChannel() - Method in class io.netty.channel.nio.NioSelectableChannelIoHandle
- selectionKey() - Method in class io.netty.channel.nio.AbstractNioChannel
-
Deprecated.use
AbstractNioChannel.registration. - selectorProvider() - Method in class io.netty.channel.nio.NioEventLoop
-
Deprecated.
- selectorProvider() - Method in class io.netty.channel.nio.NioIoHandler
- SelectStrategy - Interface in io.netty.channel
-
Select strategy interface.
- SelectStrategyFactory - Interface in io.netty.channel
-
Factory that creates a new
SelectStrategyevery time. - sender() - Method in interface io.netty.channel.AddressedEnvelope
-
Returns the address of the sender of this message.
- sender() - Method in class io.netty.channel.DefaultAddressedEnvelope
- ServerBootstrap - Class in io.netty.bootstrap
-
Bootstrapsub-class which allows easy bootstrap ofServerChannel - ServerBootstrap() - Constructor for class io.netty.bootstrap.ServerBootstrap
- ServerBootstrapConfig - Class in io.netty.bootstrap
-
Exposes the configuration of a
ServerBootstrapConfig. - ServerChannel - Interface in io.netty.channel
- ServerChannelRecvByteBufAllocator - Class in io.netty.channel
-
MaxMessagesRecvByteBufAllocatorimplementation which should be used forServerChannels. - ServerChannelRecvByteBufAllocator() - Constructor for class io.netty.channel.ServerChannelRecvByteBufAllocator
- ServerSocketChannel - Interface in io.netty.channel.socket
-
A TCP/IP
ServerChannelwhich accepts incoming TCP/IP connections. - ServerSocketChannelConfig - Interface in io.netty.channel.socket
-
A
ChannelConfigfor aServerSocketChannel. - setAllocator(ByteBufAllocator) - Method in interface io.netty.channel.ChannelConfig
-
Set the
ByteBufAllocatorwhich is used for the channel to allocate buffers. - setAllocator(ByteBufAllocator) - Method in class io.netty.channel.DefaultChannelConfig
- setAllocator(ByteBufAllocator) - Method in interface io.netty.channel.socket.DatagramChannelConfig
- setAllocator(ByteBufAllocator) - Method in class io.netty.channel.socket.DefaultDatagramChannelConfig
- setAllocator(ByteBufAllocator) - Method in class io.netty.channel.socket.DefaultServerSocketChannelConfig
- setAllocator(ByteBufAllocator) - Method in class io.netty.channel.socket.DefaultSocketChannelConfig
- setAllocator(ByteBufAllocator) - Method in interface io.netty.channel.socket.DuplexChannelConfig
- setAllocator(ByteBufAllocator) - Method in class io.netty.channel.socket.oio.DefaultOioServerSocketChannelConfig
-
Deprecated.
- setAllocator(ByteBufAllocator) - Method in class io.netty.channel.socket.oio.DefaultOioSocketChannelConfig
-
Deprecated.
- setAllocator(ByteBufAllocator) - Method in interface io.netty.channel.socket.oio.OioDatagramChannelConfig
-
Deprecated.
- setAllocator(ByteBufAllocator) - Method in interface io.netty.channel.socket.oio.OioServerSocketChannelConfig
-
Deprecated.
- setAllocator(ByteBufAllocator) - Method in interface io.netty.channel.socket.oio.OioSocketChannelConfig
-
Deprecated.
- setAllocator(ByteBufAllocator) - Method in interface io.netty.channel.socket.ServerSocketChannelConfig
- setAllocator(ByteBufAllocator) - Method in interface io.netty.channel.socket.SocketChannelConfig
- setAllowHalfClosure(boolean) - Method in class io.netty.channel.socket.DefaultSocketChannelConfig
- setAllowHalfClosure(boolean) - Method in interface io.netty.channel.socket.DuplexChannelConfig
-
Sets whether the channel should not close itself when its remote peer shuts down output to make the connection half-closed.
- setAllowHalfClosure(boolean) - Method in class io.netty.channel.socket.oio.DefaultOioSocketChannelConfig
-
Deprecated.
- setAllowHalfClosure(boolean) - Method in interface io.netty.channel.socket.oio.OioSocketChannelConfig
-
Deprecated.
- setAllowHalfClosure(boolean) - Method in interface io.netty.channel.socket.SocketChannelConfig
- setAutoClose(boolean) - Method in interface io.netty.channel.ChannelConfig
-
Sets whether the
Channelshould be closed automatically and immediately on write failure. - setAutoClose(boolean) - Method in class io.netty.channel.DefaultChannelConfig
- setAutoClose(boolean) - Method in interface io.netty.channel.socket.DatagramChannelConfig
- setAutoClose(boolean) - Method in class io.netty.channel.socket.DefaultDatagramChannelConfig
- setAutoClose(boolean) - Method in class io.netty.channel.socket.DefaultSocketChannelConfig
- setAutoClose(boolean) - Method in interface io.netty.channel.socket.DuplexChannelConfig
- setAutoClose(boolean) - Method in class io.netty.channel.socket.oio.DefaultOioServerSocketChannelConfig
-
Deprecated.
- setAutoClose(boolean) - Method in class io.netty.channel.socket.oio.DefaultOioSocketChannelConfig
-
Deprecated.
- setAutoClose(boolean) - Method in interface io.netty.channel.socket.oio.OioDatagramChannelConfig
-
Deprecated.
- setAutoClose(boolean) - Method in interface io.netty.channel.socket.oio.OioServerSocketChannelConfig
-
Deprecated.
- setAutoClose(boolean) - Method in interface io.netty.channel.socket.oio.OioSocketChannelConfig
-
Deprecated.
- setAutoClose(boolean) - Method in interface io.netty.channel.socket.SocketChannelConfig
- setAutoRead(boolean) - Method in interface io.netty.channel.ChannelConfig
-
Sets if
ChannelHandlerContext.read()will be invoked automatically so that a user application doesn't need to call it at all. - setAutoRead(boolean) - Method in class io.netty.channel.DefaultChannelConfig
- setAutoRead(boolean) - Method in interface io.netty.channel.socket.DatagramChannelConfig
- setAutoRead(boolean) - Method in class io.netty.channel.socket.DefaultDatagramChannelConfig
- setAutoRead(boolean) - Method in class io.netty.channel.socket.DefaultServerSocketChannelConfig
- setAutoRead(boolean) - Method in class io.netty.channel.socket.DefaultSocketChannelConfig
- setAutoRead(boolean) - Method in interface io.netty.channel.socket.DuplexChannelConfig
- setAutoRead(boolean) - Method in class io.netty.channel.socket.oio.DefaultOioServerSocketChannelConfig
-
Deprecated.
- setAutoRead(boolean) - Method in class io.netty.channel.socket.oio.DefaultOioSocketChannelConfig
-
Deprecated.
- setAutoRead(boolean) - Method in interface io.netty.channel.socket.oio.OioDatagramChannelConfig
-
Deprecated.
- setAutoRead(boolean) - Method in interface io.netty.channel.socket.oio.OioServerSocketChannelConfig
-
Deprecated.
- setAutoRead(boolean) - Method in interface io.netty.channel.socket.oio.OioSocketChannelConfig
-
Deprecated.
- setAutoRead(boolean) - Method in interface io.netty.channel.socket.ServerSocketChannelConfig
- setAutoRead(boolean) - Method in interface io.netty.channel.socket.SocketChannelConfig
- setBacklog(int) - Method in class io.netty.channel.socket.DefaultServerSocketChannelConfig
- setBacklog(int) - Method in class io.netty.channel.socket.oio.DefaultOioServerSocketChannelConfig
-
Deprecated.
- setBacklog(int) - Method in interface io.netty.channel.socket.oio.OioServerSocketChannelConfig
-
Deprecated.
- setBacklog(int) - Method in interface io.netty.channel.socket.ServerSocketChannelConfig
-
Sets the backlog value to specify when the channel binds to a local address.
- setBroadcast(boolean) - Method in interface io.netty.channel.socket.DatagramChannelConfig
-
Sets the
StandardSocketOptions.SO_BROADCASToption. - setBroadcast(boolean) - Method in class io.netty.channel.socket.DefaultDatagramChannelConfig
- setBroadcast(boolean) - Method in interface io.netty.channel.socket.oio.OioDatagramChannelConfig
-
Deprecated.
- setConnectTimeoutMillis(int) - Method in interface io.netty.channel.ChannelConfig
-
Sets the connect timeout of the channel in milliseconds.
- setConnectTimeoutMillis(int) - Method in class io.netty.channel.DefaultChannelConfig
- setConnectTimeoutMillis(int) - Method in interface io.netty.channel.socket.DatagramChannelConfig
- setConnectTimeoutMillis(int) - Method in class io.netty.channel.socket.DefaultDatagramChannelConfig
- setConnectTimeoutMillis(int) - Method in class io.netty.channel.socket.DefaultServerSocketChannelConfig
- setConnectTimeoutMillis(int) - Method in class io.netty.channel.socket.DefaultSocketChannelConfig
- setConnectTimeoutMillis(int) - Method in class io.netty.channel.socket.oio.DefaultOioServerSocketChannelConfig
-
Deprecated.
- setConnectTimeoutMillis(int) - Method in class io.netty.channel.socket.oio.DefaultOioSocketChannelConfig
-
Deprecated.
- setConnectTimeoutMillis(int) - Method in interface io.netty.channel.socket.oio.OioDatagramChannelConfig
-
Deprecated.
- setConnectTimeoutMillis(int) - Method in interface io.netty.channel.socket.oio.OioServerSocketChannelConfig
-
Deprecated.
- setConnectTimeoutMillis(int) - Method in interface io.netty.channel.socket.oio.OioSocketChannelConfig
-
Deprecated.
- setConnectTimeoutMillis(int) - Method in interface io.netty.channel.socket.ServerSocketChannelConfig
- setConnectTimeoutMillis(int) - Method in interface io.netty.channel.socket.SocketChannelConfig
- setFailure(Throwable) - Method in interface io.netty.channel.ChannelProgressivePromise
- setFailure(Throwable) - Method in interface io.netty.channel.ChannelPromise
- setFailure(Throwable) - Method in class io.netty.channel.DefaultChannelProgressivePromise
- setFailure(Throwable) - Method in class io.netty.channel.DefaultChannelPromise
- setFailure(Throwable) - Method in class io.netty.channel.DelegatingChannelPromiseNotifier
- setFailure(Throwable) - Method in class io.netty.channel.VoidChannelPromise
- setInterface(InetAddress) - Method in interface io.netty.channel.socket.DatagramChannelConfig
-
Sets the address of the network interface used for multicast packets.
- setInterface(InetAddress) - Method in class io.netty.channel.socket.DefaultDatagramChannelConfig
- setInterface(InetAddress) - Method in interface io.netty.channel.socket.oio.OioDatagramChannelConfig
-
Deprecated.
- setIoRatio(int) - Method in class io.netty.channel.nio.NioEventLoop
-
Deprecated.
- setIoRatio(int) - Method in class io.netty.channel.nio.NioEventLoopGroup
-
Deprecated.
- setKeepAlive(boolean) - Method in class io.netty.channel.socket.DefaultSocketChannelConfig
- setKeepAlive(boolean) - Method in class io.netty.channel.socket.oio.DefaultOioSocketChannelConfig
-
Deprecated.
- setKeepAlive(boolean) - Method in interface io.netty.channel.socket.oio.OioSocketChannelConfig
-
Deprecated.
- setKeepAlive(boolean) - Method in interface io.netty.channel.socket.SocketChannelConfig
-
Sets the
StandardSocketOptions.SO_KEEPALIVEoption. - setLoopbackModeDisabled(boolean) - Method in interface io.netty.channel.socket.DatagramChannelConfig
-
Sets the
StandardSocketOptions.IP_MULTICAST_LOOPoption. - setLoopbackModeDisabled(boolean) - Method in class io.netty.channel.socket.DefaultDatagramChannelConfig
- setLoopbackModeDisabled(boolean) - Method in interface io.netty.channel.socket.oio.OioDatagramChannelConfig
-
Deprecated.
- setMaxMessagesPerRead(int) - Method in interface io.netty.channel.ChannelConfig
-
Deprecated.Use
MaxMessagesRecvByteBufAllocatorandMaxMessagesRecvByteBufAllocator.maxMessagesPerRead(int).Sets the maximum number of messages to read per read loop. If this value is greater than 1, an event loop might attempt to read multiple times to procure multiple messages.
- setMaxMessagesPerRead(int) - Method in class io.netty.channel.DefaultChannelConfig
-
Deprecated.
- setMaxMessagesPerRead(int) - Method in interface io.netty.channel.socket.DatagramChannelConfig
-
Deprecated.
- setMaxMessagesPerRead(int) - Method in class io.netty.channel.socket.DefaultDatagramChannelConfig
-
Deprecated.
- setMaxMessagesPerRead(int) - Method in class io.netty.channel.socket.DefaultServerSocketChannelConfig
-
Deprecated.
- setMaxMessagesPerRead(int) - Method in class io.netty.channel.socket.DefaultSocketChannelConfig
-
Deprecated.
- setMaxMessagesPerRead(int) - Method in interface io.netty.channel.socket.DuplexChannelConfig
-
Deprecated.
- setMaxMessagesPerRead(int) - Method in class io.netty.channel.socket.oio.DefaultOioServerSocketChannelConfig
-
Deprecated.
- setMaxMessagesPerRead(int) - Method in class io.netty.channel.socket.oio.DefaultOioSocketChannelConfig
-
Deprecated.
- setMaxMessagesPerRead(int) - Method in interface io.netty.channel.socket.oio.OioDatagramChannelConfig
-
Deprecated.
- setMaxMessagesPerRead(int) - Method in interface io.netty.channel.socket.oio.OioServerSocketChannelConfig
-
Deprecated.
- setMaxMessagesPerRead(int) - Method in interface io.netty.channel.socket.oio.OioSocketChannelConfig
-
Deprecated.
- setMaxMessagesPerRead(int) - Method in interface io.netty.channel.socket.ServerSocketChannelConfig
-
Deprecated.
- setMaxMessagesPerRead(int) - Method in interface io.netty.channel.socket.SocketChannelConfig
-
Deprecated.
- setMaxMessagesPerWrite(int) - Method in class io.netty.channel.DefaultChannelConfig
-
Set the maximum number of message to write per eventloop run.
- setMaxMessagesPerWrite(int) - Method in class io.netty.channel.socket.DefaultDatagramChannelConfig
- setMessageSizeEstimator(MessageSizeEstimator) - Method in interface io.netty.channel.ChannelConfig
-
Set the
MessageSizeEstimatorwhich is used for the channel to detect the size of a message. - setMessageSizeEstimator(MessageSizeEstimator) - Method in class io.netty.channel.DefaultChannelConfig
- setMessageSizeEstimator(MessageSizeEstimator) - Method in interface io.netty.channel.socket.DatagramChannelConfig
- setMessageSizeEstimator(MessageSizeEstimator) - Method in class io.netty.channel.socket.DefaultDatagramChannelConfig
- setMessageSizeEstimator(MessageSizeEstimator) - Method in class io.netty.channel.socket.DefaultServerSocketChannelConfig
- setMessageSizeEstimator(MessageSizeEstimator) - Method in class io.netty.channel.socket.DefaultSocketChannelConfig
- setMessageSizeEstimator(MessageSizeEstimator) - Method in interface io.netty.channel.socket.DuplexChannelConfig
- setMessageSizeEstimator(MessageSizeEstimator) - Method in class io.netty.channel.socket.oio.DefaultOioServerSocketChannelConfig
-
Deprecated.
- setMessageSizeEstimator(MessageSizeEstimator) - Method in class io.netty.channel.socket.oio.DefaultOioSocketChannelConfig
-
Deprecated.
- setMessageSizeEstimator(MessageSizeEstimator) - Method in interface io.netty.channel.socket.oio.OioDatagramChannelConfig
-
Deprecated.
- setMessageSizeEstimator(MessageSizeEstimator) - Method in interface io.netty.channel.socket.oio.OioServerSocketChannelConfig
-
Deprecated.
- setMessageSizeEstimator(MessageSizeEstimator) - Method in interface io.netty.channel.socket.oio.OioSocketChannelConfig
-
Deprecated.
- setMessageSizeEstimator(MessageSizeEstimator) - Method in interface io.netty.channel.socket.ServerSocketChannelConfig
- setMessageSizeEstimator(MessageSizeEstimator) - Method in interface io.netty.channel.socket.SocketChannelConfig
- setNetworkInterface(NetworkInterface) - Method in interface io.netty.channel.socket.DatagramChannelConfig
-
Sets the
StandardSocketOptions.IP_MULTICAST_IFoption. - setNetworkInterface(NetworkInterface) - Method in class io.netty.channel.socket.DefaultDatagramChannelConfig
- setNetworkInterface(NetworkInterface) - Method in interface io.netty.channel.socket.oio.OioDatagramChannelConfig
-
Deprecated.
- setOption(ChannelOption<T>, T) - Method in interface io.netty.channel.Channel
-
Sets a configuration property with the specified name and value.
- setOption(ChannelOption<T>, T) - Method in interface io.netty.channel.ChannelConfig
-
Sets a configuration property with the specified name and value.
- setOption(ChannelOption<T>, T) - Method in class io.netty.channel.DefaultChannelConfig
- setOption(ChannelOption<T>, T) - Method in class io.netty.channel.socket.DefaultDatagramChannelConfig
- setOption(ChannelOption<T>, T) - Method in class io.netty.channel.socket.DefaultServerSocketChannelConfig
- setOption(ChannelOption<T>, T) - Method in class io.netty.channel.socket.DefaultSocketChannelConfig
- setOption(ChannelOption<T>, T) - Method in class io.netty.channel.socket.oio.DefaultOioServerSocketChannelConfig
-
Deprecated.
- setOption(ChannelOption<T>, T) - Method in class io.netty.channel.socket.oio.DefaultOioSocketChannelConfig
-
Deprecated.
- setOptions(Map<ChannelOption<?>, ?>) - Method in interface io.netty.channel.ChannelConfig
-
Sets the configuration properties from the specified
Map. - setOptions(Map<ChannelOption<?>, ?>) - Method in class io.netty.channel.DefaultChannelConfig
- setOpWrite() - Method in class io.netty.channel.nio.AbstractNioByteChannel
- setOwningThread(Thread) - Method in class io.netty.channel.ManualIoEventLoop
-
Set the owning thread that will call
ManualIoEventLoop.run(io.netty.channel.IoHandlerContext, long). - setPerformancePreferences(int, int, int) - Method in class io.netty.channel.socket.DefaultServerSocketChannelConfig
- setPerformancePreferences(int, int, int) - Method in class io.netty.channel.socket.DefaultSocketChannelConfig
- setPerformancePreferences(int, int, int) - Method in class io.netty.channel.socket.oio.DefaultOioServerSocketChannelConfig
-
Deprecated.
- setPerformancePreferences(int, int, int) - Method in class io.netty.channel.socket.oio.DefaultOioSocketChannelConfig
-
Deprecated.
- setPerformancePreferences(int, int, int) - Method in interface io.netty.channel.socket.oio.OioServerSocketChannelConfig
-
Deprecated.
- setPerformancePreferences(int, int, int) - Method in interface io.netty.channel.socket.oio.OioSocketChannelConfig
-
Deprecated.
- setPerformancePreferences(int, int, int) - Method in interface io.netty.channel.socket.ServerSocketChannelConfig
-
Sets the performance preferences as specified in
ServerSocket.setPerformancePreferences(int, int, int). - setPerformancePreferences(int, int, int) - Method in interface io.netty.channel.socket.SocketChannelConfig
-
Sets the performance preferences as specified in
Socket.setPerformancePreferences(int, int, int). - setProgress(long, long) - Method in interface io.netty.channel.ChannelProgressivePromise
- setProgress(long, long) - Method in class io.netty.channel.DefaultChannelProgressivePromise
- setReadPending(boolean) - Method in class io.netty.channel.nio.AbstractNioChannel
-
Deprecated.Use
AbstractNioChannel.clearReadPending()if appropriate instead. No longer supported. - setReadPending(boolean) - Method in class io.netty.channel.oio.AbstractOioChannel
-
Deprecated.Use
AbstractOioChannel.clearReadPending()if appropriate instead. No longer supported. - setReadPending(boolean) - Method in class io.netty.channel.socket.nio.NioDatagramChannel
-
Deprecated.
- setReadPending(boolean) - Method in class io.netty.channel.socket.oio.OioServerSocketChannel
-
Deprecated.
- setReadPending(boolean) - Method in class io.netty.channel.socket.oio.OioSocketChannel
-
Deprecated.
- setReceiveBufferSize(int) - Method in interface io.netty.channel.socket.DatagramChannelConfig
-
Sets the
StandardSocketOptions.SO_RCVBUFoption. - setReceiveBufferSize(int) - Method in class io.netty.channel.socket.DefaultDatagramChannelConfig
- setReceiveBufferSize(int) - Method in class io.netty.channel.socket.DefaultServerSocketChannelConfig
- setReceiveBufferSize(int) - Method in class io.netty.channel.socket.DefaultSocketChannelConfig
- setReceiveBufferSize(int) - Method in class io.netty.channel.socket.oio.DefaultOioServerSocketChannelConfig
-
Deprecated.
- setReceiveBufferSize(int) - Method in class io.netty.channel.socket.oio.DefaultOioSocketChannelConfig
-
Deprecated.
- setReceiveBufferSize(int) - Method in interface io.netty.channel.socket.oio.OioDatagramChannelConfig
-
Deprecated.
- setReceiveBufferSize(int) - Method in interface io.netty.channel.socket.oio.OioServerSocketChannelConfig
-
Deprecated.
- setReceiveBufferSize(int) - Method in interface io.netty.channel.socket.oio.OioSocketChannelConfig
-
Deprecated.
- setReceiveBufferSize(int) - Method in interface io.netty.channel.socket.ServerSocketChannelConfig
-
Gets the
StandardSocketOptions.SO_SNDBUFoption. - setReceiveBufferSize(int) - Method in interface io.netty.channel.socket.SocketChannelConfig
-
Sets the
StandardSocketOptions.SO_RCVBUFoption. - setRecvByteBufAllocator(RecvByteBufAllocator) - Method in interface io.netty.channel.ChannelConfig
-
Set the
RecvByteBufAllocatorwhich is used for the channel to allocate receive buffers. - setRecvByteBufAllocator(RecvByteBufAllocator) - Method in class io.netty.channel.DefaultChannelConfig
- setRecvByteBufAllocator(RecvByteBufAllocator) - Method in interface io.netty.channel.socket.DatagramChannelConfig
- setRecvByteBufAllocator(RecvByteBufAllocator) - Method in class io.netty.channel.socket.DefaultDatagramChannelConfig
- setRecvByteBufAllocator(RecvByteBufAllocator) - Method in class io.netty.channel.socket.DefaultServerSocketChannelConfig
- setRecvByteBufAllocator(RecvByteBufAllocator) - Method in class io.netty.channel.socket.DefaultSocketChannelConfig
- setRecvByteBufAllocator(RecvByteBufAllocator) - Method in interface io.netty.channel.socket.DuplexChannelConfig
- setRecvByteBufAllocator(RecvByteBufAllocator) - Method in class io.netty.channel.socket.oio.DefaultOioServerSocketChannelConfig
-
Deprecated.
- setRecvByteBufAllocator(RecvByteBufAllocator) - Method in class io.netty.channel.socket.oio.DefaultOioSocketChannelConfig
-
Deprecated.
- setRecvByteBufAllocator(RecvByteBufAllocator) - Method in interface io.netty.channel.socket.oio.OioDatagramChannelConfig
-
Deprecated.
- setRecvByteBufAllocator(RecvByteBufAllocator) - Method in interface io.netty.channel.socket.oio.OioServerSocketChannelConfig
-
Deprecated.
- setRecvByteBufAllocator(RecvByteBufAllocator) - Method in interface io.netty.channel.socket.oio.OioSocketChannelConfig
-
Deprecated.
- setRecvByteBufAllocator(RecvByteBufAllocator) - Method in interface io.netty.channel.socket.ServerSocketChannelConfig
- setRecvByteBufAllocator(RecvByteBufAllocator) - Method in interface io.netty.channel.socket.SocketChannelConfig
- setReuseAddress(boolean) - Method in interface io.netty.channel.socket.DatagramChannelConfig
-
Gets the
StandardSocketOptions.SO_REUSEADDRoption. - setReuseAddress(boolean) - Method in class io.netty.channel.socket.DefaultDatagramChannelConfig
- setReuseAddress(boolean) - Method in class io.netty.channel.socket.DefaultServerSocketChannelConfig
- setReuseAddress(boolean) - Method in class io.netty.channel.socket.DefaultSocketChannelConfig
- setReuseAddress(boolean) - Method in class io.netty.channel.socket.oio.DefaultOioServerSocketChannelConfig
-
Deprecated.
- setReuseAddress(boolean) - Method in class io.netty.channel.socket.oio.DefaultOioSocketChannelConfig
-
Deprecated.
- setReuseAddress(boolean) - Method in interface io.netty.channel.socket.oio.OioDatagramChannelConfig
-
Deprecated.
- setReuseAddress(boolean) - Method in interface io.netty.channel.socket.oio.OioServerSocketChannelConfig
-
Deprecated.
- setReuseAddress(boolean) - Method in interface io.netty.channel.socket.oio.OioSocketChannelConfig
-
Deprecated.
- setReuseAddress(boolean) - Method in interface io.netty.channel.socket.ServerSocketChannelConfig
-
Sets the
StandardSocketOptions.SO_REUSEADDRoption. - setReuseAddress(boolean) - Method in interface io.netty.channel.socket.SocketChannelConfig
-
Sets the
StandardSocketOptions.SO_REUSEADDRoption. - setSendBufferSize(int) - Method in interface io.netty.channel.socket.DatagramChannelConfig
-
Sets the
StandardSocketOptions.SO_SNDBUFoption. - setSendBufferSize(int) - Method in class io.netty.channel.socket.DefaultDatagramChannelConfig
- setSendBufferSize(int) - Method in class io.netty.channel.socket.DefaultSocketChannelConfig
- setSendBufferSize(int) - Method in class io.netty.channel.socket.oio.DefaultOioSocketChannelConfig
-
Deprecated.
- setSendBufferSize(int) - Method in interface io.netty.channel.socket.oio.OioDatagramChannelConfig
-
Deprecated.
- setSendBufferSize(int) - Method in interface io.netty.channel.socket.oio.OioSocketChannelConfig
-
Deprecated.
- setSendBufferSize(int) - Method in interface io.netty.channel.socket.SocketChannelConfig
-
Sets the
StandardSocketOptions.SO_SNDBUFoption. - setSoLinger(int) - Method in class io.netty.channel.socket.DefaultSocketChannelConfig
- setSoLinger(int) - Method in class io.netty.channel.socket.oio.DefaultOioSocketChannelConfig
-
Deprecated.
- setSoLinger(int) - Method in interface io.netty.channel.socket.oio.OioSocketChannelConfig
-
Deprecated.
- setSoLinger(int) - Method in interface io.netty.channel.socket.SocketChannelConfig
-
Sets the
StandardSocketOptions.SO_LINGERoption. - setSoTimeout(int) - Method in class io.netty.channel.socket.oio.DefaultOioServerSocketChannelConfig
-
Deprecated.
- setSoTimeout(int) - Method in class io.netty.channel.socket.oio.DefaultOioSocketChannelConfig
-
Deprecated.
- setSoTimeout(int) - Method in interface io.netty.channel.socket.oio.OioDatagramChannelConfig
-
Deprecated.Sets the maximal time a operation on the underlying socket may block.
- setSoTimeout(int) - Method in interface io.netty.channel.socket.oio.OioServerSocketChannelConfig
-
Deprecated.Sets the maximal time a operation on the underlying socket may block.
- setSoTimeout(int) - Method in interface io.netty.channel.socket.oio.OioSocketChannelConfig
-
Deprecated.Sets the maximal time a operation on the underlying socket may block.
- setSuccess() - Method in interface io.netty.channel.ChannelProgressivePromise
- setSuccess() - Method in interface io.netty.channel.ChannelPromise
- setSuccess() - Method in class io.netty.channel.DefaultChannelProgressivePromise
- setSuccess() - Method in class io.netty.channel.DefaultChannelPromise
- setSuccess() - Method in class io.netty.channel.DelegatingChannelPromiseNotifier
- setSuccess() - Method in class io.netty.channel.VoidChannelPromise
- setSuccess(Void) - Method in interface io.netty.channel.ChannelProgressivePromise
- setSuccess(Void) - Method in interface io.netty.channel.ChannelPromise
- setSuccess(Void) - Method in class io.netty.channel.DefaultChannelProgressivePromise
- setSuccess(Void) - Method in class io.netty.channel.DefaultChannelPromise
- setSuccess(Void) - Method in class io.netty.channel.DelegatingChannelPromiseNotifier
- setSuccess(Void) - Method in class io.netty.channel.VoidChannelPromise
- setTcpNoDelay(boolean) - Method in class io.netty.channel.socket.DefaultSocketChannelConfig
- setTcpNoDelay(boolean) - Method in class io.netty.channel.socket.oio.DefaultOioSocketChannelConfig
-
Deprecated.
- setTcpNoDelay(boolean) - Method in interface io.netty.channel.socket.oio.OioSocketChannelConfig
-
Deprecated.
- setTcpNoDelay(boolean) - Method in interface io.netty.channel.socket.SocketChannelConfig
-
Sets the
StandardSocketOptions.TCP_NODELAYoption. - setTimeToLive(int) - Method in interface io.netty.channel.socket.DatagramChannelConfig
-
Sets the
StandardSocketOptions.IP_MULTICAST_TTLoption. - setTimeToLive(int) - Method in class io.netty.channel.socket.DefaultDatagramChannelConfig
- setTimeToLive(int) - Method in interface io.netty.channel.socket.oio.OioDatagramChannelConfig
-
Deprecated.
- setTrafficClass(int) - Method in interface io.netty.channel.socket.DatagramChannelConfig
-
Sets the
StandardSocketOptions.IP_TOSoption. - setTrafficClass(int) - Method in class io.netty.channel.socket.DefaultDatagramChannelConfig
- setTrafficClass(int) - Method in class io.netty.channel.socket.DefaultSocketChannelConfig
- setTrafficClass(int) - Method in class io.netty.channel.socket.oio.DefaultOioSocketChannelConfig
-
Deprecated.
- setTrafficClass(int) - Method in interface io.netty.channel.socket.oio.OioDatagramChannelConfig
-
Deprecated.
- setTrafficClass(int) - Method in interface io.netty.channel.socket.oio.OioSocketChannelConfig
-
Deprecated.
- setTrafficClass(int) - Method in interface io.netty.channel.socket.SocketChannelConfig
-
Sets the
StandardSocketOptions.IP_TOSoption. - setUncancellable() - Method in class io.netty.channel.DelegatingChannelPromiseNotifier
- setUncancellable() - Method in class io.netty.channel.VoidChannelPromise
- setUserDefinedWritability(int, boolean) - Method in class io.netty.channel.ChannelOutboundBuffer
-
Sets a user-defined writability flag at the specified index.
- setWriteBufferHighWaterMark(int) - Method in interface io.netty.channel.ChannelConfig
-
Sets the high water mark of the write buffer.
- setWriteBufferHighWaterMark(int) - Method in class io.netty.channel.DefaultChannelConfig
- setWriteBufferHighWaterMark(int) - Method in class io.netty.channel.socket.DefaultDatagramChannelConfig
- setWriteBufferHighWaterMark(int) - Method in class io.netty.channel.socket.DefaultServerSocketChannelConfig
- setWriteBufferHighWaterMark(int) - Method in class io.netty.channel.socket.DefaultSocketChannelConfig
- setWriteBufferHighWaterMark(int) - Method in class io.netty.channel.socket.oio.DefaultOioServerSocketChannelConfig
-
Deprecated.
- setWriteBufferHighWaterMark(int) - Method in class io.netty.channel.socket.oio.DefaultOioSocketChannelConfig
-
Deprecated.
- setWriteBufferHighWaterMark(int) - Method in interface io.netty.channel.socket.oio.OioDatagramChannelConfig
-
Deprecated.
- setWriteBufferHighWaterMark(int) - Method in interface io.netty.channel.socket.oio.OioServerSocketChannelConfig
-
Deprecated.
- setWriteBufferHighWaterMark(int) - Method in interface io.netty.channel.socket.oio.OioSocketChannelConfig
-
Deprecated.
- setWriteBufferHighWaterMark(int) - Method in interface io.netty.channel.socket.ServerSocketChannelConfig
- setWriteBufferLowWaterMark(int) - Method in interface io.netty.channel.ChannelConfig
-
Sets the low water mark of the write buffer.
- setWriteBufferLowWaterMark(int) - Method in class io.netty.channel.DefaultChannelConfig
- setWriteBufferLowWaterMark(int) - Method in class io.netty.channel.socket.DefaultDatagramChannelConfig
- setWriteBufferLowWaterMark(int) - Method in class io.netty.channel.socket.DefaultServerSocketChannelConfig
- setWriteBufferLowWaterMark(int) - Method in class io.netty.channel.socket.DefaultSocketChannelConfig
- setWriteBufferLowWaterMark(int) - Method in class io.netty.channel.socket.oio.DefaultOioServerSocketChannelConfig
-
Deprecated.
- setWriteBufferLowWaterMark(int) - Method in class io.netty.channel.socket.oio.DefaultOioSocketChannelConfig
-
Deprecated.
- setWriteBufferLowWaterMark(int) - Method in interface io.netty.channel.socket.oio.OioDatagramChannelConfig
-
Deprecated.
- setWriteBufferLowWaterMark(int) - Method in interface io.netty.channel.socket.oio.OioServerSocketChannelConfig
-
Deprecated.
- setWriteBufferLowWaterMark(int) - Method in interface io.netty.channel.socket.oio.OioSocketChannelConfig
-
Deprecated.
- setWriteBufferLowWaterMark(int) - Method in interface io.netty.channel.socket.ServerSocketChannelConfig
- setWriteBufferWaterMark(WriteBufferWaterMark) - Method in interface io.netty.channel.ChannelConfig
-
Set the
WriteBufferWaterMarkwhich is used for setting the high and low water mark of the write buffer. - setWriteBufferWaterMark(WriteBufferWaterMark) - Method in class io.netty.channel.DefaultChannelConfig
- setWriteBufferWaterMark(WriteBufferWaterMark) - Method in interface io.netty.channel.socket.DatagramChannelConfig
- setWriteBufferWaterMark(WriteBufferWaterMark) - Method in class io.netty.channel.socket.DefaultDatagramChannelConfig
- setWriteBufferWaterMark(WriteBufferWaterMark) - Method in class io.netty.channel.socket.DefaultServerSocketChannelConfig
- setWriteBufferWaterMark(WriteBufferWaterMark) - Method in class io.netty.channel.socket.DefaultSocketChannelConfig
- setWriteBufferWaterMark(WriteBufferWaterMark) - Method in interface io.netty.channel.socket.DuplexChannelConfig
- setWriteBufferWaterMark(WriteBufferWaterMark) - Method in class io.netty.channel.socket.oio.DefaultOioServerSocketChannelConfig
-
Deprecated.
- setWriteBufferWaterMark(WriteBufferWaterMark) - Method in class io.netty.channel.socket.oio.DefaultOioSocketChannelConfig
-
Deprecated.
- setWriteBufferWaterMark(WriteBufferWaterMark) - Method in interface io.netty.channel.socket.oio.OioDatagramChannelConfig
-
Deprecated.
- setWriteBufferWaterMark(WriteBufferWaterMark) - Method in interface io.netty.channel.socket.oio.OioServerSocketChannelConfig
-
Deprecated.
- setWriteBufferWaterMark(WriteBufferWaterMark) - Method in interface io.netty.channel.socket.oio.OioSocketChannelConfig
-
Deprecated.
- setWriteBufferWaterMark(WriteBufferWaterMark) - Method in interface io.netty.channel.socket.ServerSocketChannelConfig
- setWriteBufferWaterMark(WriteBufferWaterMark) - Method in interface io.netty.channel.socket.SocketChannelConfig
- setWriteSpinCount(int) - Method in interface io.netty.channel.ChannelConfig
-
Sets the maximum loop count for a write operation until
WritableByteChannel.write(ByteBuffer)returns a non-zero value. - setWriteSpinCount(int) - Method in class io.netty.channel.DefaultChannelConfig
- setWriteSpinCount(int) - Method in interface io.netty.channel.socket.DatagramChannelConfig
- setWriteSpinCount(int) - Method in class io.netty.channel.socket.DefaultDatagramChannelConfig
- setWriteSpinCount(int) - Method in class io.netty.channel.socket.DefaultServerSocketChannelConfig
- setWriteSpinCount(int) - Method in class io.netty.channel.socket.DefaultSocketChannelConfig
- setWriteSpinCount(int) - Method in interface io.netty.channel.socket.DuplexChannelConfig
- setWriteSpinCount(int) - Method in class io.netty.channel.socket.oio.DefaultOioServerSocketChannelConfig
-
Deprecated.
- setWriteSpinCount(int) - Method in class io.netty.channel.socket.oio.DefaultOioSocketChannelConfig
-
Deprecated.
- setWriteSpinCount(int) - Method in interface io.netty.channel.socket.oio.OioDatagramChannelConfig
-
Deprecated.
- setWriteSpinCount(int) - Method in interface io.netty.channel.socket.oio.OioServerSocketChannelConfig
-
Deprecated.
- setWriteSpinCount(int) - Method in interface io.netty.channel.socket.oio.OioSocketChannelConfig
-
Deprecated.
- setWriteSpinCount(int) - Method in interface io.netty.channel.socket.ServerSocketChannelConfig
- setWriteSpinCount(int) - Method in interface io.netty.channel.socket.SocketChannelConfig
- shouldReportActiveIoTime() - Method in interface io.netty.channel.IoHandlerContext
-
Returns
trueif the I/O handler should measure and report its active I/O time. - shutdown() - Method in class io.netty.channel.ManualIoEventLoop
-
Deprecated.
- shutdown() - Method in interface io.netty.channel.socket.DuplexChannel
-
Will shutdown the input and output sides of this channel.
- shutdown() - Method in class io.netty.channel.socket.nio.NioDomainSocketChannel
- shutdown() - Method in class io.netty.channel.socket.nio.NioSocketChannel
- shutdown() - Method in class io.netty.channel.socket.oio.OioSocketChannel
-
Deprecated.
- shutdown() - Method in class io.netty.channel.ThreadPerChannelEventLoopGroup
-
Deprecated.
- shutdown(ChannelPromise) - Method in interface io.netty.channel.socket.DuplexChannel
-
Will shutdown the input and output sides of this channel.
- shutdown(ChannelPromise) - Method in class io.netty.channel.socket.nio.NioDomainSocketChannel
- shutdown(ChannelPromise) - Method in class io.netty.channel.socket.nio.NioSocketChannel
- shutdown(ChannelPromise) - Method in class io.netty.channel.socket.oio.OioSocketChannel
-
Deprecated.
- shutdownGracefully(long, long, TimeUnit) - Method in class io.netty.channel.ManualIoEventLoop
- shutdownGracefully(long, long, TimeUnit) - Method in class io.netty.channel.ThreadPerChannelEventLoopGroup
-
Deprecated.
- shutdownInput() - Method in class io.netty.channel.nio.AbstractNioByteChannel
-
Shutdown the input side of the channel.
- shutdownInput() - Method in class io.netty.channel.oio.AbstractOioByteChannel
-
Deprecated.Shutdown the input side of this channel.
- shutdownInput() - Method in interface io.netty.channel.socket.DuplexChannel
- shutdownInput() - Method in class io.netty.channel.socket.nio.NioDomainSocketChannel
- shutdownInput() - Method in class io.netty.channel.socket.nio.NioSocketChannel
- shutdownInput() - Method in class io.netty.channel.socket.oio.OioSocketChannel
-
Deprecated.
- shutdownInput(ChannelPromise) - Method in interface io.netty.channel.socket.DuplexChannel
-
Will shutdown the input and notify
ChannelPromise. - shutdownInput(ChannelPromise) - Method in class io.netty.channel.socket.nio.NioDomainSocketChannel
- shutdownInput(ChannelPromise) - Method in class io.netty.channel.socket.nio.NioSocketChannel
- shutdownInput(ChannelPromise) - Method in class io.netty.channel.socket.oio.OioSocketChannel
-
Deprecated.
- shutdownOutput() - Method in interface io.netty.channel.socket.DuplexChannel
- shutdownOutput() - Method in class io.netty.channel.socket.nio.NioDomainSocketChannel
- shutdownOutput() - Method in class io.netty.channel.socket.nio.NioSocketChannel
- shutdownOutput() - Method in class io.netty.channel.socket.oio.OioSocketChannel
-
Deprecated.
- shutdownOutput(ChannelPromise) - Method in class io.netty.channel.AbstractChannel.AbstractUnsafe
-
Shutdown the output portion of the corresponding
Channel. - shutdownOutput(ChannelPromise) - Method in interface io.netty.channel.socket.DuplexChannel
-
Will shutdown the output and notify
ChannelPromise. - shutdownOutput(ChannelPromise) - Method in class io.netty.channel.socket.nio.NioDomainSocketChannel
- shutdownOutput(ChannelPromise) - Method in class io.netty.channel.socket.nio.NioSocketChannel
- shutdownOutput(ChannelPromise) - Method in class io.netty.channel.socket.oio.OioSocketChannel
-
Deprecated.
- SimpleChannelInboundHandler<I> - Class in io.netty.channel
-
ChannelInboundHandlerAdapterwhich allows to explicit only handle a specific type of messages. - SimpleChannelInboundHandler() - Constructor for class io.netty.channel.SimpleChannelInboundHandler
-
see
SimpleChannelInboundHandler(boolean)withtrueas boolean parameter. - SimpleChannelInboundHandler(boolean) - Constructor for class io.netty.channel.SimpleChannelInboundHandler
-
Create a new instance which will try to detect the types to match out of the type parameter of the class.
- SimpleChannelInboundHandler(Class<? extends I>) - Constructor for class io.netty.channel.SimpleChannelInboundHandler
-
see
SimpleChannelInboundHandler(Class, boolean)withtrueas boolean value. - SimpleChannelInboundHandler(Class<? extends I>, boolean) - Constructor for class io.netty.channel.SimpleChannelInboundHandler
-
Create a new instance
- SimpleChannelPool - Class in io.netty.channel.pool
-
Simple
ChannelPoolimplementation which will create newChannels if someone tries to acquire aChannelbut none is in the pool atm. - SimpleChannelPool(Bootstrap, ChannelPoolHandler) - Constructor for class io.netty.channel.pool.SimpleChannelPool
-
Creates a new instance using the
ChannelHealthChecker.ACTIVE. - SimpleChannelPool(Bootstrap, ChannelPoolHandler, ChannelHealthChecker) - Constructor for class io.netty.channel.pool.SimpleChannelPool
-
Creates a new instance.
- SimpleChannelPool(Bootstrap, ChannelPoolHandler, ChannelHealthChecker, boolean) - Constructor for class io.netty.channel.pool.SimpleChannelPool
-
Creates a new instance.
- SimpleChannelPool(Bootstrap, ChannelPoolHandler, ChannelHealthChecker, boolean, boolean) - Constructor for class io.netty.channel.pool.SimpleChannelPool
-
Creates a new instance.
- SimpleUserEventChannelHandler<I> - Class in io.netty.channel
-
ChannelInboundHandlerAdapterwhich allows to conveniently only handle a specific type of user events. - SimpleUserEventChannelHandler() - Constructor for class io.netty.channel.SimpleUserEventChannelHandler
-
see
SimpleUserEventChannelHandler(boolean)withtrueas boolean parameter. - SimpleUserEventChannelHandler(boolean) - Constructor for class io.netty.channel.SimpleUserEventChannelHandler
-
Create a new instance which will try to detect the types to match out of the type parameter of the class.
- SimpleUserEventChannelHandler(Class<? extends I>) - Constructor for class io.netty.channel.SimpleUserEventChannelHandler
-
see
SimpleUserEventChannelHandler(Class, boolean)withtrueas boolean value. - SimpleUserEventChannelHandler(Class<? extends I>, boolean) - Constructor for class io.netty.channel.SimpleUserEventChannelHandler
-
Create a new instance
- SINGLE_EVENTEXECUTOR_PER_GROUP - Static variable in class io.netty.channel.ChannelOption
- SingleThreadEventLoop - Class in io.netty.channel
-
Abstract base class for
EventLoops that execute all its submitted tasks in a single thread. - SingleThreadEventLoop(EventLoopGroup, Executor, boolean) - Constructor for class io.netty.channel.SingleThreadEventLoop
- SingleThreadEventLoop(EventLoopGroup, Executor, boolean, boolean) - Constructor for class io.netty.channel.SingleThreadEventLoop
- SingleThreadEventLoop(EventLoopGroup, Executor, boolean, boolean, int, RejectedExecutionHandler) - Constructor for class io.netty.channel.SingleThreadEventLoop
- SingleThreadEventLoop(EventLoopGroup, Executor, boolean, boolean, Queue<Runnable>, Queue<Runnable>, RejectedExecutionHandler) - Constructor for class io.netty.channel.SingleThreadEventLoop
- SingleThreadEventLoop(EventLoopGroup, Executor, boolean, int, RejectedExecutionHandler) - Constructor for class io.netty.channel.SingleThreadEventLoop
- SingleThreadEventLoop(EventLoopGroup, Executor, boolean, Queue<Runnable>, Queue<Runnable>, RejectedExecutionHandler) - Constructor for class io.netty.channel.SingleThreadEventLoop
- SingleThreadEventLoop(EventLoopGroup, ThreadFactory, boolean) - Constructor for class io.netty.channel.SingleThreadEventLoop
- SingleThreadEventLoop(EventLoopGroup, ThreadFactory, boolean, boolean) - Constructor for class io.netty.channel.SingleThreadEventLoop
- SingleThreadEventLoop(EventLoopGroup, ThreadFactory, boolean, boolean, int, RejectedExecutionHandler) - Constructor for class io.netty.channel.SingleThreadEventLoop
- SingleThreadEventLoop(EventLoopGroup, ThreadFactory, boolean, int, RejectedExecutionHandler) - Constructor for class io.netty.channel.SingleThreadEventLoop
- SingleThreadEventLoop.ChannelsReadOnlyIterator<T extends Channel> - Class in io.netty.channel
- SingleThreadIoEventLoop - Class in io.netty.channel
-
IoEventLoopimplementation that execute all its submitted tasks in a single thread using the providedIoHandler. - SingleThreadIoEventLoop(IoEventLoopGroup, Executor, IoHandlerFactory) - Constructor for class io.netty.channel.SingleThreadIoEventLoop
-
Creates a new instance
- SingleThreadIoEventLoop(IoEventLoopGroup, Executor, IoHandlerFactory, int, RejectedExecutionHandler, long) - Constructor for class io.netty.channel.SingleThreadIoEventLoop
-
Creates a new instance
- SingleThreadIoEventLoop(IoEventLoopGroup, Executor, IoHandlerFactory, Queue<Runnable>, Queue<Runnable>, RejectedExecutionHandler) - Constructor for class io.netty.channel.SingleThreadIoEventLoop
-
Creates a new instance
- SingleThreadIoEventLoop(IoEventLoopGroup, ThreadFactory, IoHandlerFactory) - Constructor for class io.netty.channel.SingleThreadIoEventLoop
-
Creates a new instance
- SingleThreadIoEventLoop(IoEventLoopGroup, ThreadFactory, IoHandlerFactory, int, RejectedExecutionHandler, long) - Constructor for class io.netty.channel.SingleThreadIoEventLoop
-
Creates a new instance
- size() - Method in class io.netty.channel.AbstractCoalescingBufferQueue
-
Get the number of elements in this queue added via one of the
AbstractCoalescingBufferQueue.add(ByteBuf)methods. - size() - Method in class io.netty.channel.ChannelOutboundBuffer
-
Returns the number of flushed messages in this
ChannelOutboundBuffer. - size() - Method in class io.netty.channel.group.DefaultChannelGroup
- size() - Method in class io.netty.channel.PendingWriteQueue
-
Returns the number of pending write operations.
- size() - Method in class io.netty.channel.pool.AbstractChannelPoolMap
-
Returns the number of
ChannelPools currently in thisAbstractChannelPoolMap. - size(Object) - Method in interface io.netty.channel.MessageSizeEstimator.Handle
-
Calculate the size of the given message.
- SO_BACKLOG - Static variable in class io.netty.channel.ChannelOption
- SO_BROADCAST - Static variable in class io.netty.channel.ChannelOption
- SO_KEEPALIVE - Static variable in class io.netty.channel.ChannelOption
- SO_LINGER - Static variable in class io.netty.channel.ChannelOption
- SO_RCVBUF - Static variable in class io.netty.channel.ChannelOption
- SO_REUSEADDR - Static variable in class io.netty.channel.ChannelOption
- SO_SNDBUF - Static variable in class io.netty.channel.ChannelOption
- SO_TIMEOUT - Static variable in class io.netty.channel.ChannelOption
- SO_TIMEOUT - Static variable in class io.netty.channel.oio.AbstractOioChannel
-
Deprecated.
- SocketChannel - Interface in io.netty.channel.socket
-
A TCP/IP socket
Channel. - SocketChannelConfig - Interface in io.netty.channel.socket
-
A
ChannelConfigfor aSocketChannel. - SocketProtocolFamily - Enum in io.netty.channel.socket
-
ProtocolFamilyimplementation that is used by the different transport implementations. - submit(IoOps) - Method in interface io.netty.channel.IoRegistration
-
Submit the
IoOpsto the registration. - sync() - Method in interface io.netty.channel.ChannelFuture
- sync() - Method in interface io.netty.channel.ChannelProgressiveFuture
- sync() - Method in interface io.netty.channel.ChannelProgressivePromise
- sync() - Method in interface io.netty.channel.ChannelPromise
- sync() - Method in class io.netty.channel.DefaultChannelProgressivePromise
- sync() - Method in class io.netty.channel.DefaultChannelPromise
- sync() - Method in class io.netty.channel.DelegatingChannelPromiseNotifier
- sync() - Method in interface io.netty.channel.group.ChannelGroupFuture
- sync() - Method in class io.netty.channel.VoidChannelPromise
- syncUninterruptibly() - Method in interface io.netty.channel.ChannelFuture
- syncUninterruptibly() - Method in interface io.netty.channel.ChannelProgressiveFuture
- syncUninterruptibly() - Method in interface io.netty.channel.ChannelProgressivePromise
- syncUninterruptibly() - Method in interface io.netty.channel.ChannelPromise
- syncUninterruptibly() - Method in class io.netty.channel.DefaultChannelProgressivePromise
- syncUninterruptibly() - Method in class io.netty.channel.DefaultChannelPromise
- syncUninterruptibly() - Method in class io.netty.channel.DelegatingChannelPromiseNotifier
- syncUninterruptibly() - Method in interface io.netty.channel.group.ChannelGroupFuture
- syncUninterruptibly() - Method in class io.netty.channel.VoidChannelPromise
T
- TCP_FASTOPEN - Static variable in class io.netty.channel.ChannelOption
-
Server-side TCP FastOpen.
- TCP_FASTOPEN_CONNECT - Static variable in class io.netty.channel.ChannelOption
-
Client-side TCP FastOpen.
- TCP_NODELAY - Static variable in class io.netty.channel.ChannelOption
- terminationFuture() - Method in class io.netty.channel.ManualIoEventLoop
- terminationFuture() - Method in class io.netty.channel.ThreadPerChannelEventLoopGroup
-
Deprecated.
- ThreadPerChannelEventLoop - Class in io.netty.channel
-
Deprecated.this will be remove in the next-major release.
- ThreadPerChannelEventLoop(ThreadPerChannelEventLoopGroup) - Constructor for class io.netty.channel.ThreadPerChannelEventLoop
-
Deprecated.
- ThreadPerChannelEventLoopGroup - Class in io.netty.channel
-
Deprecated.this will be remove in the next-major release.
- ThreadPerChannelEventLoopGroup() - Constructor for class io.netty.channel.ThreadPerChannelEventLoopGroup
-
Deprecated.Create a new
ThreadPerChannelEventLoopGroupwith no limit in place. - ThreadPerChannelEventLoopGroup(int) - Constructor for class io.netty.channel.ThreadPerChannelEventLoopGroup
-
Deprecated.Create a new
ThreadPerChannelEventLoopGroup. - ThreadPerChannelEventLoopGroup(int, Executor, Object...) - Constructor for class io.netty.channel.ThreadPerChannelEventLoopGroup
-
Deprecated.Create a new
ThreadPerChannelEventLoopGroup. - ThreadPerChannelEventLoopGroup(int, ThreadFactory, Object...) - Constructor for class io.netty.channel.ThreadPerChannelEventLoopGroup
-
Deprecated.Create a new
ThreadPerChannelEventLoopGroup. - ticker() - Method in class io.netty.channel.ManualIoEventLoop
- ticker(Ticker) - Method in class io.netty.channel.embedded.EmbeddedChannel.Builder
-
Configure a custom ticker for this event loop.
- toArray() - Method in class io.netty.channel.group.DefaultChannelGroup
- toArray(T[]) - Method in class io.netty.channel.group.DefaultChannelGroup
- toJdkFamily() - Method in enum io.netty.channel.socket.SocketProtocolFamily
-
Return a
ProtocolFamilythat is "known" by the JDK itself and represent the same asSocketProtocolFamily. - toMap() - Method in interface io.netty.channel.ChannelPipeline
-
Converts this pipeline into an ordered
Mapwhose keys are handler names and whose values are handlers. - toMap() - Method in class io.netty.channel.DefaultChannelPipeline
- toSocketProtocolFamily() - Method in enum io.netty.channel.socket.InternetProtocolFamily
-
Deprecated.
- toString() - Method in class io.netty.bootstrap.AbstractBootstrap
- toString() - Method in class io.netty.bootstrap.AbstractBootstrapConfig
- toString() - Method in class io.netty.bootstrap.BootstrapConfig
- toString() - Method in class io.netty.bootstrap.ServerBootstrapConfig
- toString() - Method in class io.netty.channel.AbstractChannel
-
Returns the
Stringrepresentation of this channel. - toString() - Method in class io.netty.channel.AbstractCoalescingBufferQueue
- toString() - Method in class io.netty.channel.DefaultAddressedEnvelope
- toString() - Method in class io.netty.channel.DefaultChannelId
- toString() - Method in class io.netty.channel.DefaultChannelPipeline
-
Returns the
Stringrepresentation of this pipeline. - toString() - Method in class io.netty.channel.group.DefaultChannelGroup
- toString() - Method in class io.netty.channel.local.LocalAddress
- toString() - Method in class io.netty.channel.ReflectiveChannelFactory
- toString() - Method in class io.netty.channel.WriteBufferWaterMark
- totalBytesRead() - Method in class io.netty.channel.DefaultMaxMessagesRecvByteBufAllocator.MaxMessageHandle
- totalPendingWriteBytes() - Method in class io.netty.channel.ChannelOutboundBuffer
- touch() - Method in interface io.netty.channel.AddressedEnvelope
- touch() - Method in class io.netty.channel.DefaultAddressedEnvelope
- touch() - Method in class io.netty.channel.DefaultFileRegion
- touch() - Method in interface io.netty.channel.FileRegion
- touch() - Method in class io.netty.channel.socket.DatagramPacket
- touch(Object) - Method in interface io.netty.channel.AddressedEnvelope
- touch(Object) - Method in class io.netty.channel.DefaultAddressedEnvelope
- touch(Object) - Method in class io.netty.channel.DefaultFileRegion
- touch(Object) - Method in interface io.netty.channel.FileRegion
- touch(Object) - Method in class io.netty.channel.socket.DatagramPacket
- transfered() - Method in class io.netty.channel.DefaultFileRegion
-
Deprecated.
- transfered() - Method in interface io.netty.channel.FileRegion
-
Deprecated.Use
FileRegion.transferred()instead. - transferred() - Method in class io.netty.channel.DefaultFileRegion
- transferred() - Method in interface io.netty.channel.FileRegion
-
Returns the bytes which was transferred already.
- transferTo(WritableByteChannel, long) - Method in class io.netty.channel.DefaultFileRegion
- transferTo(WritableByteChannel, long) - Method in interface io.netty.channel.FileRegion
-
Transfers the content of this file region to the specified channel.
- tryFailure(Throwable) - Method in class io.netty.channel.DelegatingChannelPromiseNotifier
- tryFailure(Throwable) - Method in class io.netty.channel.VoidChannelPromise
- trySuccess() - Method in interface io.netty.channel.ChannelPromise
- trySuccess() - Method in class io.netty.channel.DefaultChannelProgressivePromise
- trySuccess() - Method in class io.netty.channel.DefaultChannelPromise
- trySuccess() - Method in class io.netty.channel.DelegatingChannelPromiseNotifier
- trySuccess() - Method in class io.netty.channel.VoidChannelPromise
- trySuccess(Void) - Method in class io.netty.channel.DelegatingChannelPromiseNotifier
- trySuccess(Void) - Method in class io.netty.channel.VoidChannelPromise
U
- unfreezeTime() - Method in class io.netty.channel.embedded.EmbeddedChannel
-
Unfreeze an event loop that was
frozen. - UNIX - io.netty.channel.socket.SocketProtocolFamily
-
Unix Domain Socket
- unregistered() - Method in interface io.netty.channel.IoHandle
-
Called once this
IoHandlewas unregistered and so will not receive any more events viaIoHandle.handle(IoRegistration, IoEvent). - unsafe() - Method in class io.netty.channel.AbstractChannel
- unsafe() - Method in interface io.netty.channel.Channel
-
Returns an internal-use-only object that provides unsafe operations.
- unsafe() - Method in class io.netty.channel.embedded.EmbeddedChannel
- unsafe() - Method in class io.netty.channel.nio.AbstractNioChannel
- unvoid() - Method in interface io.netty.channel.ChannelProgressivePromise
- unvoid() - Method in interface io.netty.channel.ChannelPromise
- unvoid() - Method in class io.netty.channel.DefaultChannelProgressivePromise
- unvoid() - Method in class io.netty.channel.DefaultChannelPromise
- unvoid() - Method in class io.netty.channel.DelegatingChannelPromiseNotifier
- unvoid() - Method in class io.netty.channel.VoidChannelPromise
- userEventTriggered(ChannelHandlerContext, Object) - Method in interface io.netty.channel.ChannelInboundHandler
-
Gets called if an user event was triggered.
- userEventTriggered(ChannelHandlerContext, Object) - Method in class io.netty.channel.ChannelInboundHandlerAdapter
-
Calls
ChannelHandlerContext.fireUserEventTriggered(Object)to forward to the nextChannelInboundHandlerin theChannelPipeline. - userEventTriggered(ChannelHandlerContext, Object) - Method in class io.netty.channel.CombinedChannelDuplexHandler
- userEventTriggered(ChannelHandlerContext, Object) - Method in class io.netty.channel.SimpleUserEventChannelHandler
V
- validate() - Method in class io.netty.bootstrap.AbstractBootstrap
-
Validate all the parameters.
- validate() - Method in class io.netty.bootstrap.Bootstrap
- validate() - Method in class io.netty.bootstrap.ServerBootstrap
- validate(ChannelOption<T>, T) - Method in class io.netty.channel.DefaultChannelConfig
- validate(T) - Method in class io.netty.channel.ChannelOption
-
Validate the value which is set for the
ChannelOption. - validateFileRegion(DefaultFileRegion, long) - Method in class io.netty.channel.AbstractChannel
- value() - Method in class io.netty.channel.nio.NioIoOps
-
Returns the underlying ops value of the
NioIoOps. - valueOf(int) - Static method in class io.netty.channel.nio.NioIoOps
-
Returns a
NioIoOpsfor the given value. - valueOf(Class<?>, String) - Static method in class io.netty.channel.ChannelOption
- valueOf(String) - Static method in class io.netty.channel.ChannelOption
-
Returns the
ChannelOptionof the specified name. - valueOf(String) - Static method in enum io.netty.channel.pool.FixedChannelPool.AcquireTimeoutAction
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.netty.channel.socket.InternetProtocolFamily
-
Deprecated.Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.netty.channel.socket.SocketProtocolFamily
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.netty.channel.pool.FixedChannelPool.AcquireTimeoutAction
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.netty.channel.socket.InternetProtocolFamily
-
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum io.netty.channel.socket.SocketProtocolFamily
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VoidChannelPromise - Class in io.netty.channel
- VoidChannelPromise(Channel, boolean) - Constructor for class io.netty.channel.VoidChannelPromise
-
Creates a new instance.
- voidPromise() - Method in class io.netty.channel.AbstractChannel.AbstractUnsafe
- voidPromise() - Method in class io.netty.channel.AbstractChannel
- voidPromise() - Method in interface io.netty.channel.Channel.Unsafe
-
Return a special ChannelPromise which can be reused and passed to the operations in
Channel.Unsafe. - voidPromise() - Method in interface io.netty.channel.Channel
- voidPromise() - Method in interface io.netty.channel.ChannelOutboundInvoker
-
Return a special ChannelPromise which can be reused for different operations.
- voidPromise() - Method in class io.netty.channel.DefaultChannelPipeline
W
- wakeup() - Method in interface io.netty.channel.IoHandler
-
Wakeup the
IoHandler, which means if any operation blocks it should be unblocked and return as soon as possible. - wakeup() - Method in class io.netty.channel.local.LocalIoHandler
- wakeup() - Method in class io.netty.channel.ManualIoEventLoop
-
Force a wakeup and so the
ManualIoEventLoop.run(long)method will unblock and return even if there was nothing to do. - wakeup() - Method in class io.netty.channel.nio.NioIoHandler
- wakeup(boolean) - Method in class io.netty.channel.SingleThreadIoEventLoop
- with(NioIoOps) - Method in class io.netty.channel.nio.NioIoOps
- without(NioIoOps) - Method in class io.netty.channel.nio.NioIoOps
- write(ChannelHandlerContext, Object, ChannelPromise) - Method in class io.netty.channel.ChannelDuplexHandler
-
Calls
ChannelOutboundInvoker.write(Object, ChannelPromise)to forward to the nextChannelOutboundHandlerin theChannelPipeline. - write(ChannelHandlerContext, Object, ChannelPromise) - Method in interface io.netty.channel.ChannelOutboundHandler
-
Called once a write operation is made.
- write(ChannelHandlerContext, Object, ChannelPromise) - Method in class io.netty.channel.ChannelOutboundHandlerAdapter
-
Calls
ChannelOutboundInvoker.write(Object, ChannelPromise)to forward to the nextChannelOutboundHandlerin theChannelPipeline. - write(ChannelHandlerContext, Object, ChannelPromise) - Method in class io.netty.channel.CombinedChannelDuplexHandler
- write(Object) - Method in interface io.netty.channel.Channel
- write(Object) - Method in interface io.netty.channel.ChannelOutboundInvoker
-
Request to write a message via this
ChannelHandlerContextthrough theChannelPipeline. - write(Object) - Method in class io.netty.channel.DefaultChannelPipeline
- write(Object) - Method in class io.netty.channel.embedded.EmbeddedChannel
- write(Object) - Method in interface io.netty.channel.group.ChannelGroup
-
Writes the specified
messageto allChannels in this group. - write(Object) - Method in class io.netty.channel.group.DefaultChannelGroup
- write(Object, ChannelPromise) - Method in class io.netty.channel.AbstractChannel.AbstractUnsafe
- write(Object, ChannelPromise) - Method in interface io.netty.channel.Channel.Unsafe
-
Schedules a write operation.
- write(Object, ChannelPromise) - Method in interface io.netty.channel.Channel
- write(Object, ChannelPromise) - Method in interface io.netty.channel.ChannelOutboundInvoker
-
Request to write a message via this
ChannelHandlerContextthrough theChannelPipeline. - write(Object, ChannelPromise) - Method in class io.netty.channel.DefaultChannelPipeline
- write(Object, ChannelPromise) - Method in class io.netty.channel.embedded.EmbeddedChannel
- write(Object, ChannelMatcher) - Method in interface io.netty.channel.group.ChannelGroup
-
Writes the specified
messageto allChannels in this group that are matched by the givenChannelMatcher. - write(Object, ChannelMatcher) - Method in class io.netty.channel.group.DefaultChannelGroup
- write(Object, ChannelMatcher, boolean) - Method in interface io.netty.channel.group.ChannelGroup
-
Writes the specified
messageto allChannels in this group that are matched by the givenChannelMatcher. - write(Object, ChannelMatcher, boolean) - Method in class io.netty.channel.group.DefaultChannelGroup
- WRITE - Static variable in class io.netty.channel.nio.NioIoOps
-
Interested in IO events which tell that the underlying channel is writable again.
- WRITE_BUFFER_HIGH_WATER_MARK - Static variable in class io.netty.channel.ChannelOption
-
Deprecated.
- WRITE_BUFFER_LOW_WATER_MARK - Static variable in class io.netty.channel.ChannelOption
-
Deprecated.
- WRITE_BUFFER_WATER_MARK - Static variable in class io.netty.channel.ChannelOption
- WRITE_SPIN_COUNT - Static variable in class io.netty.channel.ChannelOption
- WRITE_STATUS_SNDBUF_FULL - Static variable in class io.netty.channel.internal.ChannelUtils
- writeAndFlush(Object) - Method in interface io.netty.channel.Channel
- writeAndFlush(Object) - Method in interface io.netty.channel.ChannelOutboundInvoker
-
Shortcut for call
ChannelOutboundInvoker.write(Object)andChannelOutboundInvoker.flush(). - writeAndFlush(Object) - Method in class io.netty.channel.DefaultChannelPipeline
- writeAndFlush(Object) - Method in class io.netty.channel.embedded.EmbeddedChannel
- writeAndFlush(Object) - Method in interface io.netty.channel.group.ChannelGroup
-
Shortcut for calling
ChannelGroup.write(Object)andChannelGroup.flush(). - writeAndFlush(Object) - Method in class io.netty.channel.group.DefaultChannelGroup
- writeAndFlush(Object, ChannelPromise) - Method in interface io.netty.channel.Channel
- writeAndFlush(Object, ChannelPromise) - Method in interface io.netty.channel.ChannelOutboundInvoker
-
Shortcut for call
ChannelOutboundInvoker.write(Object, ChannelPromise)andChannelOutboundInvoker.flush(). - writeAndFlush(Object, ChannelPromise) - Method in class io.netty.channel.DefaultChannelPipeline
- writeAndFlush(Object, ChannelPromise) - Method in class io.netty.channel.embedded.EmbeddedChannel
- writeAndFlush(Object, ChannelMatcher) - Method in interface io.netty.channel.group.ChannelGroup
-
Shortcut for calling
ChannelGroup.write(Object)andChannelGroup.flush()and only act onChannels that are matched by theChannelMatcher. - writeAndFlush(Object, ChannelMatcher) - Method in class io.netty.channel.group.DefaultChannelGroup
- writeAndFlush(Object, ChannelMatcher, boolean) - Method in interface io.netty.channel.group.ChannelGroup
-
Shortcut for calling
ChannelGroup.write(Object, ChannelMatcher, boolean)andChannelGroup.flush()and only act onChannels that are matched by theChannelMatcher. - writeAndFlush(Object, ChannelMatcher, boolean) - Method in class io.netty.channel.group.DefaultChannelGroup
- writeAndRemoveAll(ChannelHandlerContext) - Method in class io.netty.channel.AbstractCoalescingBufferQueue
-
Writes all remaining elements in this queue.
- WriteBufferWaterMark - Class in io.netty.channel
-
WriteBufferWaterMark is used to set low water mark and high water mark for the write buffer.
- WriteBufferWaterMark(int, int) - Constructor for class io.netty.channel.WriteBufferWaterMark
-
Create a new instance.
- writeCounter() - Method in class io.netty.channel.ChannelFlushPromiseNotifier
-
Return the current write counter of this
ChannelFlushPromiseNotifier - writeInbound(Object...) - Method in class io.netty.channel.embedded.EmbeddedChannel
-
Write messages to the inbound of this
Channel. - writeOneInbound(Object) - Method in class io.netty.channel.embedded.EmbeddedChannel
-
Writes one message to the inbound of this
Channeland does not flush it. - writeOneInbound(Object, ChannelPromise) - Method in class io.netty.channel.embedded.EmbeddedChannel
-
Writes one message to the inbound of this
Channeland does not flush it. - writeOneOutbound(Object) - Method in class io.netty.channel.embedded.EmbeddedChannel
-
Writes one message to the outbound of this
Channeland does not flush it. - writeOneOutbound(Object, ChannelPromise) - Method in class io.netty.channel.embedded.EmbeddedChannel
-
Writes one message to the outbound of this
Channeland does not flush it. - writeOutbound(Object...) - Method in class io.netty.channel.embedded.EmbeddedChannel
-
Write messages to the outbound of this
Channel.
All Classes All Packages