Uses of Interface
io.netty.channel.Channel
-
Packages that use Channel Package Description 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 The core channel API which is asynchronous and event-driven abstraction of various transports such as a NIO Channel.io.netty.channel.embedded A virtualChannelthat helps wrapping a series of handlers to unit test the handlers or use them in non-I/O context.io.netty.channel.epoll Optimized transport for linux which uses EPOLL Edge-Triggered Mode for maximal performance.io.netty.channel.group A channel registry which helps a user maintain the list of openChannels and perform bulk operations on them.io.netty.channel.kqueue BSD specific transport.io.netty.channel.local A virtual transport that enables the communication between the two parties in the same virtual machine.io.netty.channel.nio NIO-based channel API implementation - recommended for a large number of connections (>= 1000).io.netty.channel.oio Old blocking I/O based channel API implementation - recommended for a small number of connections (< 1000).io.netty.channel.pool Implementations and API forChannelpools.io.netty.channel.rxtx A serial and parallel port communication transport based on RXTX.io.netty.channel.sctp Abstract SCTP socket interfaces which extend the core channel API.io.netty.channel.sctp.nio NIO-based SCTP Channel API implementation - recommended for a large number of connections (>= 1000).io.netty.channel.sctp.oio Old blocking I/O based SCTP channel API implementation - recommended for a small number of connections (< 1000).io.netty.channel.socket Abstract TCP and UDP socket interfaces which extend the core channel API.io.netty.channel.socket.nio NIO-based socket channel API implementation - recommended for a large number of connections (>= 1000).io.netty.channel.socket.oio Old blocking I/O based socket channel API implementation - recommended for a small number of connections (< 1000).io.netty.channel.udt UDT Transport.io.netty.channel.udt.nio UDT Transport for NIO Channels.io.netty.channel.unix Unix specific transport.io.netty.channel.uring io_uring is a high I/O performance scalable interface for fully asynchronous Linux syscalls.io.netty.handler.codec.http.websocketx Encoder, decoder, handshakers and their related message types for Web Socket data frames.io.netty.handler.codec.http2 Handlers for sending and receiving HTTP/2 frames.io.netty.handler.codec.http3 HTTP/3 implementation.io.netty.handler.codec.quic QUIC implementationio.netty.handler.proxy Adds support for client connections via proxy protocols such as SOCKS and HTTP CONNECT tunnelingio.netty.handler.ssl SSL · TLS implementation based onSSLEngine -
-
Uses of Channel in io.netty.bootstrap
Classes in io.netty.bootstrap with type parameters of type Channel Modifier and Type Class Description classAbstractBootstrap<B extends AbstractBootstrap<B,C>,C extends Channel>AbstractBootstrapis a helper class that makes it easy to bootstrap aChannel.classAbstractBootstrapConfig<B extends AbstractBootstrap<B,C>,C extends Channel>Exposes the configuration of anAbstractBootstrap.interfaceChannelFactory<T extends Channel>Deprecated.UseChannelFactoryinstead.Methods in io.netty.bootstrap with parameters of type Channel Modifier and Type Method Description voidChannelInitializerExtension. postInitializeClientChannel(Channel channel)Called byBootstrapafter the initialization of the given client channel.voidChannelInitializerExtension. postInitializeServerChildChannel(Channel channel)Called byServerBootstrapafter the initialization of the given child channel. -
Uses of Channel in io.netty.channel
Classes in io.netty.channel with type parameters of type Channel Modifier and Type Interface Description interfaceChannelFactory<T extends Channel>Creates a newChannel.classChannelInitializer<C extends Channel>A specialChannelInboundHandlerwhich offers an easy way to initialize aChannelonce it was registered to itsEventLoop.classReflectiveChannelFactory<T extends Channel>AChannelFactorythat instantiates a newChannelby invoking its default constructor reflectively.protected static classSingleThreadEventLoop.ChannelsReadOnlyIterator<T extends Channel>Subinterfaces of Channel in io.netty.channel Modifier and Type Interface Description interfaceServerChannelClasses in io.netty.channel that implement Channel Modifier and Type Class Description classAbstractChannelA skeletalChannelimplementation.classAbstractServerChannelA skeletal server-sideChannelimplementation.Fields in io.netty.channel declared as Channel Modifier and Type Field Description protected ChannelDefaultChannelConfig. channelMethods in io.netty.channel that return Channel Modifier and Type Method Description ChannelChannelFuture. channel()Returns a channel where the I/O operation associated with this future takes place.ChannelChannelHandlerContext. channel()Return theChannelwhich is bound to theChannelHandlerContext.ChannelChannelPipeline. channel()Returns theChannelthat this pipeline is attached to.ChannelChannelPromise. channel()ChannelDefaultChannelPipeline. channel()ChannelDefaultChannelProgressivePromise. channel()ChannelDefaultChannelPromise. channel()ChannelDelegatingChannelPromiseNotifier. channel()ChannelVoidChannelPromise. channel()default ChannelChannel. flush()ChannelSingleThreadEventLoop.ChannelsReadOnlyIterator. next()ChannelAbstractChannel. parent()ChannelChannel. parent()Returns the parent of this channel.default ChannelChannel. read()Methods in io.netty.channel that return types with arguments of type Channel Modifier and Type Method Description java.util.Iterator<Channel>SingleThreadEventLoop. registeredChannelsIterator()Methods in io.netty.channel with parameters of type Channel Modifier and Type Method Description intAbstractChannel. compareTo(Channel o)ChannelFutureEventLoopGroup. register(Channel channel)ChannelFutureEventLoopGroup. register(Channel channel, ChannelPromise promise)Deprecated.UseEventLoopGroup.register(ChannelPromise)instead.default ChannelFutureIoEventLoopGroup. register(Channel channel)Deprecated.ChannelFutureManualIoEventLoop. register(Channel channel)Deprecated.ChannelFutureManualIoEventLoop. register(Channel channel, ChannelPromise promise)Deprecated.ChannelFutureMultithreadEventLoopGroup. register(Channel channel)ChannelFutureMultithreadEventLoopGroup. register(Channel channel, ChannelPromise promise)Deprecated.ChannelFutureSingleThreadEventLoop. register(Channel channel)ChannelFutureSingleThreadEventLoop. register(Channel channel, ChannelPromise promise)Deprecated.ChannelFutureThreadPerChannelEventLoop. register(Channel channel, ChannelPromise promise)Deprecated.ChannelFutureThreadPerChannelEventLoopGroup. register(Channel channel)Deprecated.ChannelFutureThreadPerChannelEventLoopGroup. register(Channel channel, ChannelPromise promise)Deprecated.Constructors in io.netty.channel with parameters of type Channel Constructor Description AbstractChannel(Channel parent)Creates a new instance.AbstractChannel(Channel parent, ChannelId id)Creates a new instance.AbstractCoalescingBufferQueue(Channel channel, int initSize)Create a new instance.CoalescingBufferQueue(Channel channel)CoalescingBufferQueue(Channel channel, int initSize)CoalescingBufferQueue(Channel channel, int initSize, boolean updateWritability)DefaultChannelConfig(Channel channel)DefaultChannelConfig(Channel channel, RecvByteBufAllocator allocator)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.PendingWriteQueue(Channel channel)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 Channel Modifier and Type Class Description classEmbeddedChannelBase class forChannelimplementations that are used in an embedded fashion.Methods in io.netty.channel.embedded that return Channel Modifier and Type Method Description ChannelEmbeddedChannel. flush()ChannelEmbeddedChannel. read()Methods in io.netty.channel.embedded with parameters of type Channel Modifier and Type Method Description EmbeddedChannel.BuilderEmbeddedChannel.Builder. parent(Channel parent)The parentChannelof thisEmbeddedChannel.Constructors in io.netty.channel.embedded with parameters of type Channel Constructor Description EmbeddedChannel(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 Channel Modifier and Type Class Description classAbstractEpollServerChannelclassAbstractEpollStreamChannelclassEpollDatagramChannelDatagramChannelimplementation that uses linux EPOLL Edge-Triggered Mode for maximal performance.classEpollDomainDatagramChannelclassEpollDomainSocketChannelclassEpollServerDomainSocketChannelclassEpollServerSocketChannelServerSocketChannelimplementation that uses linux EPOLL Edge-Triggered Mode for maximal performance.classEpollSocketChannelSocketChannelimplementation that uses linux EPOLL Edge-Triggered Mode for maximal performance.Methods in io.netty.channel.epoll that return Channel Modifier and Type Method Description protected abstract ChannelAbstractEpollServerChannel. newChildChannel(int fd, byte[] remote, int offset, int len)protected ChannelEpollServerDomainSocketChannel. newChildChannel(int fd, byte[] addr, int offset, int len)protected ChannelEpollServerSocketChannel. newChildChannel(int fd, byte[] address, int offset, int len)Methods in io.netty.channel.epoll that return types with arguments of type Channel Modifier and Type Method Description java.util.Iterator<Channel>EpollEventLoop. registeredChannelsIterator()Deprecated.Constructors in io.netty.channel.epoll with parameters of type Channel Constructor Description AbstractEpollStreamChannel(Channel parent, int fd)AbstractEpollStreamChannel(Channel parent, LinuxSocket fd, java.net.SocketAddress remote)EpollChannelConfig(Channel channel)EpollChannelConfig(Channel channel, RecvByteBufAllocator recvByteBufAllocator)EpollDomainSocketChannel(Channel parent, LinuxSocket fd) -
Uses of Channel in io.netty.channel.group
Methods in io.netty.channel.group that return Channel Modifier and Type Method Description ChannelChannelGroup. find(ChannelId id)ChannelDefaultChannelGroup. find(ChannelId id)Methods in io.netty.channel.group that return types with arguments of type Channel Modifier and Type Method Description java.util.Iterator<java.util.Map.Entry<Channel,java.lang.Throwable>>ChannelGroupException. iterator()Returns aIteratorwhich contains all theThrowablethat was a cause of the failure and the related id of theChannel.java.util.Iterator<Channel>DefaultChannelGroup. iterator()Methods in io.netty.channel.group with parameters of type Channel Modifier and Type Method Description booleanDefaultChannelGroup. add(Channel channel)ChannelFutureChannelGroupFuture. find(Channel channel)Returns theChannelFutureof the individual I/O operation which is associated with the specifiedChannel.static ChannelMatcherChannelMatchers. is(Channel channel)Returns aChannelMatcherthat matches the givenChannel.static ChannelMatcherChannelMatchers. isNot(Channel channel)Returns aChannelMatcherthat matches allChannels except the given.booleanChannelMatcher. matches(Channel channel)Returnstrueif the operation should be also executed on the givenChannel.Method parameters in io.netty.channel.group with type arguments of type Channel Modifier and Type Method Description static ChannelMatcherChannelMatchers. isInstanceOf(java.lang.Class<? extends Channel> clazz)Returns aChannelMatcherthat matches allChannels that are an instance of sub-type of the given class.static ChannelMatcherChannelMatchers. isNotInstanceOf(java.lang.Class<? extends Channel> clazz)Returns aChannelMatcherthat matches allChannels that are not an instance of sub-type of the given class.Constructor parameters in io.netty.channel.group with type arguments of type Channel Constructor Description ChannelGroupException(java.util.Collection<java.util.Map.Entry<Channel,java.lang.Throwable>> causes) -
Uses of Channel in io.netty.channel.kqueue
Classes in io.netty.channel.kqueue that implement Channel Modifier and Type Class Description classAbstractKQueueServerChannelclassAbstractKQueueStreamChannelclassKQueueDatagramChannelclassKQueueDomainDatagramChannelclassKQueueDomainSocketChannelclassKQueueServerDomainSocketChannelclassKQueueServerSocketChannelclassKQueueSocketChannelMethods in io.netty.channel.kqueue that return Channel Modifier and Type Method Description protected ChannelKQueueServerDomainSocketChannel. newChildChannel(int fd, byte[] addr, int offset, int len)protected ChannelKQueueServerSocketChannel. newChildChannel(int fd, byte[] address, int offset, int len) -
Uses of Channel in io.netty.channel.local
Classes in io.netty.channel.local that implement Channel Modifier and Type Class Description classLocalChannelAChannelfor the local transport.classLocalServerChannelAServerChannelfor the local transport which allows in VM communication. -
Uses of Channel in io.netty.channel.nio
Classes in io.netty.channel.nio that implement Channel Modifier and Type Class Description classAbstractNioByteChannelAbstractNioChannelbase class forChannels that operate on bytes.classAbstractNioChannelAbstract base class forChannelimplementations which use a Selector based approach.classAbstractNioMessageChannelAbstractNioChannelbase class forChannels that operate on messages.Methods in io.netty.channel.nio that return types with arguments of type Channel Modifier and Type Method Description java.util.Iterator<Channel>NioEventLoop. registeredChannelsIterator()Deprecated.Constructors in io.netty.channel.nio with parameters of type Channel Constructor Description AbstractNioByteChannel(Channel parent, java.nio.channels.SelectableChannel ch)Create a new instanceAbstractNioChannel(Channel parent, java.nio.channels.SelectableChannel ch, int readOps)Create a new instanceAbstractNioChannel(Channel parent, java.nio.channels.SelectableChannel ch, NioIoOps readOps)AbstractNioMessageChannel(Channel parent, java.nio.channels.SelectableChannel ch, int readInterestOp)AbstractNioMessageChannel(Channel parent, java.nio.channels.SelectableChannel ch, NioIoOps readOps) -
Uses of Channel in io.netty.channel.oio
Classes in io.netty.channel.oio that implement Channel Modifier and Type Class Description classAbstractOioByteChannelDeprecated.use NIO / EPOLL / KQUEUE transport.classAbstractOioChannelDeprecated.use NIO / EPOLL / KQUEUE transport.classAbstractOioMessageChannelDeprecated.use NIO / EPOLL / KQUEUE transport.classOioByteStreamChannelDeprecated.use NIO / EPOLL / KQUEUE transport.Constructors in io.netty.channel.oio with parameters of type Channel Constructor Description AbstractOioByteChannel(Channel parent)Deprecated.AbstractOioChannel(Channel parent)Deprecated.AbstractOioMessageChannel(Channel parent)Deprecated.OioByteStreamChannel(Channel parent)Deprecated.Create a new instance -
Uses of Channel in io.netty.channel.pool
Methods in io.netty.channel.pool that return Channel Modifier and Type Method Description protected ChannelSimpleChannelPool. pollChannel()Poll aChannelout of the internal storage to reuse it.Methods in io.netty.channel.pool that return types with arguments of type Channel Modifier and Type Method Description Future<Channel>ChannelPool. acquire()Acquire aChannelfrom thisChannelPool.Future<Channel>ChannelPool. acquire(Promise<Channel> promise)Acquire aChannelfrom thisChannelPool.Future<Channel>FixedChannelPool. acquire(Promise<Channel> promise)Future<Channel>SimpleChannelPool. acquire()Future<Channel>SimpleChannelPool. acquire(Promise<Channel> promise)Methods in io.netty.channel.pool with parameters of type Channel Modifier and Type Method Description voidAbstractChannelPoolHandler. channelAcquired(Channel ch)NOOP implementation, sub-classes may override this.voidChannelPoolHandler. channelAcquired(Channel ch)Called once aChannelwas acquired by callingChannelPool.acquire()orChannelPool.acquire(Promise).voidChannelPoolHandler. channelCreated(Channel ch)Called once a newChannelis created in theChannelPool.voidAbstractChannelPoolHandler. channelReleased(Channel ch)NOOP implementation, sub-classes may override this.voidChannelPoolHandler. channelReleased(Channel ch)Called once aChannelwas released by callingChannelPool.release(Channel)orChannelPool.release(Channel, Promise).Future<java.lang.Boolean>ChannelHealthChecker. isHealthy(Channel channel)Check if the given channel is healthy which means it can be used.protected booleanSimpleChannelPool. offerChannel(Channel channel)Offer aChannelback to the internal storage.Future<java.lang.Void>ChannelPool. release(Channel channel)Release aChannelback to thisChannelPool.Future<java.lang.Void>ChannelPool. release(Channel channel, Promise<java.lang.Void> promise)Release aChannelback to thisChannelPool.Future<java.lang.Void>FixedChannelPool. release(Channel channel, Promise<java.lang.Void> promise)Future<java.lang.Void>SimpleChannelPool. release(Channel channel)Future<java.lang.Void>SimpleChannelPool. release(Channel channel, Promise<java.lang.Void> promise)Method parameters in io.netty.channel.pool with type arguments of type Channel Modifier and Type Method Description Future<Channel>ChannelPool. acquire(Promise<Channel> promise)Acquire aChannelfrom thisChannelPool.Future<Channel>FixedChannelPool. acquire(Promise<Channel> promise)Future<Channel>SimpleChannelPool. acquire(Promise<Channel> promise) -
Uses of Channel in io.netty.channel.rxtx
Classes in io.netty.channel.rxtx that implement Channel Modifier and Type Class Description classRxtxChannelDeprecated.this transport will be removed in the next major version. -
Uses of Channel in io.netty.channel.sctp
Subinterfaces of Channel in io.netty.channel.sctp Modifier and Type Interface Description interfaceSctpChannelA SCTP/IPChannelinterface for single SCTP association.interfaceSctpServerChannelA SCTP/IPServerChannelwhich accepts incoming SCTP/IP associations. -
Uses of Channel in io.netty.channel.sctp.nio
Classes in io.netty.channel.sctp.nio that implement Channel Modifier and Type Class Description classNioSctpChannelSctpChannelimplementation which use non-blocking mode and allows to read / writeSctpMessages to the underlyingSctpChannel.classNioSctpServerChannelSctpServerChannelimplementation which use non-blocking mode to accept new connections and create theNioSctpChannelfor them.Constructors in io.netty.channel.sctp.nio with parameters of type Channel Constructor Description NioSctpChannel(Channel parent, com.sun.nio.sctp.SctpChannel sctpChannel)Create a new instance -
Uses of Channel in io.netty.channel.sctp.oio
Classes in io.netty.channel.sctp.oio that implement Channel Modifier and Type Class Description classOioSctpChannelDeprecated.useNioSctpChannel.classOioSctpServerChannelDeprecated.useNioSctpServerChannel.Constructors in io.netty.channel.sctp.oio with parameters of type Channel Constructor Description OioSctpChannel(Channel parent, com.sun.nio.sctp.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.socket Modifier and Type Interface Description interfaceDatagramChannelA UDP/IPChannel.interfaceDuplexChannelA duplexChannelthat has two sides that can be shutdown independently.interfaceServerSocketChannelA TCP/IPServerChannelwhich accepts incoming TCP/IP connections.interfaceSocketChannelA TCP/IP socketChannel. -
Uses of Channel in io.netty.channel.socket.nio
Classes in io.netty.channel.socket.nio that implement Channel Modifier and Type Class Description classNioDatagramChannelAn NIO datagramChannelthat sends and receives anAddressedEnvelope.classNioDomainSocketChannelDuplexChannelwhich uses NIO selector based implementation to support UNIX Domain Sockets.classNioServerDomainSocketChannelAServerChannelimplementation which uses NIO selector based implementation to support UNIX Domain Sockets.classNioServerSocketChannelAServerSocketChannelimplementation which uses NIO selector based implementation to accept new connections.classNioSocketChannelSocketChannelwhich uses NIO selector based implementation.Constructors in io.netty.channel.socket.nio with parameters of type Channel Constructor Description NioDomainSocketChannel(Channel parent, java.nio.channels.SocketChannel socket)Create a new instanceNioSocketChannel(Channel parent, java.nio.channels.SocketChannel socket)Create a new instance -
Uses of Channel in io.netty.channel.socket.oio
Classes in io.netty.channel.socket.oio that implement Channel Modifier and Type Class Description classOioDatagramChannelDeprecated.use NIO / EPOLL / KQUEUE transport.classOioServerSocketChannelDeprecated.use NIO / EPOLL / KQUEUE transport.classOioSocketChannelDeprecated.use NIO / EPOLL / KQUEUE transport.Constructors in io.netty.channel.socket.oio with parameters of type Channel Constructor Description OioSocketChannel(Channel parent, java.net.Socket socket)Deprecated.Create a new instance from the givenSocket -
Uses of Channel in io.netty.channel.udt
Subinterfaces of Channel in io.netty.channel.udt Modifier and Type Interface Description interfaceUdtChannelDeprecated.The UDT transport is no longer maintained and will be removed.interfaceUdtServerChannelDeprecated.The UDT transport is no longer maintained and will be removed. -
Uses of Channel in io.netty.channel.udt.nio
Classes in io.netty.channel.udt.nio that implement Channel Modifier and Type Class Description classNioUdtAcceptorChannelDeprecated.The UDT transport is no longer maintained and will be removed.classNioUdtByteAcceptorChannelDeprecated.The UDT transport is no longer maintained and will be removed.classNioUdtByteConnectorChannelDeprecated.The UDT transport is no longer maintained and will be removed.classNioUdtByteRendezvousChannelDeprecated.The UDT transport is no longer maintained and will be removed.classNioUdtMessageAcceptorChannelDeprecated.The UDT transport is no longer maintained and will be removed.classNioUdtMessageConnectorChannelDeprecated.The UDT transport is no longer maintained and will be removed.classNioUdtMessageRendezvousChannelDeprecated.The UDT transport is no longer maintained and will be removed.Methods in io.netty.channel.udt.nio with parameters of type Channel Modifier and Type Method Description static com.barchart.udt.nio.ChannelUDTNioUdtProvider. channelUDT(Channel channel)Deprecated.Expose underlyingChannelUDTfor debugging and monitoring.static com.barchart.udt.SocketUDTNioUdtProvider. socketUDT(Channel channel)Deprecated.Expose underlyingSocketUDTfor debugging and monitoring.Constructors in io.netty.channel.udt.nio with parameters of type Channel Constructor Description NioUdtByteConnectorChannel(Channel parent, com.barchart.udt.nio.SocketChannelUDT channelUDT)Deprecated.NioUdtMessageConnectorChannel(Channel parent, com.barchart.udt.nio.SocketChannelUDT channelUDT)Deprecated. -
Uses of Channel in io.netty.channel.unix
Subinterfaces of Channel in io.netty.channel.unix Modifier and Type Interface Description interfaceDomainDatagramChannelAUnixChannelthat supports communication via UNIX domain datagram sockets.interfaceDomainSocketChannelAUnixChannelthat supports communication via Unix Domain Socket.interfaceServerDomainSocketChannelinterfaceUnixChannelChannelthat expose operations that are only present onUNIXlike systems. -
Uses of Channel in io.netty.channel.uring
Classes in io.netty.channel.uring that implement Channel Modifier and Type Class Description classIoUringDatagramChannelclassIoUringDomainSocketChannelDomainSocketChannelimplementation that uses linux io_uringclassIoUringServerDomainSocketChannelclassIoUringServerSocketChannelclassIoUringSocketChannel -
Uses of Channel in io.netty.handler.codec.http.websocketx
Methods in io.netty.handler.codec.http.websocketx with parameters of type Channel Modifier and Type Method Description ChannelFutureWebSocketClientHandshaker. close(Channel channel, CloseWebSocketFrame frame)Performs the closing handshake.ChannelFutureWebSocketClientHandshaker. close(Channel channel, CloseWebSocketFrame frame, ChannelPromise promise)Performs the closing handshake When called from within aChannelHandleryou most likely want to useWebSocketClientHandshaker.close(ChannelHandlerContext, CloseWebSocketFrame, ChannelPromise).ChannelFutureWebSocketServerHandshaker. close(Channel channel, CloseWebSocketFrame frame)Performs the closing handshake.ChannelFutureWebSocketServerHandshaker. close(Channel channel, CloseWebSocketFrame frame, ChannelPromise promise)Performs the closing handshake.ChannelFutureWebSocketServerHandshaker00. close(Channel channel, CloseWebSocketFrame frame, ChannelPromise promise)Echo back the closing framevoidWebSocketClientHandshaker. finishHandshake(Channel channel, FullHttpResponse response)Validates and finishes the opening handshake initiated byWebSocketClientHandshaker.handshake(io.netty.channel.Channel)}.ChannelFutureWebSocketClientHandshaker. handshake(Channel channel)Begins the opening handshakeChannelFutureWebSocketClientHandshaker. handshake(Channel channel, ChannelPromise promise)Begins the opening handshakeChannelFutureWebSocketServerHandshaker. handshake(Channel channel, FullHttpRequest req)Performs the opening handshake.ChannelFutureWebSocketServerHandshaker. handshake(Channel channel, FullHttpRequest req, HttpHeaders responseHeaders, ChannelPromise promise)Performs the opening handshake When call this method you MUST NOT retain theFullHttpRequestwhich is passed in.ChannelFutureWebSocketServerHandshaker. handshake(Channel channel, HttpRequest req)Performs the opening handshake.ChannelFutureWebSocketServerHandshaker. handshake(Channel channel, HttpRequest req, HttpHeaders responseHeaders, ChannelPromise promise)Performs the opening handshake When call this method you MUST NOT retain theHttpRequestwhich is passed in.ChannelFutureWebSocketClientHandshaker. processHandshake(Channel channel, HttpResponse response)Process the opening handshake initiated byWebSocketClientHandshaker.handshake(io.netty.channel.Channel)}.ChannelFutureWebSocketClientHandshaker. processHandshake(Channel channel, HttpResponse response, ChannelPromise promise)Process the opening handshake initiated byWebSocketClientHandshaker.handshake(io.netty.channel.Channel)}.static ChannelFutureWebSocketServerHandshakerFactory. sendUnsupportedVersionResponse(Channel channel)Return that we need cannot support the web socket versionstatic ChannelFutureWebSocketServerHandshakerFactory. sendUnsupportedVersionResponse(Channel channel, ChannelPromise promise)Return that we need cannot support the web socket versionstatic voidWebSocketServerHandshakerFactory. sendUnsupportedWebSocketVersionResponse(Channel channel) -
Uses of Channel in io.netty.handler.codec.http2
Subinterfaces of Channel in io.netty.handler.codec.http2 Modifier and Type Interface Description interfaceHttp2StreamChannelConstructors in io.netty.handler.codec.http2 with parameters of type Channel Constructor Description Http2StreamChannelBootstrap(Channel channel) -
Uses of Channel in io.netty.handler.codec.http3
Methods in io.netty.handler.codec.http3 with parameters of type Channel Modifier and Type Method Description static @Nullable QuicStreamChannelHttp3. getLocalControlStream(Channel channel)Returns the local initiated control stream for the HTTP/3 connection. -
Uses of Channel in io.netty.handler.codec.quic
Subinterfaces of Channel in io.netty.handler.codec.quic Modifier and Type Interface Description interfaceQuicChannelA QUICChannel.interfaceQuicStreamChannelA QUIC stream.Methods in io.netty.handler.codec.quic with parameters of type Channel Modifier and Type Method Description protected abstract voidQuicCodecDispatcher. initChannel(Channel channel, int localConnectionIdLength, QuicConnectionIdGenerator idGenerator)Init theChanneland add all the neededChannelHandlerto the pipeline.static QuicChannelBootstrapQuicChannel. newBootstrap(Channel channel)Creates a newQuicChannelBootstrapthat can be used to create and connect newQuicChannels to endpoints using the givenChannelas transport layer.Constructors in io.netty.handler.codec.quic with parameters of type Channel Constructor Description QuicChannelBootstrap(Channel parent)Deprecated.Use QuicChannel.newBootstrap() instead. -
Uses of Channel in io.netty.handler.proxy
Methods in io.netty.handler.proxy that return types with arguments of type Channel Modifier and Type Method Description Future<Channel>ProxyHandler. connectFuture()Returns aFuturethat 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
Methods in io.netty.handler.ssl that return types with arguments of type Channel Modifier and Type Method Description Future<Channel>SslHandler. handshakeFuture()Returns aFuturethat will get notified once the current TLS handshake completes.Future<Channel>SslHandler. renegotiate()Performs TLS renegotiation.Future<Channel>SslHandler. renegotiate(Promise<Channel> promise)Performs TLS renegotiation.Future<Channel>SslHandler. sslCloseFuture()Return theFuturethat will get notified if the inbound of theSSLEngineis closed.Method parameters in io.netty.handler.ssl with type arguments of type Channel Modifier and Type Method Description Future<Channel>SslHandler. renegotiate(Promise<Channel> promise)Performs TLS renegotiation.
-