Uses of Interface
io.netty.channel.ChannelFuture
-
Packages that use ChannelFuture 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.group A channel registry which helps a user maintain the list of openChannels and perform bulk operations on them.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.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.handler.codec.compression 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.spdy Encoder, decoder, session handler and their related message types for the SPDY protocol.io.netty.handler.ipfilter Package to filter IP addresses (allow/deny).io.netty.handler.ssl SSL · TLS implementation based onSSLEngineio.netty.handler.stream Writes very large data stream asynchronously neither spending a lot of memory nor gettingOutOfMemoryError.io.netty.handler.timeout Adds support for read and write timeout and idle connection notification using aTimer.io.netty.resolver.dns 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 ChannelFuture in io.netty.bootstrap
Classes in io.netty.bootstrap that implement ChannelFuture Modifier and Type Class Description (package private) static classAbstractBootstrap.PendingRegistrationPromiseMethods in io.netty.bootstrap that return ChannelFuture Modifier and Type Method Description ChannelFutureAbstractBootstrap. bind()Create a newChanneland bind it.ChannelFutureAbstractBootstrap. bind(int inetPort)Create a newChanneland bind it.ChannelFutureAbstractBootstrap. bind(java.lang.String inetHost, int inetPort)Create a newChanneland bind it.ChannelFutureAbstractBootstrap. bind(java.net.InetAddress inetHost, int inetPort)Create a newChanneland bind it.ChannelFutureAbstractBootstrap. bind(java.net.SocketAddress localAddress)Create a newChanneland bind it.ChannelFutureBootstrap. connect()Connect aChannelto the remote peer.ChannelFutureBootstrap. connect(java.lang.String inetHost, int inetPort)Connect aChannelto the remote peer.ChannelFutureBootstrap. connect(java.net.InetAddress inetHost, int inetPort)Connect aChannelto the remote peer.ChannelFutureBootstrap. connect(java.net.SocketAddress remoteAddress)Connect aChannelto the remote peer.ChannelFutureBootstrap. connect(java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress)Connect aChannelto the remote peer.private ChannelFutureAbstractBootstrap. doBind(java.net.SocketAddress localAddress)private ChannelFutureBootstrap. doResolveAndConnect(java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress)private ChannelFutureBootstrap. doResolveAndConnect0(Channel channel, java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, ChannelPromise promise)(package private) ChannelFutureAbstractBootstrap. initAndRegister()ChannelFutureAbstractBootstrap. register()Methods in io.netty.bootstrap with parameters of type ChannelFuture Modifier and Type Method Description private static voidAbstractBootstrap. doBind0(ChannelFuture regFuture, Channel channel, java.net.SocketAddress localAddress, ChannelPromise promise) -
Uses of ChannelFuture in io.netty.channel
Subinterfaces of ChannelFuture in io.netty.channel Modifier and Type Interface Description interfaceChannelProgressiveFutureAn specialChannelFuturewhich is used to indicate theFileRegiontransfer progressinterfaceChannelProgressivePromiseSpecialChannelPromisewhich will be notified once the associated bytes is transferring.interfaceChannelPromiseSpecialChannelFuturewhich is writable.Classes in io.netty.channel that implement ChannelFuture Modifier and Type Class Description (package private) static classAbstractChannel.CloseFuture(package private) classCompleteChannelFutureA skeletalChannelFutureimplementation which represents aChannelFuturewhich has been completed already.classDefaultChannelProgressivePromiseThe defaultChannelProgressivePromiseimplementation.classDefaultChannelPromiseThe defaultChannelPromiseimplementation.classDelegatingChannelPromiseNotifier(package private) classFailedChannelFutureTheCompleteChannelFuturewhich is failed already.(package private) classSucceededChannelFutureTheCompleteChannelFuturewhich is succeeded already.classVoidChannelPromiseFields in io.netty.channel declared as ChannelFuture Modifier and Type Field Description private ChannelFutureAbstractChannelHandlerContext. succeededFutureprivate ChannelFutureDefaultChannelPipeline. succeededFutureMethods in io.netty.channel that return ChannelFuture Modifier and Type Method Description ChannelFutureChannelFuture. addListener(GenericFutureListener<? extends Future<? super java.lang.Void>> listener)ChannelFutureCompleteChannelFuture. addListener(GenericFutureListener<? extends Future<? super java.lang.Void>> listener)ChannelFutureChannelFuture. addListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners)ChannelFutureCompleteChannelFuture. addListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners)ChannelFutureChannelFuture. await()ChannelFutureCompleteChannelFuture. await()ChannelFutureChannelFuture. awaitUninterruptibly()ChannelFutureCompleteChannelFuture. awaitUninterruptibly()ChannelFutureAbstractChannel. bind(java.net.SocketAddress localAddress)ChannelFutureAbstractChannel. bind(java.net.SocketAddress localAddress, ChannelPromise promise)ChannelFutureAbstractChannelHandlerContext. bind(java.net.SocketAddress localAddress)ChannelFutureAbstractChannelHandlerContext. bind(java.net.SocketAddress localAddress, ChannelPromise promise)ChannelFutureChannelOutboundInvoker. bind(java.net.SocketAddress localAddress)Request to bind to the givenSocketAddressand notify theChannelFutureonce the operation completes, either because the operation was successful or because of an error.ChannelFutureChannelOutboundInvoker. bind(java.net.SocketAddress localAddress, ChannelPromise promise)Request to bind to the givenSocketAddressand notify theChannelFutureonce the operation completes, either because the operation was successful or because of an error.ChannelFutureCombinedChannelDuplexHandler.DelegatingChannelHandlerContext. bind(java.net.SocketAddress localAddress)ChannelFutureCombinedChannelDuplexHandler.DelegatingChannelHandlerContext. bind(java.net.SocketAddress localAddress, ChannelPromise promise)ChannelFutureDefaultChannelPipeline. bind(java.net.SocketAddress localAddress)ChannelFutureDefaultChannelPipeline. bind(java.net.SocketAddress localAddress, ChannelPromise promise)ChannelFutureAbstractChannel. close()ChannelFutureAbstractChannel. close(ChannelPromise promise)ChannelFutureAbstractChannelHandlerContext. close()ChannelFutureAbstractChannelHandlerContext. close(ChannelPromise promise)ChannelFutureChannelOutboundInvoker. close()Request to close theChanneland notify theChannelFutureonce the operation completes, either because the operation was successful or because of an error.ChannelFutureChannelOutboundInvoker. close(ChannelPromise promise)Request to close theChanneland notify theChannelFutureonce the operation completes, either because the operation was successful or because of an error.ChannelFutureCombinedChannelDuplexHandler.DelegatingChannelHandlerContext. close()ChannelFutureCombinedChannelDuplexHandler.DelegatingChannelHandlerContext. close(ChannelPromise promise)ChannelFutureDefaultChannelPipeline. close()ChannelFutureDefaultChannelPipeline. close(ChannelPromise promise)ChannelFutureAbstractChannel. closeFuture()ChannelFutureChannel. closeFuture()Returns theChannelFuturewhich will be notified when this channel is closed.ChannelFutureAbstractChannel. connect(java.net.SocketAddress remoteAddress)ChannelFutureAbstractChannel. connect(java.net.SocketAddress remoteAddress, ChannelPromise promise)ChannelFutureAbstractChannel. connect(java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress)ChannelFutureAbstractChannel. connect(java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, ChannelPromise promise)ChannelFutureAbstractChannelHandlerContext. connect(java.net.SocketAddress remoteAddress)ChannelFutureAbstractChannelHandlerContext. connect(java.net.SocketAddress remoteAddress, ChannelPromise promise)ChannelFutureAbstractChannelHandlerContext. connect(java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress)ChannelFutureAbstractChannelHandlerContext. connect(java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, ChannelPromise promise)ChannelFutureChannelOutboundInvoker. connect(java.net.SocketAddress remoteAddress)Request to connect to the givenSocketAddressand notify theChannelFutureonce the operation completes, either because the operation was successful or because of an error.ChannelFutureChannelOutboundInvoker. connect(java.net.SocketAddress remoteAddress, ChannelPromise promise)Request to connect to the givenSocketAddressand notify theChannelFutureonce the operation completes, either because the operation was successful or because of an error.ChannelFutureChannelOutboundInvoker. connect(java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress)Request to connect to the givenSocketAddresswhile bind to the localAddress and notify theChannelFutureonce the operation completes, either because the operation was successful or because of an error.ChannelFutureChannelOutboundInvoker. connect(java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, ChannelPromise promise)Request to connect to the givenSocketAddresswhile bind to the localAddress and notify theChannelFutureonce the operation completes, either because the operation was successful or because of an error.ChannelFutureCombinedChannelDuplexHandler.DelegatingChannelHandlerContext. connect(java.net.SocketAddress remoteAddress)ChannelFutureCombinedChannelDuplexHandler.DelegatingChannelHandlerContext. connect(java.net.SocketAddress remoteAddress, ChannelPromise promise)ChannelFutureCombinedChannelDuplexHandler.DelegatingChannelHandlerContext. connect(java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress)ChannelFutureCombinedChannelDuplexHandler.DelegatingChannelHandlerContext. connect(java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, ChannelPromise promise)ChannelFutureDefaultChannelPipeline. connect(java.net.SocketAddress remoteAddress)ChannelFutureDefaultChannelPipeline. connect(java.net.SocketAddress remoteAddress, ChannelPromise promise)ChannelFutureDefaultChannelPipeline. connect(java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress)ChannelFutureDefaultChannelPipeline. connect(java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, ChannelPromise promise)ChannelFutureAbstractChannel. deregister()ChannelFutureAbstractChannel. deregister(ChannelPromise promise)ChannelFutureAbstractChannelHandlerContext. deregister()ChannelFutureAbstractChannelHandlerContext. deregister(ChannelPromise promise)ChannelFutureChannelOutboundInvoker. deregister()Request to deregister from the previous assignedEventExecutorand notify theChannelFutureonce the operation completes, either because the operation was successful or because of an error.ChannelFutureChannelOutboundInvoker. deregister(ChannelPromise promise)Request to deregister from the previous assignedEventExecutorand notify theChannelFutureonce the operation completes, either because the operation was successful or because of an error.ChannelFutureCombinedChannelDuplexHandler.DelegatingChannelHandlerContext. deregister()ChannelFutureCombinedChannelDuplexHandler.DelegatingChannelHandlerContext. deregister(ChannelPromise promise)ChannelFutureDefaultChannelPipeline. deregister()ChannelFutureDefaultChannelPipeline. deregister(ChannelPromise promise)ChannelFutureAbstractChannel. disconnect()ChannelFutureAbstractChannel. disconnect(ChannelPromise promise)ChannelFutureAbstractChannelHandlerContext. disconnect()ChannelFutureAbstractChannelHandlerContext. disconnect(ChannelPromise promise)ChannelFutureChannelOutboundInvoker. disconnect()Request to disconnect from the remote peer and notify theChannelFutureonce the operation completes, either because the operation was successful or because of an error.ChannelFutureChannelOutboundInvoker. disconnect(ChannelPromise promise)Request to disconnect from the remote peer and notify theChannelFutureonce the operation completes, either because the operation was successful or because of an error.ChannelFutureCombinedChannelDuplexHandler.DelegatingChannelHandlerContext. disconnect()ChannelFutureCombinedChannelDuplexHandler.DelegatingChannelHandlerContext. disconnect(ChannelPromise promise)ChannelFutureDefaultChannelPipeline. disconnect()ChannelFutureDefaultChannelPipeline. disconnect(ChannelPromise promise)ChannelFutureAbstractChannel. newFailedFuture(java.lang.Throwable cause)ChannelFutureAbstractChannelHandlerContext. newFailedFuture(java.lang.Throwable cause)ChannelFutureChannelOutboundInvoker. newFailedFuture(java.lang.Throwable cause)Create a newChannelFuturewhich is marked as failed already.ChannelFutureCombinedChannelDuplexHandler.DelegatingChannelHandlerContext. newFailedFuture(java.lang.Throwable cause)ChannelFutureDefaultChannelPipeline. newFailedFuture(java.lang.Throwable cause)ChannelFutureAbstractChannel. newSucceededFuture()ChannelFutureAbstractChannelHandlerContext. newSucceededFuture()ChannelFutureChannelOutboundInvoker. newSucceededFuture()Create a newChannelFuturewhich is marked as succeeded already.ChannelFutureCombinedChannelDuplexHandler.DelegatingChannelHandlerContext. newSucceededFuture()ChannelFutureDefaultChannelPipeline. newSucceededFuture()ChannelFutureEventLoopGroup. register(Channel channel)ChannelFutureEventLoopGroup. register(ChannelPromise promise)ChannelFutureEventLoopGroup. register(Channel channel, ChannelPromise promise)Deprecated.UseEventLoopGroup.register(ChannelPromise)instead.ChannelFutureMultithreadEventLoopGroup. register(Channel channel)ChannelFutureMultithreadEventLoopGroup. register(ChannelPromise promise)ChannelFutureMultithreadEventLoopGroup. register(Channel channel, ChannelPromise promise)Deprecated.ChannelFutureSingleThreadEventLoop. register(Channel channel)ChannelFutureSingleThreadEventLoop. register(ChannelPromise promise)ChannelFutureSingleThreadEventLoop. register(Channel channel, ChannelPromise promise)Deprecated.ChannelFutureThreadPerChannelEventLoop. register(ChannelPromise promise)Deprecated.ChannelFutureThreadPerChannelEventLoop. register(Channel channel, ChannelPromise promise)Deprecated.ChannelFutureThreadPerChannelEventLoopGroup. register(Channel channel)Deprecated.ChannelFutureThreadPerChannelEventLoopGroup. register(ChannelPromise promise)Deprecated.ChannelFutureThreadPerChannelEventLoopGroup. register(Channel channel, ChannelPromise promise)Deprecated.ChannelFuturePendingWriteQueue. removeAndWrite()Removes a pending write operation and performs it viaChannelOutboundInvoker.write(Object, ChannelPromise).ChannelFuturePendingWriteQueue. removeAndWriteAll()Remove all pending write operation and performs them viaChannelOutboundInvoker.write(Object, ChannelPromise).ChannelFutureChannelFuture. removeListener(GenericFutureListener<? extends Future<? super java.lang.Void>> listener)ChannelFutureCompleteChannelFuture. removeListener(GenericFutureListener<? extends Future<? super java.lang.Void>> listener)ChannelFutureChannelFuture. removeListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners)ChannelFutureCompleteChannelFuture. removeListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners)ChannelFutureChannelFuture. sync()ChannelFutureCompleteChannelFuture. sync()ChannelFutureFailedChannelFuture. sync()ChannelFutureChannelFuture. syncUninterruptibly()ChannelFutureCompleteChannelFuture. syncUninterruptibly()ChannelFutureFailedChannelFuture. syncUninterruptibly()ChannelFutureAbstractChannel. write(java.lang.Object msg)ChannelFutureAbstractChannel. write(java.lang.Object msg, ChannelPromise promise)ChannelFutureAbstractChannelHandlerContext. write(java.lang.Object msg)ChannelFutureAbstractChannelHandlerContext. write(java.lang.Object msg, ChannelPromise promise)ChannelFutureChannelOutboundInvoker. write(java.lang.Object msg)Request to write a message via thisChannelHandlerContextthrough theChannelPipeline.ChannelFutureChannelOutboundInvoker. write(java.lang.Object msg, ChannelPromise promise)Request to write a message via thisChannelHandlerContextthrough theChannelPipeline.ChannelFutureCombinedChannelDuplexHandler.DelegatingChannelHandlerContext. write(java.lang.Object msg)ChannelFutureCombinedChannelDuplexHandler.DelegatingChannelHandlerContext. write(java.lang.Object msg, ChannelPromise promise)ChannelFutureDefaultChannelPipeline. write(java.lang.Object msg)ChannelFutureDefaultChannelPipeline. write(java.lang.Object msg, ChannelPromise promise)ChannelFutureAbstractChannel. writeAndFlush(java.lang.Object msg)ChannelFutureAbstractChannel. writeAndFlush(java.lang.Object msg, ChannelPromise promise)ChannelFutureAbstractChannelHandlerContext. writeAndFlush(java.lang.Object msg)ChannelFutureAbstractChannelHandlerContext. writeAndFlush(java.lang.Object msg, ChannelPromise promise)ChannelFutureChannelOutboundInvoker. writeAndFlush(java.lang.Object msg)Shortcut for callChannelOutboundInvoker.write(Object)andChannelOutboundInvoker.flush().ChannelFutureChannelOutboundInvoker. writeAndFlush(java.lang.Object msg, ChannelPromise promise)Shortcut for callChannelOutboundInvoker.write(Object, ChannelPromise)andChannelOutboundInvoker.flush().ChannelFutureCombinedChannelDuplexHandler.DelegatingChannelHandlerContext. writeAndFlush(java.lang.Object msg)ChannelFutureCombinedChannelDuplexHandler.DelegatingChannelHandlerContext. writeAndFlush(java.lang.Object msg, ChannelPromise promise)ChannelFutureDefaultChannelPipeline. writeAndFlush(java.lang.Object msg)ChannelFutureDefaultChannelPipeline. writeAndFlush(java.lang.Object msg, ChannelPromise promise)Methods in io.netty.channel with parameters of type ChannelFuture Modifier and Type Method Description voidDelegatingChannelPromiseNotifier. operationComplete(ChannelFuture future)private voidAbstractCoalescingBufferQueue. releaseAndCompleteAll(ChannelFuture future) -
Uses of ChannelFuture in io.netty.channel.embedded
Methods in io.netty.channel.embedded that return ChannelFuture Modifier and Type Method Description private ChannelFutureEmbeddedChannel. checkException(ChannelPromise promise)Checks for the presence of anException.ChannelFutureEmbeddedChannel. close()ChannelFutureEmbeddedChannel. close(ChannelPromise promise)ChannelFutureEmbeddedChannel. disconnect()ChannelFutureEmbeddedChannel. disconnect(ChannelPromise promise)private ChannelFutureEmbeddedChannel. flushInbound(boolean recordException, ChannelPromise promise)ChannelFutureEmbeddedEventLoop. register(Channel channel)ChannelFutureEmbeddedEventLoop. register(ChannelPromise promise)ChannelFutureEmbeddedEventLoop. register(Channel channel, ChannelPromise promise)Deprecated.ChannelFutureEmbeddedChannel. writeOneInbound(java.lang.Object msg)Writes one message to the inbound of thisChanneland does not flush it.ChannelFutureEmbeddedChannel. writeOneInbound(java.lang.Object msg, ChannelPromise promise)Writes one message to the inbound of thisChanneland does not flush it.ChannelFutureEmbeddedChannel. writeOneOutbound(java.lang.Object msg)Writes one message to the outbound of thisChanneland does not flush it.ChannelFutureEmbeddedChannel. writeOneOutbound(java.lang.Object msg, ChannelPromise promise)Writes one message to the outbound of thisChanneland does not flush it.Methods in io.netty.channel.embedded with parameters of type ChannelFuture Modifier and Type Method Description private voidEmbeddedChannel. recordException(ChannelFuture future) -
Uses of ChannelFuture in io.netty.channel.group
Fields in io.netty.channel.group with type parameters of type ChannelFuture Modifier and Type Field Description private static java.util.Iterator<ChannelFuture>VoidChannelGroupFuture. EMPTYprivate java.util.Map<Channel,ChannelFuture>DefaultChannelGroupFuture. futuresMethods in io.netty.channel.group that return ChannelFuture Modifier and Type Method Description ChannelFutureChannelGroupFuture. find(Channel channel)Returns theChannelFutureof the individual I/O operation which is associated with the specifiedChannel.ChannelFutureDefaultChannelGroupFuture. find(Channel channel)ChannelFutureVoidChannelGroupFuture. find(Channel channel)Methods in io.netty.channel.group that return types with arguments of type ChannelFuture Modifier and Type Method Description java.util.Iterator<ChannelFuture>ChannelGroupFuture. iterator()Returns theIteratorthat enumerates allChannelFutures which are associated with this future.java.util.Iterator<ChannelFuture>DefaultChannelGroupFuture. iterator()java.util.Iterator<ChannelFuture>VoidChannelGroupFuture. iterator()Constructor parameters in io.netty.channel.group with type arguments of type ChannelFuture Constructor Description DefaultChannelGroupFuture(ChannelGroup group, java.util.Collection<ChannelFuture> futures, EventExecutor executor)Creates a new instance.DefaultChannelGroupFuture(ChannelGroup group, java.util.Map<Channel,ChannelFuture> futures, EventExecutor executor) -
Uses of ChannelFuture in io.netty.channel.nio
Methods in io.netty.channel.nio that return ChannelFuture Modifier and Type Method Description protected abstract ChannelFutureAbstractNioByteChannel. shutdownInput()Shutdown the input side of the channel. -
Uses of ChannelFuture in io.netty.channel.oio
Methods in io.netty.channel.oio that return ChannelFuture Modifier and Type Method Description protected abstract ChannelFutureAbstractOioByteChannel. shutdownInput()Deprecated.Shutdown the input side of this channel. -
Uses of ChannelFuture in io.netty.channel.pool
Methods in io.netty.channel.pool that return ChannelFuture Modifier and Type Method Description protected ChannelFutureSimpleChannelPool. connectChannel(Bootstrap bs)Bootstrap a newChannel.Methods in io.netty.channel.pool with parameters of type ChannelFuture Modifier and Type Method Description private voidSimpleChannelPool. notifyConnect(ChannelFuture future, Promise<Channel> promise) -
Uses of ChannelFuture in io.netty.channel.socket
Methods in io.netty.channel.socket that return ChannelFuture Modifier and Type Method Description ChannelFutureDatagramChannel. block(java.net.InetAddress multicastAddress, java.net.InetAddress sourceToBlock)Block the given sourceToBlock address for the given multicastAddress and notifies theChannelFutureonce the operation completes.ChannelFutureDatagramChannel. block(java.net.InetAddress multicastAddress, java.net.InetAddress sourceToBlock, ChannelPromise future)Block the given sourceToBlock address for the given multicastAddress and notifies theChannelFutureonce the operation completes.ChannelFutureDatagramChannel. block(java.net.InetAddress multicastAddress, java.net.NetworkInterface networkInterface, java.net.InetAddress sourceToBlock)Block the given sourceToBlock address for the given multicastAddress on the given networkInterface and notifies theChannelFutureonce the operation completes.ChannelFutureDatagramChannel. block(java.net.InetAddress multicastAddress, java.net.NetworkInterface networkInterface, java.net.InetAddress sourceToBlock, ChannelPromise future)Block the given sourceToBlock address for the given multicastAddress on the given networkInterface and notifies theChannelFutureonce the operation completes.ChannelFutureDatagramChannel. joinGroup(java.net.InetAddress multicastAddress)Joins a multicast group and notifies theChannelFutureonce the operation completes.ChannelFutureDatagramChannel. joinGroup(java.net.InetAddress multicastAddress, ChannelPromise future)Joins a multicast group and notifies theChannelFutureonce the operation completes.ChannelFutureDatagramChannel. joinGroup(java.net.InetAddress multicastAddress, java.net.NetworkInterface networkInterface, java.net.InetAddress source)Joins the specified multicast group at the specified interface and notifies theChannelFutureonce the operation completes.ChannelFutureDatagramChannel. joinGroup(java.net.InetAddress multicastAddress, java.net.NetworkInterface networkInterface, java.net.InetAddress source, ChannelPromise future)Joins the specified multicast group at the specified interface and notifies theChannelFutureonce the operation completes.ChannelFutureDatagramChannel. joinGroup(java.net.InetSocketAddress multicastAddress, java.net.NetworkInterface networkInterface)Joins the specified multicast group at the specified interface and notifies theChannelFutureonce the operation completes.ChannelFutureDatagramChannel. joinGroup(java.net.InetSocketAddress multicastAddress, java.net.NetworkInterface networkInterface, ChannelPromise future)Joins the specified multicast group at the specified interface and notifies theChannelFutureonce the operation completes.ChannelFutureDatagramChannel. leaveGroup(java.net.InetAddress multicastAddress)Leaves a multicast group and notifies theChannelFutureonce the operation completes.ChannelFutureDatagramChannel. leaveGroup(java.net.InetAddress multicastAddress, ChannelPromise future)Leaves a multicast group and notifies theChannelFutureonce the operation completes.ChannelFutureDatagramChannel. leaveGroup(java.net.InetAddress multicastAddress, java.net.NetworkInterface networkInterface, java.net.InetAddress source)Leave the specified multicast group at the specified interface using the specified source and notifies theChannelFutureonce the operation completes.ChannelFutureDatagramChannel. leaveGroup(java.net.InetAddress multicastAddress, java.net.NetworkInterface networkInterface, java.net.InetAddress source, ChannelPromise future)Leave the specified multicast group at the specified interface using the specified source and notifies theChannelFutureonce the operation completes.ChannelFutureDatagramChannel. leaveGroup(java.net.InetSocketAddress multicastAddress, java.net.NetworkInterface networkInterface)Leaves a multicast group on a specified local interface and notifies theChannelFutureonce the operation completes.ChannelFutureDatagramChannel. leaveGroup(java.net.InetSocketAddress multicastAddress, java.net.NetworkInterface networkInterface, ChannelPromise future)Leaves a multicast group on a specified local interface and notifies theChannelFutureonce the operation completes.ChannelFutureDuplexChannel. shutdown()Will shutdown the input and output sides of this channel.ChannelFutureDuplexChannel. shutdown(ChannelPromise promise)Will shutdown the input and output sides of this channel.ChannelFutureDuplexChannel. shutdownInput()ChannelFutureDuplexChannel. shutdownInput(ChannelPromise promise)Will shutdown the input and notifyChannelPromise.ChannelFutureDuplexChannel. shutdownOutput()ChannelFutureDuplexChannel. shutdownOutput(ChannelPromise promise)Will shutdown the output and notifyChannelPromise. -
Uses of ChannelFuture in io.netty.channel.socket.nio
Methods in io.netty.channel.socket.nio that return ChannelFuture Modifier and Type Method Description ChannelFutureNioDatagramChannel. block(java.net.InetAddress multicastAddress, java.net.InetAddress sourceToBlock)Block the given sourceToBlock address for the given multicastAddressChannelFutureNioDatagramChannel. block(java.net.InetAddress multicastAddress, java.net.InetAddress sourceToBlock, ChannelPromise promise)Block the given sourceToBlock address for the given multicastAddressChannelFutureNioDatagramChannel. block(java.net.InetAddress multicastAddress, java.net.NetworkInterface networkInterface, java.net.InetAddress sourceToBlock)Block the given sourceToBlock address for the given multicastAddress on the given networkInterfaceChannelFutureNioDatagramChannel. block(java.net.InetAddress multicastAddress, java.net.NetworkInterface networkInterface, java.net.InetAddress sourceToBlock, ChannelPromise promise)Block the given sourceToBlock address for the given multicastAddress on the given networkInterfaceChannelFutureNioDatagramChannel. joinGroup(java.net.InetAddress multicastAddress)ChannelFutureNioDatagramChannel. joinGroup(java.net.InetAddress multicastAddress, ChannelPromise promise)ChannelFutureNioDatagramChannel. joinGroup(java.net.InetAddress multicastAddress, java.net.NetworkInterface networkInterface, java.net.InetAddress source)ChannelFutureNioDatagramChannel. joinGroup(java.net.InetAddress multicastAddress, java.net.NetworkInterface networkInterface, java.net.InetAddress source, ChannelPromise promise)ChannelFutureNioDatagramChannel. joinGroup(java.net.InetSocketAddress multicastAddress, java.net.NetworkInterface networkInterface)ChannelFutureNioDatagramChannel. joinGroup(java.net.InetSocketAddress multicastAddress, java.net.NetworkInterface networkInterface, ChannelPromise promise)ChannelFutureNioDatagramChannel. leaveGroup(java.net.InetAddress multicastAddress)ChannelFutureNioDatagramChannel. leaveGroup(java.net.InetAddress multicastAddress, ChannelPromise promise)ChannelFutureNioDatagramChannel. leaveGroup(java.net.InetAddress multicastAddress, java.net.NetworkInterface networkInterface, java.net.InetAddress source)ChannelFutureNioDatagramChannel. leaveGroup(java.net.InetAddress multicastAddress, java.net.NetworkInterface networkInterface, java.net.InetAddress source, ChannelPromise promise)ChannelFutureNioDatagramChannel. leaveGroup(java.net.InetSocketAddress multicastAddress, java.net.NetworkInterface networkInterface)ChannelFutureNioDatagramChannel. leaveGroup(java.net.InetSocketAddress multicastAddress, java.net.NetworkInterface networkInterface, ChannelPromise promise)ChannelFutureNioSocketChannel. shutdown()ChannelFutureNioSocketChannel. shutdown(ChannelPromise promise)ChannelFutureNioSocketChannel. shutdownInput()ChannelFutureNioSocketChannel. shutdownInput(ChannelPromise promise)ChannelFutureNioSocketChannel. shutdownOutput()ChannelFutureNioSocketChannel. shutdownOutput(ChannelPromise promise)Methods in io.netty.channel.socket.nio with parameters of type ChannelFuture Modifier and Type Method Description private static voidNioSocketChannel. shutdownDone(ChannelFuture shutdownOutputFuture, ChannelFuture shutdownInputFuture, ChannelPromise promise)private voidNioSocketChannel. shutdownOutputDone(ChannelFuture shutdownOutputFuture, ChannelPromise promise) -
Uses of ChannelFuture in io.netty.channel.socket.oio
Methods in io.netty.channel.socket.oio that return ChannelFuture Modifier and Type Method Description ChannelFutureOioDatagramChannel. block(java.net.InetAddress multicastAddress, java.net.InetAddress sourceToBlock)Deprecated.ChannelFutureOioDatagramChannel. block(java.net.InetAddress multicastAddress, java.net.InetAddress sourceToBlock, ChannelPromise promise)Deprecated.ChannelFutureOioDatagramChannel. block(java.net.InetAddress multicastAddress, java.net.NetworkInterface networkInterface, java.net.InetAddress sourceToBlock)Deprecated.ChannelFutureOioDatagramChannel. block(java.net.InetAddress multicastAddress, java.net.NetworkInterface networkInterface, java.net.InetAddress sourceToBlock, ChannelPromise promise)Deprecated.ChannelFutureOioDatagramChannel. joinGroup(java.net.InetAddress multicastAddress)Deprecated.ChannelFutureOioDatagramChannel. joinGroup(java.net.InetAddress multicastAddress, ChannelPromise promise)Deprecated.ChannelFutureOioDatagramChannel. joinGroup(java.net.InetAddress multicastAddress, java.net.NetworkInterface networkInterface, java.net.InetAddress source)Deprecated.ChannelFutureOioDatagramChannel. joinGroup(java.net.InetAddress multicastAddress, java.net.NetworkInterface networkInterface, java.net.InetAddress source, ChannelPromise promise)Deprecated.ChannelFutureOioDatagramChannel. joinGroup(java.net.InetSocketAddress multicastAddress, java.net.NetworkInterface networkInterface)Deprecated.ChannelFutureOioDatagramChannel. joinGroup(java.net.InetSocketAddress multicastAddress, java.net.NetworkInterface networkInterface, ChannelPromise promise)Deprecated.ChannelFutureOioDatagramChannel. leaveGroup(java.net.InetAddress multicastAddress)Deprecated.ChannelFutureOioDatagramChannel. leaveGroup(java.net.InetAddress multicastAddress, ChannelPromise promise)Deprecated.ChannelFutureOioDatagramChannel. leaveGroup(java.net.InetAddress multicastAddress, java.net.NetworkInterface networkInterface, java.net.InetAddress source)Deprecated.ChannelFutureOioDatagramChannel. leaveGroup(java.net.InetAddress multicastAddress, java.net.NetworkInterface networkInterface, java.net.InetAddress source, ChannelPromise promise)Deprecated.ChannelFutureOioDatagramChannel. leaveGroup(java.net.InetSocketAddress multicastAddress, java.net.NetworkInterface networkInterface)Deprecated.ChannelFutureOioDatagramChannel. leaveGroup(java.net.InetSocketAddress multicastAddress, java.net.NetworkInterface networkInterface, ChannelPromise promise)Deprecated.ChannelFutureOioSocketChannel. shutdown()Deprecated.ChannelFutureOioSocketChannel. shutdown(ChannelPromise promise)Deprecated.ChannelFutureOioSocketChannel. shutdownInput()Deprecated.ChannelFutureOioSocketChannel. shutdownInput(ChannelPromise promise)Deprecated.ChannelFutureOioSocketChannel. shutdownOutput()Deprecated.ChannelFutureOioSocketChannel. shutdownOutput(ChannelPromise promise)Deprecated.Methods in io.netty.channel.socket.oio with parameters of type ChannelFuture Modifier and Type Method Description private static voidOioSocketChannel. shutdownDone(ChannelFuture shutdownOutputFuture, ChannelFuture shutdownInputFuture, ChannelPromise promise)Deprecated.private voidOioSocketChannel. shutdownOutputDone(ChannelFuture shutdownOutputFuture, ChannelPromise promise)Deprecated. -
Uses of ChannelFuture in io.netty.handler.codec.compression
Methods in io.netty.handler.codec.compression that return ChannelFuture Modifier and Type Method Description ChannelFutureBzip2Encoder. close()Close thisBzip2Encoderand so finish the encoding.ChannelFutureBzip2Encoder. close(ChannelPromise promise)Close thisBzip2Encoderand so finish the encoding.ChannelFutureJdkZlibEncoder. close()ChannelFutureJdkZlibEncoder. close(ChannelPromise promise)ChannelFutureJZlibEncoder. close()ChannelFutureJZlibEncoder. close(ChannelPromise promise)abstract ChannelFutureZlibEncoder. close()Close thisZlibEncoderand so finish the encoding.abstract ChannelFutureZlibEncoder. close(ChannelPromise promise)Close thisZlibEncoderand so finish the encoding.private ChannelFutureBzip2Encoder. finishEncode(ChannelHandlerContext ctx, ChannelPromise promise)private ChannelFutureJdkZlibEncoder. finishEncode(ChannelHandlerContext ctx, ChannelPromise promise)private ChannelFutureJZlibEncoder. finishEncode(ChannelHandlerContext ctx, ChannelPromise promise) -
Uses of ChannelFuture in io.netty.handler.codec.http.websocketx
Methods in io.netty.handler.codec.http.websocketx that return ChannelFuture Modifier and Type Method Description ChannelFutureWebSocketClientHandshaker. close(Channel channel, CloseWebSocketFrame frame)Performs the closing handshakeChannelFutureWebSocketClientHandshaker. close(Channel channel, CloseWebSocketFrame frame, ChannelPromise promise)Performs the closing handshakeChannelFutureWebSocketServerHandshaker. close(Channel channel, CloseWebSocketFrame frame)Performs the closing handshakeChannelFutureWebSocketServerHandshaker. close(Channel channel, CloseWebSocketFrame frame, ChannelPromise promise)Performs the closing handshakeChannelFutureWebSocketServerHandshaker00. close(Channel channel, CloseWebSocketFrame frame, ChannelPromise promise)Echo back the closing frame(package private) ChannelFutureWebSocketClientProtocolHandshakeHandler. getHandshakeFuture()This method is visible for testing.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 not support the web socket versionstatic ChannelFutureWebSocketServerHandshakerFactory. sendUnsupportedVersionResponse(Channel channel, ChannelPromise promise)Return that we need cannot not support the web socket versionMethods in io.netty.handler.codec.http.websocketx with parameters of type ChannelFuture Modifier and Type Method Description private voidWebSocketClientHandshaker. applyForceCloseTimeout(Channel channel, ChannelFuture flushFuture) -
Uses of ChannelFuture in io.netty.handler.codec.http2
Classes in io.netty.handler.codec.http2 that implement ChannelFuture Modifier and Type Class Description (package private) static classHttp2CodecUtil.SimpleChannelPromiseAggregatorProvides the ability to associate the outcome of multipleChannelPromiseobjects into a singleChannelPromiseobject.Methods in io.netty.handler.codec.http2 that return ChannelFuture Modifier and Type Method Description ChannelFutureAbstractHttp2StreamChannel. bind(java.net.SocketAddress localAddress)ChannelFutureAbstractHttp2StreamChannel. bind(java.net.SocketAddress localAddress, ChannelPromise promise)ChannelFutureAbstractHttp2StreamChannel. close()ChannelFutureAbstractHttp2StreamChannel. close(ChannelPromise promise)ChannelFutureAbstractHttp2StreamChannel. closeFuture()ChannelFutureAbstractHttp2StreamChannel. connect(java.net.SocketAddress remoteAddress)ChannelFutureAbstractHttp2StreamChannel. connect(java.net.SocketAddress remoteAddress, ChannelPromise promise)ChannelFutureAbstractHttp2StreamChannel. connect(java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress)ChannelFutureAbstractHttp2StreamChannel. connect(java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, ChannelPromise promise)ChannelFutureAbstractHttp2StreamChannel. deregister()ChannelFutureAbstractHttp2StreamChannel. deregister(ChannelPromise promise)ChannelFutureAbstractHttp2StreamChannel. disconnect()ChannelFutureAbstractHttp2StreamChannel. disconnect(ChannelPromise promise)ChannelFutureHttp2ConnectionHandler. goAway(ChannelHandlerContext ctx, int lastStreamId, long errorCode, ByteBuf debugData, ChannelPromise promise)private ChannelFutureHttp2ConnectionHandler. goAway(ChannelHandlerContext ctx, Http2Exception cause, ChannelPromise promise)Close the remote endpoint with with aGO_AWAYframe.ChannelFutureHttp2LifecycleManager. goAway(ChannelHandlerContext ctx, int lastStreamId, long errorCode, ByteBuf debugData, ChannelPromise promise)Prevents the peer from creating streams and close the connection iferrorCodeis notHttp2Error.NO_ERROR.ChannelFutureAbstractHttp2StreamChannel. newFailedFuture(java.lang.Throwable cause)ChannelFutureAbstractHttp2StreamChannel. newSucceededFuture()ChannelFutureHttp2ConnectionHandler. resetStream(ChannelHandlerContext ctx, int streamId, long errorCode, ChannelPromise promise)private ChannelFutureHttp2ConnectionHandler. resetStream(ChannelHandlerContext ctx, Http2Stream stream, long errorCode, ChannelPromise promise)ChannelFutureHttp2LifecycleManager. resetStream(ChannelHandlerContext ctx, int streamId, long errorCode, ChannelPromise promise)Ensure the stream identified bystreamIdis reset.private ChannelFutureHttp2ConnectionHandler. resetUnknownStream(ChannelHandlerContext ctx, int streamId, long errorCode, ChannelPromise promise)Sends aRST_STREAMframe even if we don't know about the stream.private static ChannelFutureDefaultHttp2ConnectionEncoder. sendHeaders(Http2FrameWriter frameWriter, ChannelHandlerContext ctx, int streamId, Http2Headers headers, boolean hasPriority, int streamDependency, short weight, boolean exclusive, int padding, boolean endOfStream, ChannelPromise promise)Write headers viaHttp2FrameWriter.ChannelFutureAbstractHttp2StreamChannel. write(java.lang.Object msg)ChannelFutureAbstractHttp2StreamChannel. write(java.lang.Object msg, ChannelPromise promise)protected ChannelFutureAbstractHttp2StreamChannel. write0(ChannelHandlerContext ctx, java.lang.Object msg)protected ChannelFutureHttp2MultiplexCodec.Http2MultiplexCodecStreamChannel. write0(ChannelHandlerContext ctx, java.lang.Object msg)ChannelFutureAbstractHttp2StreamChannel. writeAndFlush(java.lang.Object msg)ChannelFutureAbstractHttp2StreamChannel. writeAndFlush(java.lang.Object msg, ChannelPromise promise)private ChannelFutureDefaultHttp2FrameWriter. writeContinuationFrames(ChannelHandlerContext ctx, int streamId, ByteBuf headerBlock, Http2CodecUtil.SimpleChannelPromiseAggregator promiseAggregator)Writes as many continuation frames as needed untilpaddingandheaderBlockare consumed.ChannelFutureCompressorHttp2ConnectionEncoder. writeData(ChannelHandlerContext ctx, int streamId, ByteBuf data, int padding, boolean endOfStream, ChannelPromise promise)ChannelFutureDecoratingHttp2FrameWriter. writeData(ChannelHandlerContext ctx, int streamId, ByteBuf data, int padding, boolean endStream, ChannelPromise promise)ChannelFutureDefaultHttp2ConnectionEncoder. writeData(ChannelHandlerContext ctx, int streamId, ByteBuf data, int padding, boolean endOfStream, ChannelPromise promise)ChannelFutureDefaultHttp2FrameWriter. writeData(ChannelHandlerContext ctx, int streamId, ByteBuf data, int padding, boolean endStream, ChannelPromise promise)ChannelFutureHttp2DataWriter. writeData(ChannelHandlerContext ctx, int streamId, ByteBuf data, int padding, boolean endStream, ChannelPromise promise)Writes aDATAframe to the remote endpoint.ChannelFutureHttp2OutboundFrameLogger. writeData(ChannelHandlerContext ctx, int streamId, ByteBuf data, int padding, boolean endStream, ChannelPromise promise)ChannelFutureStreamBufferingEncoder. writeData(ChannelHandlerContext ctx, int streamId, ByteBuf data, int padding, boolean endOfStream, ChannelPromise promise)ChannelFutureDecoratingHttp2FrameWriter. writeFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, ByteBuf payload, ChannelPromise promise)ChannelFutureDefaultHttp2ConnectionEncoder. writeFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, ByteBuf payload, ChannelPromise promise)ChannelFutureDefaultHttp2FrameWriter. writeFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, ByteBuf payload, ChannelPromise promise)ChannelFutureHttp2ConnectionEncoder. writeFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, ByteBuf payload, ChannelPromise promise)Writes the given data to the internalHttp2FrameWriterwithout performing any state checks on the connection/stream.ChannelFutureHttp2FrameWriter. writeFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, ByteBuf payload, ChannelPromise promise)Generic write method for any HTTP/2 frame.ChannelFutureHttp2OutboundFrameLogger. writeFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, ByteBuf payload, ChannelPromise promise)ChannelFutureDecoratingHttp2FrameWriter. writeGoAway(ChannelHandlerContext ctx, int lastStreamId, long errorCode, ByteBuf debugData, ChannelPromise promise)ChannelFutureDefaultHttp2ConnectionEncoder. writeGoAway(ChannelHandlerContext ctx, int lastStreamId, long errorCode, ByteBuf debugData, ChannelPromise promise)ChannelFutureDefaultHttp2FrameWriter. writeGoAway(ChannelHandlerContext ctx, int lastStreamId, long errorCode, ByteBuf debugData, ChannelPromise promise)ChannelFutureHttp2FrameWriter. writeGoAway(ChannelHandlerContext ctx, int lastStreamId, long errorCode, ByteBuf debugData, ChannelPromise promise)Writes a GO_AWAY frame to the remote endpoint.ChannelFutureHttp2OutboundFrameLogger. writeGoAway(ChannelHandlerContext ctx, int lastStreamId, long errorCode, ByteBuf debugData, ChannelPromise promise)ChannelFutureCompressorHttp2ConnectionEncoder. writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endStream, ChannelPromise promise)ChannelFutureCompressorHttp2ConnectionEncoder. writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endOfStream, ChannelPromise promise)ChannelFutureDecoratingHttp2FrameWriter. writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endStream, ChannelPromise promise)ChannelFutureDecoratingHttp2FrameWriter. writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endStream, ChannelPromise promise)ChannelFutureDefaultHttp2ConnectionEncoder. writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endStream, ChannelPromise promise)ChannelFutureDefaultHttp2ConnectionEncoder. writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endOfStream, ChannelPromise promise)ChannelFutureDefaultHttp2FrameWriter. writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endStream, ChannelPromise promise)ChannelFutureDefaultHttp2FrameWriter. writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endStream, ChannelPromise promise)ChannelFutureHttp2FrameWriter. writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endStream, ChannelPromise promise)Writes a HEADERS frame to the remote endpoint.ChannelFutureHttp2FrameWriter. writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endStream, ChannelPromise promise)Writes a HEADERS frame with priority specified to the remote endpoint.ChannelFutureHttp2OutboundFrameLogger. writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endStream, ChannelPromise promise)ChannelFutureHttp2OutboundFrameLogger. writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endStream, ChannelPromise promise)ChannelFutureStreamBufferingEncoder. writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endStream, ChannelPromise promise)ChannelFutureStreamBufferingEncoder. writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endOfStream, ChannelPromise promise)private ChannelFutureDefaultHttp2ConnectionEncoder. writeHeaders0(ChannelHandlerContext ctx, int streamId, Http2Headers headers, boolean hasPriority, int streamDependency, short weight, boolean exclusive, int padding, boolean endOfStream, ChannelPromise promise)private ChannelFutureDefaultHttp2FrameWriter. writeHeadersInternal(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endStream, boolean hasPriority, int streamDependency, short weight, boolean exclusive, ChannelPromise promise)ChannelFutureDecoratingHttp2FrameWriter. writePing(ChannelHandlerContext ctx, boolean ack, long data, ChannelPromise promise)ChannelFutureDefaultHttp2ConnectionEncoder. writePing(ChannelHandlerContext ctx, boolean ack, long data, ChannelPromise promise)ChannelFutureDefaultHttp2FrameWriter. writePing(ChannelHandlerContext ctx, boolean ack, long data, ChannelPromise promise)ChannelFutureHttp2ControlFrameLimitEncoder. writePing(ChannelHandlerContext ctx, boolean ack, long data, ChannelPromise promise)ChannelFutureHttp2FrameWriter. writePing(ChannelHandlerContext ctx, boolean ack, long data, ChannelPromise promise)Writes a PING frame to the remote endpoint.ChannelFutureHttp2OutboundFrameLogger. writePing(ChannelHandlerContext ctx, boolean ack, long data, ChannelPromise promise)ChannelFutureDecoratingHttp2FrameWriter. writePriority(ChannelHandlerContext ctx, int streamId, int streamDependency, short weight, boolean exclusive, ChannelPromise promise)ChannelFutureDefaultHttp2ConnectionEncoder. writePriority(ChannelHandlerContext ctx, int streamId, int streamDependency, short weight, boolean exclusive, ChannelPromise promise)ChannelFutureDefaultHttp2FrameWriter. writePriority(ChannelHandlerContext ctx, int streamId, int streamDependency, short weight, boolean exclusive, ChannelPromise promise)ChannelFutureHttp2FrameWriter. writePriority(ChannelHandlerContext ctx, int streamId, int streamDependency, short weight, boolean exclusive, ChannelPromise promise)Writes a PRIORITY frame to the remote endpoint.ChannelFutureHttp2OutboundFrameLogger. writePriority(ChannelHandlerContext ctx, int streamId, int streamDependency, short weight, boolean exclusive, ChannelPromise promise)ChannelFutureDecoratingHttp2FrameWriter. writePushPromise(ChannelHandlerContext ctx, int streamId, int promisedStreamId, Http2Headers headers, int padding, ChannelPromise promise)ChannelFutureDefaultHttp2ConnectionEncoder. writePushPromise(ChannelHandlerContext ctx, int streamId, int promisedStreamId, Http2Headers headers, int padding, ChannelPromise promise)ChannelFutureDefaultHttp2FrameWriter. writePushPromise(ChannelHandlerContext ctx, int streamId, int promisedStreamId, Http2Headers headers, int padding, ChannelPromise promise)ChannelFutureHttp2FrameWriter. writePushPromise(ChannelHandlerContext ctx, int streamId, int promisedStreamId, Http2Headers headers, int padding, ChannelPromise promise)Writes a PUSH_PROMISE frame to the remote endpoint.ChannelFutureHttp2OutboundFrameLogger. writePushPromise(ChannelHandlerContext ctx, int streamId, int promisedStreamId, Http2Headers headers, int padding, ChannelPromise promise)ChannelFutureDecoratingHttp2FrameWriter. writeRstStream(ChannelHandlerContext ctx, int streamId, long errorCode, ChannelPromise promise)ChannelFutureDefaultHttp2ConnectionEncoder. writeRstStream(ChannelHandlerContext ctx, int streamId, long errorCode, ChannelPromise promise)ChannelFutureDefaultHttp2FrameWriter. writeRstStream(ChannelHandlerContext ctx, int streamId, long errorCode, ChannelPromise promise)ChannelFutureHttp2ControlFrameLimitEncoder. writeRstStream(ChannelHandlerContext ctx, int streamId, long errorCode, ChannelPromise promise)ChannelFutureHttp2FrameWriter. writeRstStream(ChannelHandlerContext ctx, int streamId, long errorCode, ChannelPromise promise)Writes a RST_STREAM frame to the remote endpoint.ChannelFutureHttp2OutboundFrameLogger. writeRstStream(ChannelHandlerContext ctx, int streamId, long errorCode, ChannelPromise promise)ChannelFutureStreamBufferingEncoder. writeRstStream(ChannelHandlerContext ctx, int streamId, long errorCode, ChannelPromise promise)ChannelFutureDecoratingHttp2FrameWriter. writeSettings(ChannelHandlerContext ctx, Http2Settings settings, ChannelPromise promise)ChannelFutureDefaultHttp2ConnectionEncoder. writeSettings(ChannelHandlerContext ctx, Http2Settings settings, ChannelPromise promise)ChannelFutureDefaultHttp2FrameWriter. writeSettings(ChannelHandlerContext ctx, Http2Settings settings, ChannelPromise promise)ChannelFutureHttp2FrameWriter. writeSettings(ChannelHandlerContext ctx, Http2Settings settings, ChannelPromise promise)Writes a SETTINGS frame to the remote endpoint.ChannelFutureHttp2OutboundFrameLogger. writeSettings(ChannelHandlerContext ctx, Http2Settings settings, ChannelPromise promise)ChannelFutureDecoratingHttp2FrameWriter. writeSettingsAck(ChannelHandlerContext ctx, ChannelPromise promise)ChannelFutureDefaultHttp2ConnectionEncoder. writeSettingsAck(ChannelHandlerContext ctx, ChannelPromise promise)ChannelFutureDefaultHttp2FrameWriter. writeSettingsAck(ChannelHandlerContext ctx, ChannelPromise promise)ChannelFutureHttp2ControlFrameLimitEncoder. writeSettingsAck(ChannelHandlerContext ctx, ChannelPromise promise)ChannelFutureHttp2FrameWriter. writeSettingsAck(ChannelHandlerContext ctx, ChannelPromise promise)Writes a SETTINGS acknowledgment to the remote endpoint.ChannelFutureHttp2OutboundFrameLogger. writeSettingsAck(ChannelHandlerContext ctx, ChannelPromise promise)ChannelFutureDecoratingHttp2FrameWriter. writeWindowUpdate(ChannelHandlerContext ctx, int streamId, int windowSizeIncrement, ChannelPromise promise)ChannelFutureDefaultHttp2ConnectionEncoder. writeWindowUpdate(ChannelHandlerContext ctx, int streamId, int windowSizeIncrement, ChannelPromise promise)ChannelFutureDefaultHttp2FrameWriter. writeWindowUpdate(ChannelHandlerContext ctx, int streamId, int windowSizeIncrement, ChannelPromise promise)ChannelFutureHttp2FrameWriter. writeWindowUpdate(ChannelHandlerContext ctx, int streamId, int windowSizeIncrement, ChannelPromise promise)Writes a WINDOW_UPDATE frame to the remote endpoint.ChannelFutureHttp2OutboundFrameLogger. writeWindowUpdate(ChannelHandlerContext ctx, int streamId, int windowSizeIncrement, ChannelPromise promise)Methods in io.netty.handler.codec.http2 with parameters of type ChannelFuture Modifier and Type Method Description private voidHttp2ConnectionHandler. checkCloseConnection(ChannelFuture future)Closes the connection if the graceful shutdown process has completed.private voidHttp2ConnectionHandler. closeConnectionOnError(ChannelHandlerContext ctx, ChannelFuture future)voidHttp2ConnectionHandler. closeStream(Http2Stream stream, ChannelFuture future)voidHttp2LifecycleManager. closeStream(Http2Stream stream, ChannelFuture future)Closes and deactivates the givenstream.voidHttp2ConnectionHandler. closeStreamLocal(Http2Stream stream, ChannelFuture future)Closes the local side of the given stream.voidHttp2LifecycleManager. closeStreamLocal(Http2Stream stream, ChannelFuture future)Closes the local side of thestream.voidHttp2ConnectionHandler. closeStreamRemote(Http2Stream stream, ChannelFuture future)Closes the remote side of the given stream.voidHttp2LifecycleManager. closeStreamRemote(Http2Stream stream, ChannelFuture future)Closes the remote side of thestream.private voidHttp2ConnectionHandler. doGracefulShutdown(ChannelHandlerContext ctx, ChannelFuture future, ChannelPromise promise)private voidAbstractHttp2StreamChannel.Http2ChannelUnsafe. firstWriteComplete(ChannelFuture future, ChannelPromise promise)private voidHttp2FrameCodec. handleHeaderFuture(ChannelFuture channelFuture, int streamId)private voidDefaultHttp2ConnectionEncoder. notifyLifecycleManagerOnError(ChannelFuture future, ChannelHandlerContext ctx)voidDefaultHttp2ConnectionEncoder.FlowControlledBase. operationComplete(ChannelFuture future)voidHttp2ConnectionHandler.ClosingChannelFutureListener. operationComplete(ChannelFuture sentGoAwayFuture)private static voidHttp2ConnectionHandler. processGoAwayWriteResult(ChannelHandlerContext ctx, int lastStreamId, long errorCode, ByteBuf debugData, ChannelFuture future)private voidHttp2ConnectionHandler. processRstStreamWriteResult(ChannelHandlerContext ctx, Http2Stream stream, ChannelFuture future)(package private) static voidHttp2MultiplexHandler. registerDone(ChannelFuture future)private static voidAbstractHttp2StreamChannel. windowUpdateFrameWriteComplete(ChannelFuture future, Channel streamChannel)private voidAbstractHttp2StreamChannel.Http2ChannelUnsafe. writeComplete(ChannelFuture future, ChannelPromise promise) -
Uses of ChannelFuture in io.netty.handler.codec.spdy
Methods in io.netty.handler.codec.spdy that return ChannelFuture Modifier and Type Method Description private ChannelFutureSpdySessionHandler. sendGoAwayFrame(ChannelHandlerContext ctx, SpdySessionStatus status)Methods in io.netty.handler.codec.spdy with parameters of type ChannelFuture Modifier and Type Method Description private voidSpdySessionHandler. halfCloseStream(int streamId, boolean remote, ChannelFuture future)voidSpdySessionHandler.ClosingChannelFutureListener. operationComplete(ChannelFuture sentGoAwayFuture)private voidSpdySessionHandler. removeStream(int streamId, ChannelFuture future) -
Uses of ChannelFuture in io.netty.handler.ipfilter
Methods in io.netty.handler.ipfilter that return ChannelFuture Modifier and Type Method Description protected ChannelFutureAbstractRemoteAddressFilter. channelRejected(ChannelHandlerContext ctx, T remoteAddress)This method is called ifremoteAddressgets rejected byAbstractRemoteAddressFilter.accept(ChannelHandlerContext, SocketAddress). -
Uses of ChannelFuture in io.netty.handler.ssl
Methods in io.netty.handler.ssl that return ChannelFuture Modifier and Type Method Description ChannelFutureSslHandler. close()Deprecated.ChannelFutureSslHandler. close(ChannelPromise promise)Deprecated.ChannelFutureSslHandler. closeOutbound()Sends an SSLclose_notifymessage to the specified channel and destroys the underlyingSSLEngine.ChannelFutureSslHandler. closeOutbound(ChannelPromise promise)Sends an SSLclose_notifymessage to the specified channel and destroys the underlyingSSLEngine.Methods in io.netty.handler.ssl with parameters of type ChannelFuture Modifier and Type Method Description private static voidSslHandler. addCloseListener(ChannelFuture future, ChannelPromise promise)private voidSslHandler. safeClose(ChannelHandlerContext ctx, ChannelFuture flushFuture, ChannelPromise promise) -
Uses of ChannelFuture in io.netty.handler.stream
Methods in io.netty.handler.stream with parameters of type ChannelFuture Modifier and Type Method Description private static voidChunkedWriteHandler. handleEndOfInputFuture(ChannelFuture future, ChunkedWriteHandler.PendingWrite currentWrite)private voidChunkedWriteHandler. handleFuture(ChannelFuture future, ChunkedWriteHandler.PendingWrite currentWrite, boolean resume) -
Uses of ChannelFuture in io.netty.handler.timeout
Methods in io.netty.handler.timeout with parameters of type ChannelFuture Modifier and Type Method Description voidWriteTimeoutHandler.WriteTimeoutTask. operationComplete(ChannelFuture future) -
Uses of ChannelFuture in io.netty.resolver.dns
Methods in io.netty.resolver.dns with parameters of type ChannelFuture Modifier and Type Method Description private voidDnsQueryContext. onQueryWriteCompletion(ChannelFuture writeFuture)voidBiDnsQueryLifecycleObserver. queryWritten(java.net.InetSocketAddress dnsServerAddress, ChannelFuture future)voidDnsQueryLifecycleObserver. queryWritten(java.net.InetSocketAddress dnsServerAddress, ChannelFuture future)The query has been written.voidNoopDnsQueryLifecycleObserver. queryWritten(java.net.InetSocketAddress dnsServerAddress, ChannelFuture future)voidTraceDnsQueryLifecycleObserver. queryWritten(java.net.InetSocketAddress dnsServerAddress, ChannelFuture future)
-