Uses of Interface
io.netty.channel.Channel
Packages that use Channel
Package
Description
The helper classes with fluent API which enable an easy implementation of
typical client side and server side channel initialization.
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
A virtual
Channel
that helps wrapping a series of handlers to
unit test the handlers or use them in non-I/O context.Optimized transport for linux which uses EPOLL Edge-Triggered Mode
for maximal performance.
A channel registry which helps a user maintain the list of open
Channel
s and perform bulk operations on them.BSD specific transport.
A virtual transport that enables the communication between the two
parties in the same virtual machine.
NIO-based channel
API implementation - recommended for a large number of connections (>= 1000).
Old blocking I/O based channel API implementation - recommended for
a small number of connections (< 1000).
Implementations and API for
Channel
pools.Abstract SCTP socket interfaces which extend the core channel API.
NIO-based SCTP Channel
API implementation - recommended for a large number of connections (>= 1000).
Old blocking I/O based SCTP channel API implementation - recommended for
a small number of connections (< 1000).
Abstract TCP and UDP socket interfaces which extend the core channel API.
NIO-based socket channel
API implementation - recommended for a large number of connections (>= 1000).
Old blocking I/O based socket channel API implementation - recommended for
a small number of connections (< 1000).
Unix specific transport.
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
Handlers for sending and receiving HTTP/2 frames.
Capture data and write into Pcap format which helps in troubleshooting.
Adds support for client connections via proxy protocols such as
SOCKS and
HTTP CONNECT tunneling
An alternative to Java's built-in domain name lookup mechanism that resolves a domain name asynchronously,
which supports the queries of an arbitrary DNS record type as well.
-
Uses of Channel in io.netty.bootstrap
Classes in io.netty.bootstrap with type parameters of type ChannelModifier and TypeClassDescriptionclass
AbstractBootstrap<B extends AbstractBootstrap<B,
C>, C extends Channel> AbstractBootstrap
is a helper class that makes it easy to bootstrap aChannel
.class
AbstractBootstrapConfig<B extends AbstractBootstrap<B,
C>, C extends Channel> Exposes the configuration of anAbstractBootstrap
.interface
ChannelFactory<T extends Channel>
Deprecated.Classes in io.netty.bootstrap that implement ChannelMethods in io.netty.bootstrap with parameters of type ChannelModifier and TypeMethodDescriptionprivate static void
AbstractBootstrap.doBind0
(ChannelFuture regFuture, Channel channel, SocketAddress localAddress, ChannelPromise promise) private ChannelFuture
Bootstrap.doResolveAndConnect0
(Channel channel, SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) private static void
ServerBootstrap.ServerBootstrapAcceptor.forceClose
(Channel child, Throwable t) (package private) abstract void
(package private) void
(package private) void
void
ChannelInitializerExtension.postInitializeClientChannel
(Channel channel) Called byBootstrap
after the initialization of the given client channel.void
ChannelInitializerExtension.postInitializeServerChildChannel
(Channel channel) Called byServerBootstrap
after the initialization of the given child channel.(package private) static void
AbstractBootstrap.setAttributes
(Channel channel, Map.Entry<AttributeKey<?>, Object>[] attrs) private static void
AbstractBootstrap.setChannelOption
(Channel channel, ChannelOption<?> option, Object value, InternalLogger logger) (package private) static void
AbstractBootstrap.setChannelOptions
(Channel channel, Map.Entry<ChannelOption<?>, Object>[] options, InternalLogger logger) Constructors in io.netty.bootstrap with parameters of type ChannelModifierConstructorDescription(package private)
PendingRegistrationPromise
(Channel channel) (package private)
ServerBootstrapAcceptor
(Channel channel, EventLoopGroup childGroup, ChannelHandler childHandler, Map.Entry<ChannelOption<?>, Object>[] childOptions, Map.Entry<AttributeKey<?>, Object>[] childAttrs, Collection<ChannelInitializerExtension> extensions) -
Uses of Channel in io.netty.channel
Classes in io.netty.channel with type parameters of type ChannelModifier and TypeInterfaceDescriptioninterface
ChannelFactory<T extends Channel>
Creates a newChannel
.class
ChannelInitializer<C extends Channel>
A specialChannelInboundHandler
which offers an easy way to initialize aChannel
once it was registered to itsEventLoop
.class
ReflectiveChannelFactory<T extends Channel>
AChannelFactory
that instantiates a newChannel
by invoking its default constructor reflectively.protected static final class
Subinterfaces of Channel in io.netty.channelModifier and TypeInterfaceDescriptioninterface
Classes in io.netty.channel that implement ChannelModifier and TypeClassDescriptionclass
A skeletalChannel
implementation.class
A skeletal server-sideChannel
implementation.Fields in io.netty.channel declared as ChannelModifier and TypeFieldDescriptionprivate Channel
ThreadPerChannelEventLoop.ch
Deprecated.private final Channel
ChannelOutboundBuffer.channel
private final Channel
CoalescingBufferQueue.channel
private final Channel
CompleteChannelFuture.channel
protected final Channel
DefaultChannelConfig.channel
private final Channel
DefaultChannelPipeline.channel
private final Channel
DefaultChannelProgressivePromise.channel
private final Channel
DefaultChannelPromise.channel
private final Channel
VoidChannelPromise.channel
private final Channel
AbstractChannel.parent
Methods in io.netty.channel that return ChannelModifier and TypeMethodDescriptionAbstractChannelHandlerContext.channel()
ChannelFuture.channel()
Returns a channel where the I/O operation associated with this future takes place.ChannelHandlerContext.channel()
Return theChannel
which is bound to theChannelHandlerContext
.ChannelPipeline.channel()
Returns theChannel
that this pipeline is attached to.ChannelPromise.channel()
CombinedChannelDuplexHandler.DelegatingChannelHandlerContext.channel()
CompleteChannelFuture.channel()
final Channel
DefaultChannelPipeline.channel()
DefaultChannelProgressivePromise.channel()
DefaultChannelPromise.channel()
DelegatingChannelPromiseNotifier.channel()
VoidChannelPromise.channel()
AbstractChannel.flush()
Channel.flush()
SingleThreadEventLoop.ChannelsReadOnlyIterator.next()
AbstractChannel.parent()
Channel.parent()
Returns the parent of this channel.AbstractChannel.read()
Channel.read()
Methods in io.netty.channel that return types with arguments of type ChannelMethods in io.netty.channel with parameters of type ChannelModifier and TypeMethodDescriptionfinal int
(package private) static PendingBytesTracker
PendingBytesTracker.newTracker
(Channel channel) EventLoopGroup.register
(Channel channel, ChannelPromise promise) Deprecated.UseEventLoopGroup.register(ChannelPromise)
instead.MultithreadEventLoopGroup.register
(Channel channel, ChannelPromise promise) Deprecated.SingleThreadEventLoop.register
(Channel channel, ChannelPromise promise) Deprecated.ThreadPerChannelEventLoop.register
(Channel channel, ChannelPromise promise) Deprecated.Deprecated.ThreadPerChannelEventLoopGroup.register
(Channel channel, ChannelPromise promise) Deprecated.Constructors in io.netty.channel with parameters of type ChannelModifierConstructorDescriptionprotected
AbstractChannel
(Channel parent) Creates a new instance.protected
AbstractChannel
(Channel parent, ChannelId id) Creates a new instance.protected
AbstractCoalescingBufferQueue
(Channel channel, int initSize) Create a new instance.CoalescingBufferQueue
(Channel channel) CoalescingBufferQueue
(Channel channel, int initSize) CoalescingBufferQueue
(Channel channel, int initSize, boolean updateWritability) protected
CompleteChannelFuture
(Channel channel, EventExecutor executor) Creates a new instance.DefaultChannelConfig
(Channel channel) protected
DefaultChannelConfig
(Channel channel, RecvByteBufAllocator allocator) protected
DefaultChannelPipeline
(Channel channel) DefaultChannelProgressivePromise
(Channel channel) Creates a new instance.DefaultChannelProgressivePromise
(Channel channel, EventExecutor executor) Creates a new instance.DefaultChannelPromise
(Channel channel) Creates a new instance.DefaultChannelPromise
(Channel channel, EventExecutor executor) Creates a new instance.(package private)
FailedChannelFuture
(Channel channel, EventExecutor executor, Throwable cause) Creates a new instance.PendingWriteQueue
(Channel channel) (package private)
SucceededChannelFuture
(Channel channel, EventExecutor executor) Creates a new instance.VoidChannelPromise
(Channel channel, boolean fireException) Creates a new instance. -
Uses of Channel in io.netty.channel.embedded
Classes in io.netty.channel.embedded that implement ChannelModifier and TypeClassDescriptionclass
Base class forChannel
implementations that are used in an embedded fashion.Methods in io.netty.channel.embedded that return ChannelMethods in io.netty.channel.embedded with parameters of type ChannelModifier and TypeMethodDescriptionEmbeddedEventLoop.register
(Channel channel, ChannelPromise promise) Deprecated.Constructors in io.netty.channel.embedded with parameters of type ChannelModifierConstructorDescriptionEmbeddedChannel
(Channel parent, ChannelId channelId, boolean register, boolean hasDisconnect, ChannelHandler... handlers) Create a new instance with the channel ID set to the given ID and the pipeline initialized with the specified handlers. -
Uses of Channel in io.netty.channel.epoll
Classes in io.netty.channel.epoll that implement ChannelModifier and TypeClassDescription(package private) class
class
class
final class
DatagramChannel
implementation that uses linux EPOLL Edge-Triggered Mode for maximal performance.final class
final class
final class
final class
ServerSocketChannel
implementation that uses linux EPOLL Edge-Triggered Mode for maximal performance.final class
SocketChannel
implementation that uses linux EPOLL Edge-Triggered Mode for maximal performance.Methods in io.netty.channel.epoll that return ChannelModifier and TypeMethodDescriptionprivate static Channel
EpollChannelConfig.checkAbstractEpollChannel
(Channel channel) protected abstract Channel
AbstractEpollServerChannel.newChildChannel
(int fd, byte[] remote, int offset, int len) protected Channel
EpollServerDomainSocketChannel.newChildChannel
(int fd, byte[] addr, int offset, int len) protected Channel
EpollServerSocketChannel.newChildChannel
(int fd, byte[] address, int offset, int len) Methods in io.netty.channel.epoll that return types with arguments of type ChannelMethods in io.netty.channel.epoll with parameters of type ChannelModifier and TypeMethodDescriptionprivate static Channel
EpollChannelConfig.checkAbstractEpollChannel
(Channel channel) Constructors in io.netty.channel.epoll with parameters of type ChannelModifierConstructorDescription(package private)
AbstractEpollChannel
(Channel parent, LinuxSocket fd, boolean active) (package private)
AbstractEpollChannel
(Channel parent, LinuxSocket fd, SocketAddress remote) protected
AbstractEpollStreamChannel
(Channel parent, int fd) (package private)
AbstractEpollStreamChannel
(Channel parent, LinuxSocket fd) protected
AbstractEpollStreamChannel
(Channel parent, LinuxSocket fd, SocketAddress remote) protected
EpollChannelConfig
(Channel channel) protected
EpollChannelConfig
(Channel channel, RecvByteBufAllocator recvByteBufAllocator) EpollDomainSocketChannel
(Channel parent, LinuxSocket fd) (package private)
EpollDomainSocketChannel
(Channel parent, FileDescriptor fd) (package private)
EpollSocketChannel
(Channel parent, LinuxSocket fd, InetSocketAddress remoteAddress) -
Uses of Channel in io.netty.channel.group
Fields in io.netty.channel.group declared as ChannelFields in io.netty.channel.group with type parameters of type ChannelModifier and TypeFieldDescriptionChannelMatchers.ClassMatcher.clazz
private final Collection
<Map.Entry<Channel, Throwable>> ChannelGroupException.failed
private final Map
<Channel, ChannelFuture> DefaultChannelGroupFuture.futures
private final ConcurrentMap
<ChannelId, Channel> DefaultChannelGroup.nonServerChannels
private final ConcurrentMap
<ChannelId, Channel> DefaultChannelGroup.serverChannels
Methods in io.netty.channel.group that return ChannelModifier and TypeMethodDescriptionMethods in io.netty.channel.group that return types with arguments of type ChannelModifier and TypeMethodDescriptionChannelGroupException.iterator()
DefaultChannelGroup.iterator()
Methods in io.netty.channel.group with parameters of type ChannelModifier and TypeMethodDescriptionboolean
Returns theChannelFuture
of the individual I/O operation which is associated with the specifiedChannel
.static ChannelMatcher
Returns aChannelMatcher
that matches the givenChannel
.static ChannelMatcher
Returns aChannelMatcher
that matches allChannel
s except the given.boolean
Returnstrue
if the operation should be also executed on the givenChannel
.boolean
boolean
boolean
boolean
Method parameters in io.netty.channel.group with type arguments of type ChannelModifier and TypeMethodDescriptionstatic ChannelMatcher
ChannelMatchers.isInstanceOf
(Class<? extends Channel> clazz) Returns aChannelMatcher
that matches allChannel
s that are an instance of sub-type of the given class.static ChannelMatcher
ChannelMatchers.isNotInstanceOf
(Class<? extends Channel> clazz) Returns aChannelMatcher
that matches allChannel
s that are not an instance of sub-type of the given class.Constructors in io.netty.channel.group with parameters of type ChannelConstructor parameters in io.netty.channel.group with type arguments of type ChannelModifierConstructorDescriptionChannelGroupException
(Collection<Map.Entry<Channel, Throwable>> causes) (package private)
ClassMatcher
(Class<? extends Channel> clazz) (package private)
DefaultChannelGroupFuture
(ChannelGroup group, Map<Channel, ChannelFuture> futures, EventExecutor executor) -
Uses of Channel in io.netty.channel.kqueue
Classes in io.netty.channel.kqueue that implement ChannelModifier and TypeClassDescription(package private) class
(package private) class
class
class
final class
final class
final class
final class
final class
final class
Methods in io.netty.channel.kqueue that return ChannelModifier and TypeMethodDescription(package private) abstract Channel
AbstractKQueueServerChannel.newChildChannel
(int fd, byte[] remote, int offset, int len) protected Channel
KQueueServerDomainSocketChannel.newChildChannel
(int fd, byte[] addr, int offset, int len) protected Channel
KQueueServerSocketChannel.newChildChannel
(int fd, byte[] address, int offset, int len) Methods in io.netty.channel.kqueue that return types with arguments of type ChannelConstructors in io.netty.channel.kqueue with parameters of type ChannelModifierConstructorDescription(package private)
AbstractKQueueChannel
(Channel parent, BsdSocket fd, boolean active) (package private)
AbstractKQueueChannel
(Channel parent, BsdSocket fd, SocketAddress remote) (package private)
AbstractKQueueDatagramChannel
(Channel parent, BsdSocket fd, boolean active) (package private)
AbstractKQueueStreamChannel
(Channel parent, BsdSocket fd, boolean active) (package private)
AbstractKQueueStreamChannel
(Channel parent, BsdSocket fd, SocketAddress remote) (package private)
KQueueDomainSocketChannel
(Channel parent, BsdSocket fd) (package private)
KQueueSocketChannel
(Channel parent, BsdSocket fd, InetSocketAddress remoteAddress) -
Uses of Channel in io.netty.channel.local
Classes in io.netty.channel.local that implement ChannelModifier and TypeClassDescriptionclass
AChannel
for the local transport.class
AServerChannel
for the local transport which allows in VM communication.Fields in io.netty.channel.local with type parameters of type ChannelModifier and TypeFieldDescriptionprivate static final ConcurrentMap
<LocalAddress, Channel> LocalChannelRegistry.boundChannels
Methods in io.netty.channel.local that return ChannelModifier and TypeMethodDescription(package private) static Channel
LocalChannelRegistry.get
(SocketAddress localAddress) Methods in io.netty.channel.local with parameters of type ChannelModifier and TypeMethodDescription(package private) static LocalAddress
LocalChannelRegistry.register
(Channel channel, LocalAddress oldLocalAddress, SocketAddress localAddress) Constructors in io.netty.channel.local with parameters of type ChannelModifierConstructorDescription(package private)
LocalAddress
(Channel channel) Creates a new ephemeral port based on the ID of the specified channel. -
Uses of Channel in io.netty.channel.nio
Classes in io.netty.channel.nio that implement ChannelModifier and TypeClassDescriptionclass
AbstractNioChannel
base class forChannel
s that operate on bytes.class
Abstract base class forChannel
implementations which use a Selector based approach.class
AbstractNioChannel
base class forChannel
s that operate on messages.Methods in io.netty.channel.nio that return types with arguments of type ChannelConstructors in io.netty.channel.nio with parameters of type ChannelModifierConstructorDescriptionprotected
AbstractNioByteChannel
(Channel parent, SelectableChannel ch) Create a new instanceprotected
AbstractNioChannel
(Channel parent, SelectableChannel ch, int readInterestOp) Create a new instanceprotected
AbstractNioMessageChannel
(Channel parent, SelectableChannel ch, int readInterestOp) -
Uses of Channel in io.netty.channel.oio
Classes in io.netty.channel.oio that implement ChannelModifier and TypeClassDescriptionclass
Deprecated.use NIO / EPOLL / KQUEUE transport.class
Deprecated.use NIO / EPOLL / KQUEUE transport.class
Deprecated.use NIO / EPOLL / KQUEUE transport.class
Deprecated.use NIO / EPOLL / KQUEUE transport.Constructors in io.netty.channel.oio with parameters of type ChannelModifierConstructorDescriptionprotected
AbstractOioByteChannel
(Channel parent) Deprecated.protected
AbstractOioChannel
(Channel parent) Deprecated.protected
AbstractOioMessageChannel
(Channel parent) Deprecated.protected
OioByteStreamChannel
(Channel parent) Deprecated.Create a new instance -
Uses of Channel in io.netty.channel.pool
Fields in io.netty.channel.pool with type parameters of type ChannelModifier and TypeFieldDescriptionSimpleChannelPool.deque
FixedChannelPool.AcquireListener.originalPromise
FixedChannelPool.AcquireTask.promise
Methods in io.netty.channel.pool that return ChannelModifier and TypeMethodDescriptionprotected Channel
SimpleChannelPool.pollChannel()
Poll aChannel
out of the internal storage to reuse it.Methods in io.netty.channel.pool that return types with arguments of type ChannelModifier and TypeMethodDescriptionChannelPool.acquire()
Acquire aChannel
from thisChannelPool
.Acquire aChannel
from thisChannelPool
.SimpleChannelPool.acquire()
SimpleChannelPool.acquireHealthyFromPoolOrNew
(Promise<Channel> promise) Tries to retrieve healthy channel from the pool if any or creates a new channel otherwise.Methods in io.netty.channel.pool with parameters of type ChannelModifier and TypeMethodDescriptionvoid
AbstractChannelPoolHandler.channelAcquired
(Channel ch) NOOP implementation, sub-classes may override this.void
ChannelPoolHandler.channelAcquired
(Channel ch) Called once aChannel
was acquired by callingChannelPool.acquire()
orChannelPool.acquire(Promise)
.void
ChannelPoolHandler.channelCreated
(Channel ch) Called once a newChannel
is created in theChannelPool
.void
AbstractChannelPoolHandler.channelReleased
(Channel ch) NOOP implementation, sub-classes may override this.void
ChannelPoolHandler.channelReleased
(Channel ch) Called once aChannel
was released by callingChannelPool.release(Channel)
orChannelPool.release(Channel, Promise)
.private void
SimpleChannelPool.closeAndFail
(Channel channel, Throwable cause, Promise<?> promise) private void
SimpleChannelPool.closeChannel
(Channel channel) private void
SimpleChannelPool.doHealthCheck
(Channel channel, Promise<Channel> promise) private void
SimpleChannelPool.doHealthCheckOnRelease
(Channel channel, Promise<Void> promise) private void
SimpleChannelPool.doReleaseChannel
(Channel channel, Promise<Void> promise) Check if the given channel is healthy which means it can be used.private void
SimpleChannelPool.notifyHealthCheck
(Future<Boolean> future, Channel channel, Promise<Channel> promise) protected boolean
SimpleChannelPool.offerChannel
(Channel channel) Offer aChannel
back to the internal storage.Release aChannel
back to thisChannelPool
.Release aChannel
back to thisChannelPool
.private void
SimpleChannelPool.releaseAndOffer
(Channel channel, Promise<Void> promise) private void
SimpleChannelPool.releaseAndOfferIfHealthy
(Channel channel, Promise<Void> promise, Future<Boolean> future) Adds the channel back to the pool only if the channel is healthy.Method parameters in io.netty.channel.pool with type arguments of type ChannelModifier and TypeMethodDescriptionAcquire aChannel
from thisChannelPool
.private void
SimpleChannelPool.acquireHealthyFromPoolOrNew
(Promise<Channel> promise) Tries to retrieve healthy channel from the pool if any or creates a new channel otherwise.private void
SimpleChannelPool.doHealthCheck
(Channel channel, Promise<Channel> promise) private void
SimpleChannelPool.notifyConnect
(ChannelFuture future, Promise<Channel> promise) private void
SimpleChannelPool.notifyHealthCheck
(Future<Boolean> future, Channel channel, Promise<Channel> promise) void
FixedChannelPool.AcquireListener.operationComplete
(Future<Channel> future) Constructor parameters in io.netty.channel.pool with type arguments of type ChannelModifierConstructorDescription(package private)
AcquireListener
(Promise<Channel> originalPromise) (package private)
AcquireTask
(Promise<Channel> promise) -
Uses of Channel in io.netty.channel.sctp
Subinterfaces of Channel in io.netty.channel.sctpModifier and TypeInterfaceDescriptioninterface
A SCTP/IPChannel
interface for single SCTP association.interface
A SCTP/IPServerChannel
which accepts incoming SCTP/IP associations. -
Uses of Channel in io.netty.channel.sctp.nio
Classes in io.netty.channel.sctp.nio that implement ChannelModifier and TypeClassDescriptionclass
SctpChannel
implementation which use non-blocking mode and allows to read / writeSctpMessage
s to the underlyingSctpChannel
.class
SctpServerChannel
implementation which use non-blocking mode to accept new connections and create theNioSctpChannel
for them.Constructors in io.netty.channel.sctp.nio with parameters of type ChannelModifierConstructorDescriptionNioSctpChannel
(Channel parent, SctpChannel sctpChannel) Create a new instance -
Uses of Channel in io.netty.channel.sctp.oio
Classes in io.netty.channel.sctp.oio that implement ChannelModifier and TypeClassDescriptionclass
Deprecated.useNioSctpChannel
.class
Deprecated.useNioSctpServerChannel
.Constructors in io.netty.channel.sctp.oio with parameters of type ChannelModifierConstructorDescriptionOioSctpChannel
(Channel parent, SctpChannel ch) Deprecated.Create a new instance from the givenSctpChannel
. -
Uses of Channel in io.netty.channel.socket
Subinterfaces of Channel in io.netty.channel.socketModifier and TypeInterfaceDescriptioninterface
A UDP/IPChannel
.interface
A duplexChannel
that has two sides that can be shutdown independently.interface
A TCP/IPServerChannel
which accepts incoming TCP/IP connections.interface
A TCP/IP socketChannel
. -
Uses of Channel in io.netty.channel.socket.nio
Classes in io.netty.channel.socket.nio that implement ChannelModifier and TypeClassDescriptionfinal class
An NIO datagramChannel
that sends and receives anAddressedEnvelopeinvalid input: '<'ByteBuf, SocketAddress>
.final class
DuplexChannel
which uses NIO selector based implementation to support UNIX Domain Sockets.final class
AServerChannel
implementation which uses NIO selector based implementation to support UNIX Domain Sockets.class
AServerSocketChannel
implementation which uses NIO selector based implementation to accept new connections.class
SocketChannel
which uses NIO selector based implementation.Constructors in io.netty.channel.socket.nio with parameters of type ChannelModifierConstructorDescriptionNioDomainSocketChannel
(Channel parent, SocketChannel socket) Create a new instanceNioSocketChannel
(Channel parent, SocketChannel socket) Create a new instance -
Uses of Channel in io.netty.channel.socket.oio
Classes in io.netty.channel.socket.oio that implement ChannelModifier and TypeClassDescriptionclass
Deprecated.use NIO / EPOLL / KQUEUE transport.class
Deprecated.use NIO / EPOLL / KQUEUE transport.class
Deprecated.use NIO / EPOLL / KQUEUE transport.Constructors in io.netty.channel.socket.oio with parameters of type ChannelModifierConstructorDescriptionOioSocketChannel
(Channel parent, Socket socket) Deprecated.Create a new instance from the givenSocket
-
Uses of Channel in io.netty.channel.unix
Subinterfaces of Channel in io.netty.channel.unixModifier and TypeInterfaceDescriptioninterface
AUnixChannel
that supports communication via UNIX domain datagram sockets.interface
AUnixChannel
that supports communication via Unix Domain Socket.interface
interface
Channel
that expose operations that are only present onUNIX
like systems. -
Uses of Channel in io.netty.handler.codec.http.websocketx
Methods in io.netty.handler.codec.http.websocketx with parameters of type ChannelModifier and TypeMethodDescriptionWebSocketClientHandshaker.close
(Channel channel, CloseWebSocketFrame frame) Performs the closing handshake.WebSocketClientHandshaker.close
(Channel channel, CloseWebSocketFrame frame, ChannelPromise promise) Performs the closing handshake When called from within aChannelHandler
you most likely want to useWebSocketClientHandshaker.close(ChannelHandlerContext, CloseWebSocketFrame, ChannelPromise)
.WebSocketServerHandshaker.close
(Channel channel, CloseWebSocketFrame frame) Performs the closing handshake.WebSocketServerHandshaker.close
(Channel channel, CloseWebSocketFrame frame, ChannelPromise promise) Performs the closing handshake.WebSocketServerHandshaker00.close
(Channel channel, CloseWebSocketFrame frame, ChannelPromise promise) Echo back the closing frameprivate ChannelFuture
WebSocketClientHandshaker.close0
(ChannelOutboundInvoker invoker, Channel channel, CloseWebSocketFrame frame, ChannelPromise promise) final void
WebSocketClientHandshaker.finishHandshake
(Channel channel, FullHttpResponse response) Validates and finishes the opening handshake initiated byWebSocketClientHandshaker.handshake(io.netty.channel.Channel)
}.(package private) static WebSocketServerHandshaker
WebSocketServerProtocolHandler.getHandshaker
(Channel channel) Begins the opening handshakefinal ChannelFuture
WebSocketClientHandshaker.handshake
(Channel channel, ChannelPromise promise) Begins the opening handshakeWebSocketServerHandshaker.handshake
(Channel channel, FullHttpRequest req) Performs the opening handshake.final ChannelFuture
WebSocketServerHandshaker.handshake
(Channel channel, FullHttpRequest req, HttpHeaders responseHeaders, ChannelPromise promise) Performs the opening handshake When call this method you MUST NOT retain theFullHttpRequest
which is passed in.WebSocketServerHandshaker.handshake
(Channel channel, HttpRequest req) Performs the opening handshake.final ChannelFuture
WebSocketServerHandshaker.handshake
(Channel channel, HttpRequest req, HttpHeaders responseHeaders, ChannelPromise promise) Performs the opening handshake When call this method you MUST NOT retain theHttpRequest
which is passed in.final ChannelFuture
WebSocketClientHandshaker.processHandshake
(Channel channel, HttpResponse response) Process the opening handshake initiated byWebSocketClientHandshaker.handshake(io.netty.channel.Channel)
}.final ChannelFuture
WebSocketClientHandshaker.processHandshake
(Channel channel, HttpResponse response, ChannelPromise promise) Process the opening handshake initiated byWebSocketClientHandshaker.handshake(io.netty.channel.Channel)
}.static ChannelFuture
WebSocketServerHandshakerFactory.sendUnsupportedVersionResponse
(Channel channel) Return that we need cannot support the web socket versionstatic ChannelFuture
WebSocketServerHandshakerFactory.sendUnsupportedVersionResponse
(Channel channel, ChannelPromise promise) Return that we need cannot support the web socket versionstatic void
WebSocketServerHandshakerFactory.sendUnsupportedWebSocketVersionResponse
(Channel channel) (package private) static void
WebSocketServerProtocolHandler.setHandshaker
(Channel channel, WebSocketServerHandshaker handshaker) -
Uses of Channel in io.netty.handler.codec.http2
Subinterfaces of Channel in io.netty.handler.codec.http2Classes in io.netty.handler.codec.http2 that implement ChannelModifier and TypeClassDescription(package private) class
private final class
Deprecated.private final class
Fields in io.netty.handler.codec.http2 declared as ChannelModifier and TypeFieldDescription(package private) Channel
Http2FrameCodec.DefaultHttp2FrameStream.attachment
private final Channel
Http2StreamChannelBootstrap.channel
Methods in io.netty.handler.codec.http2 that return ChannelModifier and TypeMethodDescriptionprivate static Channel
Http2StreamFrameToHttpObjectCodec.connectionChannel
(ChannelHandlerContext ctx) AbstractHttp2StreamChannel.flush()
AbstractHttp2StreamChannel.parent()
AbstractHttp2StreamChannel.read()
Methods in io.netty.handler.codec.http2 with parameters of type ChannelModifier and TypeMethodDescriptionint
private void
private void
AbstractHttp2StreamChannel.Http2ChannelUnsafe.invokeLater
(Channel channel, Runnable task) private static void
Http2StreamChannelBootstrap.setAttributes
(Channel channel, Map.Entry<AttributeKey<?>, Object>[] options) private static void
Http2StreamChannelBootstrap.setChannelOption
(Channel channel, ChannelOption<?> option, Object value) private static void
Http2StreamChannelBootstrap.setChannelOptions
(Channel channel, Map.Entry<ChannelOption<?>, Object>[] options) private static void
AbstractHttp2StreamChannel.windowUpdateFrameWriteComplete
(ChannelFuture future, Channel streamChannel) Constructors in io.netty.handler.codec.http2 with parameters of type ChannelModifierConstructorDescriptionHttp2StreamChannelBootstrap
(Channel channel) (package private)
Http2StreamChannelConfig
(Channel channel) (package private)
SimpleChannelPromiseAggregator
(ChannelPromise promise, Channel c, EventExecutor e) -
Uses of Channel in io.netty.handler.pcap
Methods in io.netty.handler.pcap with parameters of type ChannelModifier and TypeMethodDescriptionprivate static InetSocketAddress
PcapWriteHandler.getLocalAddress
(Channel ch, InetSocketAddress remote) Get the local address of a channel. -
Uses of Channel in io.netty.handler.proxy
Methods in io.netty.handler.proxy that return types with arguments of type ChannelModifier and TypeMethodDescriptionProxyHandler.connectFuture()
Returns aFuture
that is notified when the connection to the destination has been established or the connection attempt has failed. -
Uses of Channel in io.netty.handler.ssl
Fields in io.netty.handler.ssl with type parameters of type ChannelMethods in io.netty.handler.ssl that return types with arguments of type ChannelModifier and TypeMethodDescriptionSslHandler.handshakeFuture()
Returns aFuture
that will get notified once the current TLS handshake completes.SslHandler.renegotiate()
Performs TLS renegotiation.SslHandler.renegotiate
(Promise<Channel> promise) Performs TLS renegotiation.SslHandler.sslCloseFuture()
Methods in io.netty.handler.ssl with parameters of type ChannelMethod parameters in io.netty.handler.ssl with type arguments of type ChannelModifier and TypeMethodDescriptionSslHandler.renegotiate
(Promise<Channel> promise) Performs TLS renegotiation.private void
SslHandler.renegotiateOnEventLoop
(Promise<Channel> newHandshakePromise) Constructors in io.netty.handler.ssl with parameters of type ChannelModifierConstructorDescription(package private)
SslHandlerCoalescingBufferQueue
(Channel channel, int initSize, boolean wantsDirectBuffer) -
Uses of Channel in io.netty.resolver.dns
Fields in io.netty.resolver.dns declared as ChannelModifier and TypeFieldDescriptionprivate final Channel
DnsQueryContext.channel
private final Channel
DnsResolveContext.channel
Methods in io.netty.resolver.dns that return ChannelModifier and TypeMethodDescription(package private) Channel
DnsResolveContext.channel()
TheChannel
used.Methods in io.netty.resolver.dns with parameters of type ChannelModifier and TypeMethodDescription(package private) final Future
<AddressedEnvelope<DnsResponse, InetSocketAddress>> DnsNameResolver.doQuery
(Channel channel, InetSocketAddress nameServerAddr, DnsQuestion question, DnsQueryLifecycleObserver queryLifecycleObserver, DnsRecord[] additionals, boolean flush, Promise<AddressedEnvelope<? extends DnsResponse, InetSocketAddress>> promise) private void
DnsNameResolver.doResolveAllUncached
(Channel channel, String hostname, DnsRecord[] additionals, Promise<?> originalPromise, Promise<List<InetAddress>> promise, DnsCache resolveCache, boolean completeEarlyIfPossible) private void
DnsNameResolver.doResolveAllUncached0
(Channel channel, String hostname, DnsRecord[] additionals, Promise<?> originalPromise, Promise<List<InetAddress>> promise, DnsCache resolveCache, boolean completeEarlyIfPossible) private void
DnsNameResolver.doResolveUncached
(Channel channel, String hostname, DnsRecord[] additionals, Promise<InetAddress> promise, DnsCache resolveCache, boolean completeEarlyIfPossible) (package private) DnsResolveContext
<InetAddress> DnsAddressResolveContext.newResolverContext
(DnsNameResolver parent, Channel channel, Promise<?> originalPromise, String hostname, int dnsClass, DnsRecordType[] expectedTypes, DnsRecord[] additionals, DnsServerAddressStream nameServerAddrs, int allowedQueries) (package private) DnsResolveContext
<DnsRecord> DnsRecordResolveContext.newResolverContext
(DnsNameResolver parent, Channel channel, Promise<?> originalPromise, String hostname, int dnsClass, DnsRecordType[] expectedTypes, DnsRecord[] additionals, DnsServerAddressStream nameServerAddrs, int allowedQueries) (package private) abstract DnsResolveContext
<T> DnsResolveContext.newResolverContext
(DnsNameResolver parent, Channel channel, Promise<?> originalPromise, String hostname, int dnsClass, DnsRecordType[] expectedTypes, DnsRecord[] additionals, DnsServerAddressStream nameServerAddrs, int allowedQueries) Creates a new context with the given parameters.private void
DnsNameResolver.resolveNow
(Channel channel, String hostname, DnsRecord[] additionals, Promise<?> originalPromise, Promise<List<InetAddress>> promise, DnsCache resolveCache, boolean completeEarlyIfPossible) Constructors in io.netty.resolver.dns with parameters of type ChannelModifierConstructorDescription(package private)
DatagramDnsQueryContext
(Channel channel, InetSocketAddress nameServerAddr, DnsQueryContextManager queryContextManager, int maxPayLoadSize, boolean recursionDesired, long queryTimeoutMillis, DnsQuestion question, DnsRecord[] additionals, Promise<AddressedEnvelope<DnsResponse, InetSocketAddress>> promise, Bootstrap socketBootstrap, boolean retryWithTcpOnTimeout) (package private)
DnsAddressResolveContext
(DnsNameResolver parent, Channel channel, Promise<?> originalPromise, String hostname, DnsRecord[] additionals, DnsServerAddressStream nameServerAddrs, int allowedQueries, DnsCache resolveCache, AuthoritativeDnsServerCache authoritativeDnsServerCache, boolean completeEarlyIfPossible) (package private)
DnsQueryContext
(Channel channel, InetSocketAddress nameServerAddr, DnsQueryContextManager queryContextManager, int maxPayLoadSize, boolean recursionDesired, long queryTimeoutMillis, DnsQuestion question, DnsRecord[] additionals, Promise<AddressedEnvelope<DnsResponse, InetSocketAddress>> promise, Bootstrap socketBootstrap, boolean retryWithTcpOnTimeout) (package private)
DnsRecordResolveContext
(DnsNameResolver parent, Channel channel, Promise<?> originalPromise, DnsQuestion question, DnsRecord[] additionals, DnsServerAddressStream nameServerAddrs, int allowedQueries) private
DnsRecordResolveContext
(DnsNameResolver parent, Channel channel, Promise<?> originalPromise, String hostname, int dnsClass, DnsRecordType[] expectedTypes, DnsRecord[] additionals, DnsServerAddressStream nameServerAddrs, int allowedQueries) (package private)
DnsResolveContext
(DnsNameResolver parent, Channel channel, Promise<?> originalPromise, String hostname, int dnsClass, DnsRecordType[] expectedTypes, DnsRecord[] additionals, DnsServerAddressStream nameServerAddrs, int allowedQueries) (package private)
TcpDnsQueryContext
(Channel channel, InetSocketAddress nameServerAddr, DnsQueryContextManager queryContextManager, int maxPayLoadSize, boolean recursionDesired, long queryTimeoutMillis, DnsQuestion question, DnsRecord[] additionals, Promise<AddressedEnvelope<DnsResponse, InetSocketAddress>> promise)
ChannelFactory
instead.