Uses of Interface
io.netty.channel.ChannelPromise
Packages that use ChannelPromise
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.
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).
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).
Package to dynamically replace local / remote
SocketAddress.Extensible decoder and its common implementations which deal with the
packet fragmentation and reassembly issue found in a stream-based transport
such as TCP/IP.
Encoder, decoder and their related message types for HTTP.
This package contains Cross Origin Resource Sharing (CORS) related classes.
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
Encoder, decoder, handshakers to handle
WebSocket Extensions.
Handlers for sending and receiving HTTP/2 frames.
Encoder, decoder, session handler and their related message types for the SPDY protocol.
Package to control flush behavior.
Logs the I/O events for debugging purpose.
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
Writes very large data stream asynchronously neither spending a lot of
memory nor getting
OutOfMemoryError.Adds support for read and write timeout and idle connection notification
using a
Timer.Implementation of a Traffic Shaping Handler and Dynamic Statistics.
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 ChannelPromise in io.netty.bootstrap
Classes in io.netty.bootstrap that implement ChannelPromiseModifier and TypeClassDescription(package private) static final classMethods in io.netty.bootstrap with parameters of type ChannelPromiseModifier and TypeMethodDescriptionvoidFailedChannel.FailedChannelUnsafe.connect(SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) private static voidAbstractBootstrap.doBind0(ChannelFuture regFuture, Channel channel, SocketAddress localAddress, ChannelPromise promise) private static voidBootstrap.doConnect(SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise connectPromise) private ChannelFutureBootstrap.doResolveAndConnect0(Channel channel, SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.channel
Subinterfaces of ChannelPromise in io.netty.channelModifier and TypeInterfaceDescriptioninterfaceSpecialChannelPromisewhich will be notified once the associated bytes is transferring.Classes in io.netty.channel that implement ChannelPromiseModifier and TypeClassDescription(package private) static final classclassThe defaultChannelProgressivePromiseimplementation.classThe defaultChannelPromiseimplementation.final classfinal classFields in io.netty.channel declared as ChannelPromiseModifier and TypeFieldDescriptionprivate final ChannelPromiseDelegatingChannelPromiseNotifier.delegateprivate final ChannelPromiseChannelFlushPromiseNotifier.DefaultFlushCheckpoint.futureprivate ChannelPromiseAbstractChannelHandlerContext.WriteTask.promise(package private) ChannelPromiseChannelOutboundBuffer.Entry.promiseprivate ChannelPromisePendingWriteQueue.PendingWrite.promiseMethods in io.netty.channel that return ChannelPromiseModifier and TypeMethodDescriptionChannelPromise.addListener(GenericFutureListener<? extends Future<? super Void>> listener) DefaultChannelPromise.addListener(GenericFutureListener<? extends Future<? super Void>> listener) DelegatingChannelPromiseNotifier.addListener(GenericFutureListener<? extends Future<? super Void>> listener) ChannelPromise.addListeners(GenericFutureListener<? extends Future<? super Void>>... listeners) DefaultChannelPromise.addListeners(GenericFutureListener<? extends Future<? super Void>>... listeners) DelegatingChannelPromiseNotifier.addListeners(GenericFutureListener<? extends Future<? super Void>>... listeners) ChannelPromise.await()DefaultChannelPromise.await()DelegatingChannelPromiseNotifier.await()ChannelPromise.awaitUninterruptibly()DefaultChannelPromise.awaitUninterruptibly()DelegatingChannelPromiseNotifier.awaitUninterruptibly()AbstractChannel.newPromise()AbstractChannelHandlerContext.newPromise()ChannelOutboundInvoker.newPromise()Return a newChannelPromise.CombinedChannelDuplexHandler.DelegatingChannelHandlerContext.newPromise()final ChannelPromiseDefaultChannelPipeline.newPromise()ChannelFlushPromiseNotifier.DefaultFlushCheckpoint.promise()ChannelFlushPromiseNotifier.FlushCheckpoint.promise()DefaultChannelPromise.promise()PendingWriteQueue.remove()Removes a pending write operation and release it's message viaReferenceCountUtil.safeRelease(Object).ChannelPromise.removeListener(GenericFutureListener<? extends Future<? super Void>> listener) DefaultChannelPromise.removeListener(GenericFutureListener<? extends Future<? super Void>> listener) DelegatingChannelPromiseNotifier.removeListener(GenericFutureListener<? extends Future<? super Void>> listener) ChannelPromise.removeListeners(GenericFutureListener<? extends Future<? super Void>>... listeners) DefaultChannelPromise.removeListeners(GenericFutureListener<? extends Future<? super Void>>... listeners) DelegatingChannelPromiseNotifier.removeListeners(GenericFutureListener<? extends Future<? super Void>>... listeners) AbstractChannel.CloseFuture.setFailure(Throwable cause) ChannelPromise.setFailure(Throwable cause) DefaultChannelPromise.setFailure(Throwable cause) DelegatingChannelPromiseNotifier.setFailure(Throwable cause) AbstractChannel.CloseFuture.setSuccess()ChannelPromise.setSuccess()ChannelPromise.setSuccess(Void result) DefaultChannelPromise.setSuccess()DefaultChannelPromise.setSuccess(Void result) DelegatingChannelPromiseNotifier.setSuccess()DelegatingChannelPromiseNotifier.setSuccess(Void result) ChannelPromise.sync()DefaultChannelPromise.sync()DelegatingChannelPromiseNotifier.sync()ChannelPromise.syncUninterruptibly()DefaultChannelPromise.syncUninterruptibly()DelegatingChannelPromiseNotifier.syncUninterruptibly()ChannelPromise.unvoid()DefaultChannelPromise.unvoid()DelegatingChannelPromiseNotifier.unvoid()VoidChannelPromise.unvoid()final ChannelPromiseAbstractChannel.AbstractUnsafe.voidPromise()final ChannelPromiseAbstractChannel.voidPromise()AbstractChannelHandlerContext.voidPromise()Channel.Unsafe.voidPromise()Return a special ChannelPromise which can be reused and passed to the operations inChannel.Unsafe.ChannelOutboundInvoker.voidPromise()Return a special ChannelPromise which can be reused for different operations.CombinedChannelDuplexHandler.DelegatingChannelHandlerContext.voidPromise()final ChannelPromiseDefaultChannelPipeline.voidPromise()Methods in io.netty.channel with parameters of type ChannelPromiseModifier and TypeMethodDescriptionfinal voidAbstractCoalescingBufferQueue.add(ByteBuf buf, ChannelPromise promise) Add a buffer to the end of the queue and associate a promise with it that should be completed when all the buffer's bytes have been consumed from the queue and written.ChannelFlushPromiseNotifier.add(ChannelPromise promise, int pendingDataSize) Deprecated.ChannelFlushPromiseNotifier.add(ChannelPromise promise, long pendingDataSize) Add aChannelPromiseto thisChannelFlushPromiseNotifierwhich will be notified after the givenpendingDataSizewas reached.voidPendingWriteQueue.add(Object msg, ChannelPromise promise) Add the givenmsgandChannelPromise.final voidAbstractCoalescingBufferQueue.addFirst(ByteBuf buf, ChannelPromise promise) Add a buffer to the front of the queue and associate a promise with it that should be completed when all the buffer's bytes have been consumed from the queue and written.voidChannelOutboundBuffer.addMessage(Object msg, int size, ChannelPromise promise) Add given message to thisChannelOutboundBuffer.final voidAbstractChannel.AbstractUnsafe.bind(SocketAddress localAddress, ChannelPromise promise) AbstractChannel.bind(SocketAddress localAddress, ChannelPromise promise) AbstractChannelHandlerContext.bind(SocketAddress localAddress, ChannelPromise promise) voidChannel.Unsafe.bind(SocketAddress localAddress, ChannelPromise promise) voidChannelDuplexHandler.bind(ChannelHandlerContext ctx, SocketAddress localAddress, ChannelPromise promise) CallsChannelOutboundInvoker.bind(SocketAddress, ChannelPromise)to forward to the nextChannelOutboundHandlerin theChannelPipeline.voidChannelOutboundHandler.bind(ChannelHandlerContext ctx, SocketAddress localAddress, ChannelPromise promise) Called once a bind operation is made.voidChannelOutboundHandlerAdapter.bind(ChannelHandlerContext ctx, SocketAddress localAddress, ChannelPromise promise) CallsChannelOutboundInvoker.bind(SocketAddress, ChannelPromise)to forward to the nextChannelOutboundHandlerin theChannelPipeline.ChannelOutboundInvoker.bind(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.voidCombinedChannelDuplexHandler.bind(ChannelHandlerContext ctx, SocketAddress localAddress, ChannelPromise promise) CombinedChannelDuplexHandler.DelegatingChannelHandlerContext.bind(SocketAddress localAddress, ChannelPromise promise) final ChannelFutureDefaultChannelPipeline.bind(SocketAddress localAddress, ChannelPromise promise) voidDefaultChannelPipeline.HeadContext.bind(ChannelHandlerContext ctx, SocketAddress localAddress, ChannelPromise promise) voidAbstractChannel.AbstractUnsafe.close(ChannelPromise promise) private voidAbstractChannel.AbstractUnsafe.close(ChannelPromise promise, Throwable cause, ClosedChannelException closeCause, boolean notify) AbstractChannel.close(ChannelPromise promise) AbstractChannelHandlerContext.close(ChannelPromise promise) voidChannel.Unsafe.close(ChannelPromise promise) Close theChannelof theChannelPromiseand notify theChannelPromiseonce the operation was complete.voidChannelDuplexHandler.close(ChannelHandlerContext ctx, ChannelPromise promise) CallsChannelOutboundInvoker.close(ChannelPromise)to forward to the nextChannelOutboundHandlerin theChannelPipeline.voidChannelOutboundHandler.close(ChannelHandlerContext ctx, ChannelPromise promise) Called once a close operation is made.voidChannelOutboundHandlerAdapter.close(ChannelHandlerContext ctx, ChannelPromise promise) CallsChannelOutboundInvoker.close(ChannelPromise)to forward to the nextChannelOutboundHandlerin theChannelPipeline.ChannelOutboundInvoker.close(ChannelPromise promise) Request to close theChanneland notify theChannelFutureonce the operation completes, either because the operation was successful or because of an error.voidCombinedChannelDuplexHandler.close(ChannelHandlerContext ctx, ChannelPromise promise) CombinedChannelDuplexHandler.DelegatingChannelHandlerContext.close(ChannelPromise promise) final ChannelFutureDefaultChannelPipeline.close(ChannelPromise promise) voidDefaultChannelPipeline.HeadContext.close(ChannelHandlerContext ctx, ChannelPromise promise) AbstractChannel.connect(SocketAddress remoteAddress, ChannelPromise promise) AbstractChannel.connect(SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) AbstractChannelHandlerContext.connect(SocketAddress remoteAddress, ChannelPromise promise) AbstractChannelHandlerContext.connect(SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) voidAbstractServerChannel.DefaultServerUnsafe.connect(SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) voidChannel.Unsafe.connect(SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) voidChannelDuplexHandler.connect(ChannelHandlerContext ctx, SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) CallsChannelOutboundInvoker.connect(SocketAddress, SocketAddress, ChannelPromise)to forward to the nextChannelOutboundHandlerin theChannelPipeline.voidChannelOutboundHandler.connect(ChannelHandlerContext ctx, SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) Called once a connect operation is made.voidChannelOutboundHandlerAdapter.connect(ChannelHandlerContext ctx, SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) CallsChannelOutboundInvoker.connect(SocketAddress, SocketAddress, ChannelPromise)to forward to the nextChannelOutboundHandlerin theChannelPipeline.ChannelOutboundInvoker.connect(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.ChannelOutboundInvoker.connect(SocketAddress remoteAddress, 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.voidCombinedChannelDuplexHandler.connect(ChannelHandlerContext ctx, SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) CombinedChannelDuplexHandler.DelegatingChannelHandlerContext.connect(SocketAddress remoteAddress, ChannelPromise promise) CombinedChannelDuplexHandler.DelegatingChannelHandlerContext.connect(SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) final ChannelFutureDefaultChannelPipeline.connect(SocketAddress remoteAddress, ChannelPromise promise) final ChannelFutureDefaultChannelPipeline.connect(SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) voidDefaultChannelPipeline.HeadContext.connect(ChannelHandlerContext ctx, SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) final voidAbstractChannel.AbstractUnsafe.deregister(ChannelPromise promise) private voidAbstractChannel.AbstractUnsafe.deregister(ChannelPromise promise, boolean fireChannelInactive) AbstractChannel.deregister(ChannelPromise promise) AbstractChannelHandlerContext.deregister(ChannelPromise promise) voidChannel.Unsafe.deregister(ChannelPromise promise) Deregister theChannelof theChannelPromisefromEventLoopand notify theChannelPromiseonce the operation was complete.voidChannelDuplexHandler.deregister(ChannelHandlerContext ctx, ChannelPromise promise) CallsChannelOutboundInvoker.deregister(ChannelPromise)to forward to the nextChannelOutboundHandlerin theChannelPipeline.voidChannelOutboundHandler.deregister(ChannelHandlerContext ctx, ChannelPromise promise) Called once a deregister operation is made from the current registeredEventLoop.voidChannelOutboundHandlerAdapter.deregister(ChannelHandlerContext ctx, ChannelPromise promise) CallsChannelOutboundInvoker.deregister(ChannelPromise)to forward to the nextChannelOutboundHandlerin theChannelPipeline.ChannelOutboundInvoker.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.CombinedChannelDuplexHandler.DelegatingChannelHandlerContext.deregister(ChannelPromise promise) voidCombinedChannelDuplexHandler.deregister(ChannelHandlerContext ctx, ChannelPromise promise) final ChannelFutureDefaultChannelPipeline.deregister(ChannelPromise promise) voidDefaultChannelPipeline.HeadContext.deregister(ChannelHandlerContext ctx, ChannelPromise promise) final voidAbstractChannel.AbstractUnsafe.disconnect(ChannelPromise promise) AbstractChannel.disconnect(ChannelPromise promise) AbstractChannelHandlerContext.disconnect(ChannelPromise promise) voidChannel.Unsafe.disconnect(ChannelPromise promise) Disconnect theChannelof theChannelFutureand notify theChannelPromiseonce the operation was complete.voidChannelDuplexHandler.disconnect(ChannelHandlerContext ctx, ChannelPromise promise) CallsChannelOutboundInvoker.disconnect(ChannelPromise)to forward to the nextChannelOutboundHandlerin theChannelPipeline.voidChannelOutboundHandler.disconnect(ChannelHandlerContext ctx, ChannelPromise promise) Called once a disconnect operation is made.voidChannelOutboundHandlerAdapter.disconnect(ChannelHandlerContext ctx, ChannelPromise promise) CallsChannelOutboundInvoker.disconnect(ChannelPromise)to forward to the nextChannelOutboundHandlerin theChannelPipeline.ChannelOutboundInvoker.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.CombinedChannelDuplexHandler.DelegatingChannelHandlerContext.disconnect(ChannelPromise promise) voidCombinedChannelDuplexHandler.disconnect(ChannelHandlerContext ctx, ChannelPromise promise) final ChannelFutureDefaultChannelPipeline.disconnect(ChannelPromise promise) voidDefaultChannelPipeline.HeadContext.disconnect(ChannelHandlerContext ctx, ChannelPromise promise) private voidAbstractChannel.AbstractUnsafe.doClose0(ChannelPromise promise) protected final booleanAbstractChannel.AbstractUnsafe.ensureOpen(ChannelPromise promise) protected static voidAbstractChannelHandlerContext.WriteTask.init(AbstractChannelHandlerContext.WriteTask task, AbstractChannelHandlerContext ctx, Object msg, ChannelPromise promise, boolean flush) private voidAbstractChannelHandlerContext.invokeBind(SocketAddress localAddress, ChannelPromise promise) private voidAbstractChannelHandlerContext.invokeClose(ChannelPromise promise) private voidAbstractChannelHandlerContext.invokeConnect(SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) private voidAbstractChannelHandlerContext.invokeDeregister(ChannelPromise promise) private voidAbstractChannelHandlerContext.invokeDisconnect(ChannelPromise promise) (package private) voidAbstractChannelHandlerContext.invokeWrite(Object msg, ChannelPromise promise) private voidAbstractChannelHandlerContext.invokeWrite0(Object msg, ChannelPromise promise) (package private) voidAbstractChannelHandlerContext.invokeWriteAndFlush(Object msg, ChannelPromise promise) private booleanAbstractChannelHandlerContext.isNotValidPromise(ChannelPromise promise, boolean allowVoidPromise) (package private) static AbstractChannelHandlerContext.WriteTaskAbstractChannelHandlerContext.WriteTask.newInstance(AbstractChannelHandlerContext ctx, Object msg, ChannelPromise promise, boolean flush) (package private) static ChannelOutboundBuffer.EntryChannelOutboundBuffer.Entry.newInstance(Object msg, int size, long total, ChannelPromise promise) (package private) static PendingWriteQueue.PendingWritePendingWriteQueue.PendingWrite.newInstance(Object msg, int size, ChannelPromise promise) private static voidAbstractChannelHandlerContext.notifyOutboundHandlerException(Throwable cause, ChannelPromise promise) final voidAbstractChannel.AbstractUnsafe.register(EventLoop eventLoop, ChannelPromise promise) voidChannel.Unsafe.register(EventLoop eventLoop, ChannelPromise promise) Register theChannelof theChannelPromiseand notify theChannelFutureonce the registration was complete.EventLoopGroup.register(ChannelPromise promise) EventLoopGroup.register(Channel channel, ChannelPromise promise) Deprecated.UseEventLoopGroup.register(ChannelPromise)instead.MultithreadEventLoopGroup.register(ChannelPromise promise) MultithreadEventLoopGroup.register(Channel channel, ChannelPromise promise) Deprecated.SingleThreadEventLoop.register(ChannelPromise promise) SingleThreadEventLoop.register(Channel channel, ChannelPromise promise) Deprecated.ThreadPerChannelEventLoop.register(ChannelPromise promise) Deprecated.ThreadPerChannelEventLoop.register(Channel channel, ChannelPromise promise) Deprecated.ThreadPerChannelEventLoopGroup.register(ChannelPromise promise) Deprecated.ThreadPerChannelEventLoopGroup.register(Channel channel, ChannelPromise promise) Deprecated.private voidAbstractChannel.AbstractUnsafe.register0(ChannelPromise promise) final ByteBufAbstractCoalescingBufferQueue.remove(ByteBufAllocator alloc, int bytes, ChannelPromise aggregatePromise) Remove aByteBuffrom the queue with the specified number of bytes.CoalescingBufferQueue.remove(int bytes, ChannelPromise aggregatePromise) Remove aByteBuffrom the queue with the specified number of bytes.final ByteBufAbstractCoalescingBufferQueue.removeFirst(ChannelPromise aggregatePromise) Remove the firstByteBuffrom the queue.private static booleanAbstractChannelHandlerContext.safeExecute(EventExecutor executor, Runnable runnable, ChannelPromise promise, Object msg, boolean lazy) private static voidChannelOutboundBuffer.safeFail(ChannelPromise promise, Throwable cause) private static voidPendingWriteQueue.safeFail(ChannelPromise promise, Throwable cause) protected final voidAbstractChannel.AbstractUnsafe.safeSetFailure(ChannelPromise promise, Throwable cause) Marks the specifiedpromiseas failure.protected final voidAbstractChannel.AbstractUnsafe.safeSetSuccess(ChannelPromise promise) Marks the specifiedpromiseas success.private static voidChannelOutboundBuffer.safeSuccess(ChannelPromise promise) final voidAbstractChannel.AbstractUnsafe.shutdownOutput(ChannelPromise promise) Shutdown the output portion of the correspondingChannel.private voidAbstractChannel.AbstractUnsafe.shutdownOutput(ChannelPromise promise, Throwable cause) Shutdown the output portion of the correspondingChannel.private static ChannelFutureListenerAbstractCoalescingBufferQueue.toChannelFutureListener(ChannelPromise promise) final voidAbstractChannel.AbstractUnsafe.write(Object msg, ChannelPromise promise) AbstractChannel.write(Object msg, ChannelPromise promise) private voidAbstractChannelHandlerContext.write(Object msg, boolean flush, ChannelPromise promise) AbstractChannelHandlerContext.write(Object msg, ChannelPromise promise) voidChannel.Unsafe.write(Object msg, ChannelPromise promise) Schedules a write operation.voidChannelDuplexHandler.write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) CallsChannelOutboundInvoker.write(Object, ChannelPromise)to forward to the nextChannelOutboundHandlerin theChannelPipeline.voidChannelOutboundHandler.write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) Called once a write operation is made.voidChannelOutboundHandlerAdapter.write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) CallsChannelOutboundInvoker.write(Object, ChannelPromise)to forward to the nextChannelOutboundHandlerin theChannelPipeline.ChannelOutboundInvoker.write(Object msg, ChannelPromise promise) Request to write a message via thisChannelHandlerContextthrough theChannelPipeline.CombinedChannelDuplexHandler.DelegatingChannelHandlerContext.write(Object msg, ChannelPromise promise) voidCombinedChannelDuplexHandler.write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) voidDefaultChannelPipeline.HeadContext.write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) final ChannelFutureDefaultChannelPipeline.write(Object msg, ChannelPromise promise) AbstractChannel.writeAndFlush(Object msg, ChannelPromise promise) AbstractChannelHandlerContext.writeAndFlush(Object msg, ChannelPromise promise) ChannelOutboundInvoker.writeAndFlush(Object msg, ChannelPromise promise) Shortcut for callChannelOutboundInvoker.write(Object, ChannelPromise)andChannelOutboundInvoker.flush().CombinedChannelDuplexHandler.DelegatingChannelHandlerContext.writeAndFlush(Object msg, ChannelPromise promise) final ChannelFutureDefaultChannelPipeline.writeAndFlush(Object msg, ChannelPromise promise) Constructors in io.netty.channel with parameters of type ChannelPromiseModifierConstructorDescriptionChannelPromiseAggregator(ChannelPromise aggregatePromise) Deprecated.ChannelPromiseNotifier(boolean logNotifyFailure, ChannelPromise... promises) Deprecated.Create a new instanceChannelPromiseNotifier(ChannelPromise... promises) Deprecated.Create a new instance(package private)DefaultFlushCheckpoint(long checkpoint, ChannelPromise future) DelegatingChannelPromiseNotifier(ChannelPromise delegate, boolean logNotifyFailure) -
Uses of ChannelPromise in io.netty.channel.embedded
Methods in io.netty.channel.embedded with parameters of type ChannelPromiseModifier and TypeMethodDescriptionEmbeddedChannel.bind(SocketAddress localAddress, ChannelPromise promise) private ChannelFutureEmbeddedChannel.checkException(ChannelPromise promise) Checks for the presence of anException.final ChannelFutureEmbeddedChannel.close(ChannelPromise promise) EmbeddedChannel.connect(SocketAddress remoteAddress, ChannelPromise promise) EmbeddedChannel.connect(SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) voidEmbeddedChannel.EmbeddedUnsafe.connect(SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) EmbeddedChannel.deregister(ChannelPromise promise) final ChannelFutureEmbeddedChannel.disconnect(ChannelPromise promise) private ChannelFutureEmbeddedChannel.flushInbound(boolean recordException, ChannelPromise promise) EmbeddedEventLoop.register(ChannelPromise promise) EmbeddedEventLoop.register(Channel channel, ChannelPromise promise) Deprecated.EmbeddedChannel.write(Object msg, ChannelPromise promise) EmbeddedChannel.writeAndFlush(Object msg, ChannelPromise promise) EmbeddedChannel.writeOneInbound(Object msg, ChannelPromise promise) Writes one message to the inbound of thisChanneland does not flush it.EmbeddedChannel.writeOneOutbound(Object msg, ChannelPromise promise) Writes one message to the outbound of thisChanneland does not flush it. -
Uses of ChannelPromise in io.netty.channel.epoll
Fields in io.netty.channel.epoll declared as ChannelPromiseModifier and TypeFieldDescriptionprivate ChannelPromiseAbstractEpollChannel.connectPromiseThe future of the current connection attempt.private final ChannelPromiseAbstractEpollStreamChannel.SpliceFdTask.promise(package private) final ChannelPromiseAbstractEpollStreamChannel.SpliceInTask.promiseMethods in io.netty.channel.epoll with parameters of type ChannelPromiseModifier and TypeMethodDescriptionEpollDatagramChannel.block(InetAddress multicastAddress, InetAddress sourceToBlock, ChannelPromise promise) EpollDatagramChannel.block(InetAddress multicastAddress, NetworkInterface networkInterface, InetAddress sourceToBlock, ChannelPromise promise) voidAbstractEpollChannel.AbstractEpollUnsafe.connect(SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) voidAbstractEpollServerChannel.EpollServerSocketUnsafe.connect(SocketAddress socketAddress, SocketAddress socketAddress2, ChannelPromise channelPromise) private voidAbstractEpollStreamChannel.failSpliceIfClosed(ChannelPromise promise) private voidAbstractEpollChannel.AbstractEpollUnsafe.fulfillConnectPromise(ChannelPromise promise, boolean wasActive) private voidAbstractEpollChannel.AbstractEpollUnsafe.fulfillConnectPromise(ChannelPromise promise, Throwable cause) EpollDatagramChannel.joinGroup(InetAddress multicastAddress, ChannelPromise promise) EpollDatagramChannel.joinGroup(InetAddress multicastAddress, NetworkInterface networkInterface, InetAddress source, ChannelPromise promise) EpollDatagramChannel.joinGroup(InetSocketAddress multicastAddress, NetworkInterface networkInterface, ChannelPromise promise) private voidEpollDatagramChannel.joinGroup0(InetAddress multicastAddress, NetworkInterface networkInterface, InetAddress source, ChannelPromise promise) EpollDatagramChannel.leaveGroup(InetAddress multicastAddress, ChannelPromise promise) EpollDatagramChannel.leaveGroup(InetAddress multicastAddress, NetworkInterface networkInterface, InetAddress source, ChannelPromise promise) EpollDatagramChannel.leaveGroup(InetSocketAddress multicastAddress, NetworkInterface networkInterface, ChannelPromise promise) private voidEpollDatagramChannel.leaveGroup0(InetAddress multicastAddress, NetworkInterface networkInterface, InetAddress source, ChannelPromise promise) AbstractEpollStreamChannel.shutdown(ChannelPromise promise) private static voidAbstractEpollStreamChannel.shutdownDone(ChannelFuture shutdownOutputFuture, ChannelFuture shutdownInputFuture, ChannelPromise promise) AbstractEpollStreamChannel.shutdownInput(ChannelPromise promise) private voidAbstractEpollStreamChannel.shutdownInput0(ChannelPromise promise) AbstractEpollStreamChannel.shutdownOutput(ChannelPromise promise) private voidAbstractEpollStreamChannel.shutdownOutputDone(ChannelFuture shutdownOutputFuture, ChannelPromise promise) final ChannelFutureAbstractEpollStreamChannel.spliceTo(AbstractEpollStreamChannel ch, int len, ChannelPromise promise) Deprecated.will be removed in the future.final ChannelFutureAbstractEpollStreamChannel.spliceTo(FileDescriptor ch, int offset, int len, ChannelPromise promise) Deprecated.Will be removed in the future.Constructors in io.netty.channel.epoll with parameters of type ChannelPromiseModifierConstructorDescription(package private)SpliceFdTask(FileDescriptor fd, int offset, int len, ChannelPromise promise) (package private)SpliceInChannelTask(AbstractEpollStreamChannel ch, int len, ChannelPromise promise) protectedSpliceInTask(int len, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.channel.kqueue
Fields in io.netty.channel.kqueue declared as ChannelPromiseModifier and TypeFieldDescriptionprivate ChannelPromiseAbstractKQueueChannel.connectPromiseThe future of the current connection attempt.Methods in io.netty.channel.kqueue with parameters of type ChannelPromiseModifier and TypeMethodDescriptionKQueueDatagramChannel.block(InetAddress multicastAddress, InetAddress sourceToBlock, ChannelPromise promise) KQueueDatagramChannel.block(InetAddress multicastAddress, NetworkInterface networkInterface, InetAddress sourceToBlock, ChannelPromise promise) voidAbstractKQueueChannel.AbstractKQueueUnsafe.connect(SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) private voidAbstractKQueueChannel.AbstractKQueueUnsafe.fulfillConnectPromise(ChannelPromise promise, boolean wasActive) private voidAbstractKQueueChannel.AbstractKQueueUnsafe.fulfillConnectPromise(ChannelPromise promise, Throwable cause) KQueueDatagramChannel.joinGroup(InetAddress multicastAddress, ChannelPromise promise) KQueueDatagramChannel.joinGroup(InetAddress multicastAddress, NetworkInterface networkInterface, InetAddress source, ChannelPromise promise) KQueueDatagramChannel.joinGroup(InetSocketAddress multicastAddress, NetworkInterface networkInterface, ChannelPromise promise) KQueueDatagramChannel.leaveGroup(InetAddress multicastAddress, ChannelPromise promise) KQueueDatagramChannel.leaveGroup(InetAddress multicastAddress, NetworkInterface networkInterface, InetAddress source, ChannelPromise promise) KQueueDatagramChannel.leaveGroup(InetSocketAddress multicastAddress, NetworkInterface networkInterface, ChannelPromise promise) AbstractKQueueStreamChannel.shutdown(ChannelPromise promise) private static voidAbstractKQueueStreamChannel.shutdownDone(ChannelFuture shutdownOutputFuture, ChannelFuture shutdownInputFuture, ChannelPromise promise) AbstractKQueueStreamChannel.shutdownInput(ChannelPromise promise) private voidAbstractKQueueStreamChannel.shutdownInput0(ChannelPromise promise) AbstractKQueueStreamChannel.shutdownOutput(ChannelPromise promise) private voidAbstractKQueueStreamChannel.shutdownOutputDone(ChannelFuture shutdownOutputFuture, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.channel.local
Fields in io.netty.channel.local declared as ChannelPromiseMethods in io.netty.channel.local with parameters of type ChannelPromiseModifier and TypeMethodDescriptionvoidLocalChannel.LocalUnsafe.connect(SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.channel.nio
Fields in io.netty.channel.nio declared as ChannelPromiseModifier and TypeFieldDescriptionprivate ChannelPromiseAbstractNioChannel.connectPromiseThe future of the current connection attempt.Methods in io.netty.channel.nio with parameters of type ChannelPromiseModifier and TypeMethodDescriptionfinal voidAbstractNioChannel.AbstractNioUnsafe.connect(SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) private voidAbstractNioChannel.AbstractNioUnsafe.fulfillConnectPromise(ChannelPromise promise, boolean wasActive) private voidAbstractNioChannel.AbstractNioUnsafe.fulfillConnectPromise(ChannelPromise promise, Throwable cause) -
Uses of ChannelPromise in io.netty.channel.oio
Methods in io.netty.channel.oio with parameters of type ChannelPromiseModifier and TypeMethodDescriptionvoidAbstractOioChannel.DefaultOioUnsafe.connect(SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.channel.sctp
Methods in io.netty.channel.sctp with parameters of type ChannelPromiseModifier and TypeMethodDescriptionSctpChannel.bindAddress(InetAddress localAddress, ChannelPromise promise) Bind a address to the already bound channel to enable multi-homing.SctpServerChannel.bindAddress(InetAddress localAddress, ChannelPromise promise) Bind a address to the already bound channel to enable multi-homing.SctpChannel.unbindAddress(InetAddress localAddress, ChannelPromise promise) Unbind the address from channel's multi-homing address list.SctpServerChannel.unbindAddress(InetAddress localAddress, ChannelPromise promise) Unbind the address from channel's multi-homing address list. -
Uses of ChannelPromise in io.netty.channel.sctp.nio
Methods in io.netty.channel.sctp.nio with parameters of type ChannelPromiseModifier and TypeMethodDescriptionNioSctpChannel.bindAddress(InetAddress localAddress, ChannelPromise promise) NioSctpServerChannel.bindAddress(InetAddress localAddress, ChannelPromise promise) NioSctpChannel.unbindAddress(InetAddress localAddress, ChannelPromise promise) NioSctpServerChannel.unbindAddress(InetAddress localAddress, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.channel.sctp.oio
Methods in io.netty.channel.sctp.oio with parameters of type ChannelPromiseModifier and TypeMethodDescriptionOioSctpChannel.bindAddress(InetAddress localAddress, ChannelPromise promise) Deprecated.OioSctpServerChannel.bindAddress(InetAddress localAddress, ChannelPromise promise) Deprecated.OioSctpChannel.unbindAddress(InetAddress localAddress, ChannelPromise promise) Deprecated.OioSctpServerChannel.unbindAddress(InetAddress localAddress, ChannelPromise promise) Deprecated. -
Uses of ChannelPromise in io.netty.channel.socket
Methods in io.netty.channel.socket with parameters of type ChannelPromiseModifier and TypeMethodDescriptionDatagramChannel.block(InetAddress multicastAddress, InetAddress sourceToBlock, ChannelPromise future) Block the given sourceToBlock address for the given multicastAddress and notifies theChannelFutureonce the operation completes.DatagramChannel.block(InetAddress multicastAddress, NetworkInterface networkInterface, InetAddress sourceToBlock, ChannelPromise future) Block the given sourceToBlock address for the given multicastAddress on the given networkInterface and notifies theChannelFutureonce the operation completes.DatagramChannel.joinGroup(InetAddress multicastAddress, ChannelPromise future) Joins a multicast group and notifies theChannelFutureonce the operation completes.DatagramChannel.joinGroup(InetAddress multicastAddress, NetworkInterface networkInterface, InetAddress source, ChannelPromise future) Joins the specified multicast group at the specified interface and notifies theChannelFutureonce the operation completes.DatagramChannel.joinGroup(InetSocketAddress multicastAddress, NetworkInterface networkInterface, ChannelPromise future) Joins the specified multicast group at the specified interface and notifies theChannelFutureonce the operation completes.DatagramChannel.leaveGroup(InetAddress multicastAddress, ChannelPromise future) Leaves a multicast group and notifies theChannelFutureonce the operation completes.DatagramChannel.leaveGroup(InetAddress multicastAddress, NetworkInterface networkInterface, InetAddress source, ChannelPromise future) Leave the specified multicast group at the specified interface using the specified source and notifies theChannelFutureonce the operation completes.DatagramChannel.leaveGroup(InetSocketAddress multicastAddress, NetworkInterface networkInterface, ChannelPromise future) Leaves a multicast group on a specified local interface and notifies theChannelFutureonce the operation completes.DuplexChannel.shutdown(ChannelPromise promise) Will shutdown the input and output sides of this channel.DuplexChannel.shutdownInput(ChannelPromise promise) Will shutdown the input and notifyChannelPromise.DuplexChannel.shutdownOutput(ChannelPromise promise) Will shutdown the output and notifyChannelPromise. -
Uses of ChannelPromise in io.netty.channel.socket.nio
Methods in io.netty.channel.socket.nio with parameters of type ChannelPromiseModifier and TypeMethodDescriptionNioDatagramChannel.block(InetAddress multicastAddress, InetAddress sourceToBlock, ChannelPromise promise) Block the given sourceToBlock address for the given multicastAddressNioDatagramChannel.block(InetAddress multicastAddress, NetworkInterface networkInterface, InetAddress sourceToBlock, ChannelPromise promise) Block the given sourceToBlock address for the given multicastAddress on the given networkInterfaceNioDatagramChannel.joinGroup(InetAddress multicastAddress, ChannelPromise promise) NioDatagramChannel.joinGroup(InetAddress multicastAddress, NetworkInterface networkInterface, InetAddress source, ChannelPromise promise) NioDatagramChannel.joinGroup(InetSocketAddress multicastAddress, NetworkInterface networkInterface, ChannelPromise promise) NioDatagramChannel.leaveGroup(InetAddress multicastAddress, ChannelPromise promise) NioDatagramChannel.leaveGroup(InetAddress multicastAddress, NetworkInterface networkInterface, InetAddress source, ChannelPromise promise) NioDatagramChannel.leaveGroup(InetSocketAddress multicastAddress, NetworkInterface networkInterface, ChannelPromise promise) NioDomainSocketChannel.shutdown(ChannelPromise promise) NioSocketChannel.shutdown(ChannelPromise promise) private static voidNioDomainSocketChannel.shutdownDone(ChannelFuture shutdownOutputFuture, ChannelFuture shutdownInputFuture, ChannelPromise promise) private static voidNioSocketChannel.shutdownDone(ChannelFuture shutdownOutputFuture, ChannelFuture shutdownInputFuture, ChannelPromise promise) NioDomainSocketChannel.shutdownInput(ChannelPromise promise) NioSocketChannel.shutdownInput(ChannelPromise promise) private voidNioDomainSocketChannel.shutdownInput0(ChannelPromise promise) private voidNioSocketChannel.shutdownInput0(ChannelPromise promise) NioDomainSocketChannel.shutdownOutput(ChannelPromise promise) NioSocketChannel.shutdownOutput(ChannelPromise promise) private voidNioDomainSocketChannel.shutdownOutputDone(ChannelFuture shutdownOutputFuture, ChannelPromise promise) private voidNioSocketChannel.shutdownOutputDone(ChannelFuture shutdownOutputFuture, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.channel.socket.oio
Methods in io.netty.channel.socket.oio with parameters of type ChannelPromiseModifier and TypeMethodDescriptionOioDatagramChannel.block(InetAddress multicastAddress, InetAddress sourceToBlock, ChannelPromise promise) Deprecated.OioDatagramChannel.block(InetAddress multicastAddress, NetworkInterface networkInterface, InetAddress sourceToBlock, ChannelPromise promise) Deprecated.OioDatagramChannel.joinGroup(InetAddress multicastAddress, ChannelPromise promise) Deprecated.OioDatagramChannel.joinGroup(InetAddress multicastAddress, NetworkInterface networkInterface, InetAddress source, ChannelPromise promise) Deprecated.OioDatagramChannel.joinGroup(InetSocketAddress multicastAddress, NetworkInterface networkInterface, ChannelPromise promise) Deprecated.OioDatagramChannel.leaveGroup(InetAddress multicastAddress, ChannelPromise promise) Deprecated.OioDatagramChannel.leaveGroup(InetAddress multicastAddress, NetworkInterface networkInterface, InetAddress source, ChannelPromise promise) Deprecated.OioDatagramChannel.leaveGroup(InetSocketAddress multicastAddress, NetworkInterface networkInterface, ChannelPromise promise) Deprecated.OioSocketChannel.shutdown(ChannelPromise promise) Deprecated.private static voidOioSocketChannel.shutdownDone(ChannelFuture shutdownOutputFuture, ChannelFuture shutdownInputFuture, ChannelPromise promise) Deprecated.OioSocketChannel.shutdownInput(ChannelPromise promise) Deprecated.private voidOioSocketChannel.shutdownInput0(ChannelPromise promise) Deprecated.OioSocketChannel.shutdownOutput(ChannelPromise promise) Deprecated.private voidOioSocketChannel.shutdownOutput0(ChannelPromise promise) Deprecated.private voidOioSocketChannel.shutdownOutputDone(ChannelFuture shutdownOutputFuture, ChannelPromise promise) Deprecated. -
Uses of ChannelPromise in io.netty.handler.address
Methods in io.netty.handler.address with parameters of type ChannelPromiseModifier and TypeMethodDescriptionfinal voidDynamicAddressConnectHandler.connect(ChannelHandlerContext ctx, SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) voidResolveAddressHandler.connect(ChannelHandlerContext ctx, SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.handler.codec
Methods in io.netty.handler.codec with parameters of type ChannelPromiseModifier and TypeMethodDescriptionvoidDatagramPacketEncoder.bind(ChannelHandlerContext ctx, SocketAddress localAddress, ChannelPromise promise) voidDatagramPacketEncoder.close(ChannelHandlerContext ctx, ChannelPromise promise) voidDatagramPacketEncoder.connect(ChannelHandlerContext ctx, SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) voidDatagramPacketEncoder.deregister(ChannelHandlerContext ctx, ChannelPromise promise) voidDatagramPacketEncoder.disconnect(ChannelHandlerContext ctx, ChannelPromise promise) voidByteToMessageCodec.write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) voidMessageToByteEncoder.write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) voidMessageToMessageCodec.write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) voidMessageToMessageEncoder.write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) private static voidMessageToMessageEncoder.writePromiseCombiner(ChannelHandlerContext ctx, CodecOutputList out, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.handler.codec.compression
Methods in io.netty.handler.codec.compression with parameters of type ChannelPromiseModifier and TypeMethodDescriptionvoidBzip2Encoder.close(ChannelHandlerContext ctx, ChannelPromise promise) Bzip2Encoder.close(ChannelPromise promise) Close thisBzip2Encoderand so finish the encoding.voidJdkZlibEncoder.close(ChannelHandlerContext ctx, ChannelPromise promise) JdkZlibEncoder.close(ChannelPromise promise) voidJZlibEncoder.close(ChannelHandlerContext ctx, ChannelPromise promise) JZlibEncoder.close(ChannelPromise promise) abstract ChannelFutureZlibEncoder.close(ChannelPromise promise) Close thisZlibEncoderand so finish the encoding.(package private) static voidEncoderUtil.closeAfterFinishEncode(ChannelHandlerContext ctx, ChannelFuture finishFuture, ChannelPromise promise) private ChannelFutureBzip2Encoder.finishEncode(ChannelHandlerContext ctx, ChannelPromise promise) private ChannelFutureJdkZlibEncoder.finishEncode(ChannelHandlerContext ctx, ChannelPromise promise) private ChannelFutureJZlibEncoder.finishEncode(ChannelHandlerContext ctx, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.handler.codec.http
Methods in io.netty.handler.codec.http with parameters of type ChannelPromiseModifier and TypeMethodDescriptionvoidHttpClientUpgradeHandler.bind(ChannelHandlerContext ctx, SocketAddress localAddress, ChannelPromise promise) voidHttpClientUpgradeHandler.close(ChannelHandlerContext ctx, ChannelPromise promise) voidHttpClientUpgradeHandler.connect(ChannelHandlerContext ctx, SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) voidHttpClientUpgradeHandler.deregister(ChannelHandlerContext ctx, ChannelPromise promise) voidHttpClientUpgradeHandler.disconnect(ChannelHandlerContext ctx, ChannelPromise promise) voidHttpClientUpgradeHandler.write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) voidHttpObjectEncoder.write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) voidHttpServerKeepAliveHandler.write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) private static voidHttpObjectEncoder.writeOutList(ChannelHandlerContext ctx, List<Object> out, ChannelPromise promise) private static voidHttpObjectEncoder.writePromiseCombiner(ChannelHandlerContext ctx, List<Object> out, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.handler.codec.http.cors
Methods in io.netty.handler.codec.http.cors with parameters of type ChannelPromiseModifier and TypeMethodDescriptionvoidCorsHandler.write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.handler.codec.http.websocketx
Fields in io.netty.handler.codec.http.websocketx declared as ChannelPromiseModifier and TypeFieldDescriptionprivate ChannelPromiseWebSocketProtocolHandler.closeSentprivate ChannelPromiseWebSocketClientProtocolHandshakeHandler.handshakePromiseprivate ChannelPromiseWebSocketServerProtocolHandshakeHandler.handshakePromiseMethods in io.netty.handler.codec.http.websocketx with parameters of type ChannelPromiseModifier and TypeMethodDescriptionvoidWebSocketProtocolHandler.bind(ChannelHandlerContext ctx, SocketAddress localAddress, ChannelPromise promise) WebSocketClientHandshaker.close(ChannelHandlerContext ctx, CloseWebSocketFrame frame, ChannelPromise promise) Performs the closing handshakeWebSocketClientHandshaker.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).voidWebSocketProtocolHandler.close(ChannelHandlerContext ctx, ChannelPromise promise) WebSocketServerHandshaker.close(ChannelHandlerContext ctx, CloseWebSocketFrame frame, ChannelPromise promise) Performs the closing handshake.WebSocketServerHandshaker.close(Channel channel, CloseWebSocketFrame frame, ChannelPromise promise) Performs the closing handshake.WebSocketServerHandshaker00.close(ChannelHandlerContext ctx, CloseWebSocketFrame frame, ChannelPromise promise) Echo back the closing frameWebSocketServerHandshaker00.close(Channel channel, CloseWebSocketFrame frame, ChannelPromise promise) Echo back the closing frameprivate ChannelFutureWebSocketClientHandshaker.close0(ChannelOutboundInvoker invoker, Channel channel, CloseWebSocketFrame frame, ChannelPromise promise) private ChannelFutureWebSocketServerHandshaker.close0(ChannelOutboundInvoker invoker, CloseWebSocketFrame frame, ChannelPromise promise) (package private) voidWebSocketProtocolHandler.closeSent(ChannelPromise promise) voidWebSocketProtocolHandler.connect(ChannelHandlerContext ctx, SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) voidWebSocketProtocolHandler.deregister(ChannelHandlerContext ctx, ChannelPromise promise) voidWebSocketProtocolHandler.disconnect(ChannelHandlerContext ctx, ChannelPromise promise) final ChannelFutureWebSocketClientHandshaker.handshake(Channel channel, ChannelPromise promise) Begins the opening handshakefinal 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.final 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.final ChannelFutureWebSocketClientHandshaker.processHandshake(Channel channel, HttpResponse response, ChannelPromise promise) Process the opening handshake initiated byWebSocketClientHandshaker.handshake(Channel)}.static ChannelFutureWebSocketServerHandshakerFactory.sendUnsupportedVersionResponse(Channel channel, ChannelPromise promise) Return that we need cannot support the web socket versionvoidWebSocketProtocolHandler.write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.handler.codec.http.websocketx.extensions
Methods in io.netty.handler.codec.http.websocketx.extensions with parameters of type ChannelPromiseModifier and TypeMethodDescriptionprivate voidWebSocketServerExtensionHandler.handlePotentialUpgrade(ChannelHandlerContext ctx, ChannelPromise promise, HttpResponse httpResponse, List<WebSocketServerExtension> validExtensionsList) protected voidWebSocketServerExtensionHandler.onHttpResponseWrite(ChannelHandlerContext ctx, HttpResponse response, ChannelPromise promise) This is a method exposed to perform fail-fast checks of user-defined http types.voidWebSocketClientExtensionHandler.write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) voidWebSocketServerExtensionHandler.write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.handler.codec.http2
Classes in io.netty.handler.codec.http2 that implement ChannelPromiseModifier and TypeClassDescription(package private) static final classProvides the ability to associate the outcome of multipleChannelPromiseobjects into a singleChannelPromiseobject.Fields in io.netty.handler.codec.http2 declared as ChannelPromiseModifier and TypeFieldDescriptionprivate final ChannelPromiseAbstractHttp2StreamChannel.closePromiseprotected ChannelPromiseDefaultHttp2ConnectionEncoder.FlowControlledBase.promiseprivate final ChannelPromiseHttp2CodecUtil.SimpleChannelPromiseAggregator.promiseprivate final ChannelPromiseHttp2ConnectionHandler.ClosingChannelFutureListener.promise(package private) final ChannelPromiseStreamBufferingEncoder.Frame.promiseMethods in io.netty.handler.codec.http2 that return ChannelPromiseModifier and TypeMethodDescriptionHttp2CodecUtil.SimpleChannelPromiseAggregator.doneAllocatingPromises()Signify that no moreHttp2CodecUtil.SimpleChannelPromiseAggregator.newPromise()allocations will be made.private ChannelPromiseHttp2ControlFrameLimitEncoder.handleOutstandingControlFrames(ChannelHandlerContext ctx, ChannelPromise promise) AbstractHttp2StreamChannel.newPromise()Http2CodecUtil.SimpleChannelPromiseAggregator.newPromise()Allocate a new promise which will be used to aggregate the overall success of this promise aggregator.Http2CodecUtil.SimpleChannelPromiseAggregator.setFailure(Throwable cause) Fail this object if it has not already been failed.private ChannelPromiseHttp2CodecUtil.SimpleChannelPromiseAggregator.setPromise()Http2CodecUtil.SimpleChannelPromiseAggregator.setSuccess(Void result) AbstractHttp2StreamChannel.Http2ChannelUnsafe.voidPromise()AbstractHttp2StreamChannel.voidPromise()Methods in io.netty.handler.codec.http2 with parameters of type ChannelPromiseModifier and TypeMethodDescriptionAbstractHttp2StreamChannel.bind(SocketAddress localAddress, ChannelPromise promise) voidAbstractHttp2StreamChannel.Http2ChannelUnsafe.bind(SocketAddress localAddress, ChannelPromise promise) voidHttp2ConnectionHandler.bind(ChannelHandlerContext ctx, SocketAddress localAddress, ChannelPromise promise) AbstractHttp2StreamChannel.close(ChannelPromise promise) voidAbstractHttp2StreamChannel.Http2ChannelUnsafe.close(ChannelPromise promise) private voidAbstractHttp2StreamChannel.Http2ChannelUnsafe.close(ChannelPromise promise, Http2Error error) voidHttp2ConnectionHandler.close(ChannelHandlerContext ctx, ChannelPromise promise) AbstractHttp2StreamChannel.connect(SocketAddress remoteAddress, ChannelPromise promise) AbstractHttp2StreamChannel.connect(SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) voidAbstractHttp2StreamChannel.Http2ChannelUnsafe.connect(SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) voidHttp2ConnectionHandler.connect(ChannelHandlerContext ctx, SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) AbstractHttp2StreamChannel.deregister(ChannelPromise promise) voidAbstractHttp2StreamChannel.Http2ChannelUnsafe.deregister(ChannelPromise promise) voidHttp2ConnectionHandler.deregister(ChannelHandlerContext ctx, ChannelPromise promise) AbstractHttp2StreamChannel.disconnect(ChannelPromise promise) voidAbstractHttp2StreamChannel.Http2ChannelUnsafe.disconnect(ChannelPromise promise) voidHttp2ConnectionHandler.disconnect(ChannelHandlerContext ctx, ChannelPromise promise) private voidHttp2ConnectionHandler.doGracefulShutdown(ChannelHandlerContext ctx, ChannelFuture future, ChannelPromise promise) private voidAbstractHttp2StreamChannel.Http2ChannelUnsafe.fireChannelInactiveAndDeregister(ChannelPromise promise, boolean fireChannelInactive) private voidAbstractHttp2StreamChannel.Http2ChannelUnsafe.firstWriteComplete(ChannelFuture future, ChannelPromise promise) Http2ConnectionHandler.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 aGO_AWAYframe.Http2LifecycleManager.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.private ChannelPromiseHttp2ControlFrameLimitEncoder.handleOutstandingControlFrames(ChannelHandlerContext ctx, ChannelPromise promise) private booleanHttp2FrameCodec.initializeNewStream(ChannelHandlerContext ctx, Http2FrameCodec.DefaultHttp2FrameStream http2FrameStream, ChannelPromise promise) private ChannelFutureListenerHttp2ConnectionHandler.newClosingChannelFutureListener(ChannelHandlerContext ctx, ChannelPromise promise) voidAbstractHttp2StreamChannel.Http2ChannelUnsafe.register(EventLoop eventLoop, ChannelPromise promise) Http2ConnectionHandler.resetStream(ChannelHandlerContext ctx, int streamId, long errorCode, ChannelPromise promise) private ChannelFutureHttp2ConnectionHandler.resetStream(ChannelHandlerContext ctx, Http2Stream stream, long errorCode, ChannelPromise promise) Http2LifecycleManager.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 voidAbstractHttp2StreamChannel.Http2ChannelUnsafe.safeSetSuccess(ChannelPromise promise) 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.voidAbstractHttp2StreamChannel.Http2ChannelUnsafe.write(Object msg, ChannelPromise promise) AbstractHttp2StreamChannel.write(Object msg, ChannelPromise promise) voidHttp2ConnectionHandler.write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) voidHttp2FrameCodec.write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) Processes allHttp2Frames.voidHttpToHttp2ConnectionHandler.write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) Handles conversion ofHttpMessageandHttpContentto HTTP/2 frames.AbstractHttp2StreamChannel.writeAndFlush(Object msg, ChannelPromise promise) private voidAbstractHttp2StreamChannel.Http2ChannelUnsafe.writeComplete(ChannelFuture future, ChannelPromise promise) CompressorHttp2ConnectionEncoder.writeData(ChannelHandlerContext ctx, int streamId, ByteBuf data, int padding, boolean endOfStream, ChannelPromise promise) DecoratingHttp2FrameWriter.writeData(ChannelHandlerContext ctx, int streamId, ByteBuf data, int padding, boolean endStream, ChannelPromise promise) DefaultHttp2ConnectionEncoder.writeData(ChannelHandlerContext ctx, int streamId, ByteBuf data, int padding, boolean endOfStream, ChannelPromise promise) DefaultHttp2FrameWriter.writeData(ChannelHandlerContext ctx, int streamId, ByteBuf data, int padding, boolean endStream, ChannelPromise promise) Http2DataWriter.writeData(ChannelHandlerContext ctx, int streamId, ByteBuf data, int padding, boolean endStream, ChannelPromise promise) Writes aDATAframe to the remote endpoint.Http2OutboundFrameLogger.writeData(ChannelHandlerContext ctx, int streamId, ByteBuf data, int padding, boolean endStream, ChannelPromise promise) StreamBufferingEncoder.writeData(ChannelHandlerContext ctx, int streamId, ByteBuf data, int padding, boolean endOfStream, ChannelPromise promise) DecoratingHttp2FrameWriter.writeFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, ByteBuf payload, ChannelPromise promise) DefaultHttp2ConnectionEncoder.writeFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, ByteBuf payload, ChannelPromise promise) DefaultHttp2FrameWriter.writeFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, ByteBuf payload, ChannelPromise promise) Http2ConnectionEncoder.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.Http2FrameWriter.writeFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, ByteBuf payload, ChannelPromise promise) Generic write method for any HTTP/2 frame.Http2OutboundFrameLogger.writeFrame(ChannelHandlerContext ctx, byte frameType, int streamId, Http2Flags flags, ByteBuf payload, ChannelPromise promise) DecoratingHttp2FrameWriter.writeGoAway(ChannelHandlerContext ctx, int lastStreamId, long errorCode, ByteBuf debugData, ChannelPromise promise) DefaultHttp2ConnectionEncoder.writeGoAway(ChannelHandlerContext ctx, int lastStreamId, long errorCode, ByteBuf debugData, ChannelPromise promise) DefaultHttp2FrameWriter.writeGoAway(ChannelHandlerContext ctx, int lastStreamId, long errorCode, ByteBuf debugData, ChannelPromise promise) Http2FrameWriter.writeGoAway(ChannelHandlerContext ctx, int lastStreamId, long errorCode, ByteBuf debugData, ChannelPromise promise) Writes a GO_AWAY frame to the remote endpoint.Http2OutboundFrameLogger.writeGoAway(ChannelHandlerContext ctx, int lastStreamId, long errorCode, ByteBuf debugData, ChannelPromise promise) private voidHttp2FrameCodec.writeGoAwayFrame(ChannelHandlerContext ctx, Http2GoAwayFrame frame, ChannelPromise promise) CompressorHttp2ConnectionEncoder.writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endStream, ChannelPromise promise) CompressorHttp2ConnectionEncoder.writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endOfStream, ChannelPromise promise) DecoratingHttp2FrameWriter.writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endStream, ChannelPromise promise) DecoratingHttp2FrameWriter.writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endStream, ChannelPromise promise) DefaultHttp2ConnectionEncoder.writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endStream, ChannelPromise promise) DefaultHttp2ConnectionEncoder.writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endOfStream, ChannelPromise promise) DefaultHttp2FrameWriter.writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endStream, ChannelPromise promise) DefaultHttp2FrameWriter.writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endStream, ChannelPromise promise) Http2FrameWriter.writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endStream, ChannelPromise promise) Writes a HEADERS frame to the remote endpoint.Http2FrameWriter.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.Http2OutboundFrameLogger.writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endStream, ChannelPromise promise) Http2OutboundFrameLogger.writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int streamDependency, short weight, boolean exclusive, int padding, boolean endStream, ChannelPromise promise) StreamBufferingEncoder.writeHeaders(ChannelHandlerContext ctx, int streamId, Http2Headers headers, int padding, boolean endStream, ChannelPromise promise) StreamBufferingEncoder.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 ChannelFutureStreamBufferingEncoder.writeHeaders0(ChannelHandlerContext ctx, int streamId, Http2Headers headers, boolean hasPriority, int streamDependency, short weight, boolean exclusive, int padding, boolean endOfStream, ChannelPromise promise) private voidHttp2FrameCodec.writeHeadersFrame(ChannelHandlerContext ctx, Http2HeadersFrame headersFrame, 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) private voidAbstractHttp2StreamChannel.Http2ChannelUnsafe.writeHttp2StreamFrame(Http2StreamFrame frame, ChannelPromise promise) DecoratingHttp2FrameWriter.writePing(ChannelHandlerContext ctx, boolean ack, long data, ChannelPromise promise) DefaultHttp2ConnectionEncoder.writePing(ChannelHandlerContext ctx, boolean ack, long data, ChannelPromise promise) DefaultHttp2FrameWriter.writePing(ChannelHandlerContext ctx, boolean ack, long data, ChannelPromise promise) Http2ControlFrameLimitEncoder.writePing(ChannelHandlerContext ctx, boolean ack, long data, ChannelPromise promise) Http2FrameWriter.writePing(ChannelHandlerContext ctx, boolean ack, long data, ChannelPromise promise) Writes a PING frame to the remote endpoint.Http2OutboundFrameLogger.writePing(ChannelHandlerContext ctx, boolean ack, long data, ChannelPromise promise) DecoratingHttp2FrameWriter.writePriority(ChannelHandlerContext ctx, int streamId, int streamDependency, short weight, boolean exclusive, ChannelPromise promise) DefaultHttp2ConnectionEncoder.writePriority(ChannelHandlerContext ctx, int streamId, int streamDependency, short weight, boolean exclusive, ChannelPromise promise) DefaultHttp2FrameWriter.writePriority(ChannelHandlerContext ctx, int streamId, int streamDependency, short weight, boolean exclusive, ChannelPromise promise) Http2FrameWriter.writePriority(ChannelHandlerContext ctx, int streamId, int streamDependency, short weight, boolean exclusive, ChannelPromise promise) Writes a PRIORITY frame to the remote endpoint.Http2OutboundFrameLogger.writePriority(ChannelHandlerContext ctx, int streamId, int streamDependency, short weight, boolean exclusive, ChannelPromise promise) DecoratingHttp2FrameWriter.writePushPromise(ChannelHandlerContext ctx, int streamId, int promisedStreamId, Http2Headers headers, int padding, ChannelPromise promise) DefaultHttp2ConnectionEncoder.writePushPromise(ChannelHandlerContext ctx, int streamId, int promisedStreamId, Http2Headers headers, int padding, ChannelPromise promise) DefaultHttp2FrameWriter.writePushPromise(ChannelHandlerContext ctx, int streamId, int promisedStreamId, Http2Headers headers, int padding, ChannelPromise promise) private voidHttp2FrameCodec.writePushPromise(ChannelHandlerContext ctx, Http2PushPromiseFrame pushPromiseFrame, ChannelPromise promise) Http2FrameWriter.writePushPromise(ChannelHandlerContext ctx, int streamId, int promisedStreamId, Http2Headers headers, int padding, ChannelPromise promise) Writes a PUSH_PROMISE frame to the remote endpoint.Http2OutboundFrameLogger.writePushPromise(ChannelHandlerContext ctx, int streamId, int promisedStreamId, Http2Headers headers, int padding, ChannelPromise promise) DecoratingHttp2FrameWriter.writeRstStream(ChannelHandlerContext ctx, int streamId, long errorCode, ChannelPromise promise) DefaultHttp2ConnectionEncoder.writeRstStream(ChannelHandlerContext ctx, int streamId, long errorCode, ChannelPromise promise) DefaultHttp2FrameWriter.writeRstStream(ChannelHandlerContext ctx, int streamId, long errorCode, ChannelPromise promise) Http2ControlFrameLimitEncoder.writeRstStream(ChannelHandlerContext ctx, int streamId, long errorCode, ChannelPromise promise) Http2FrameWriter.writeRstStream(ChannelHandlerContext ctx, int streamId, long errorCode, ChannelPromise promise) Writes a RST_STREAM frame to the remote endpoint.Http2MaxRstFrameLimitEncoder.writeRstStream(ChannelHandlerContext ctx, int streamId, long errorCode, ChannelPromise promise) Http2OutboundFrameLogger.writeRstStream(ChannelHandlerContext ctx, int streamId, long errorCode, ChannelPromise promise) StreamBufferingEncoder.writeRstStream(ChannelHandlerContext ctx, int streamId, long errorCode, ChannelPromise promise) DecoratingHttp2FrameWriter.writeSettings(ChannelHandlerContext ctx, Http2Settings settings, ChannelPromise promise) DefaultHttp2ConnectionEncoder.writeSettings(ChannelHandlerContext ctx, Http2Settings settings, ChannelPromise promise) DefaultHttp2FrameWriter.writeSettings(ChannelHandlerContext ctx, Http2Settings settings, ChannelPromise promise) Http2FrameWriter.writeSettings(ChannelHandlerContext ctx, Http2Settings settings, ChannelPromise promise) Writes a SETTINGS frame to the remote endpoint.Http2OutboundFrameLogger.writeSettings(ChannelHandlerContext ctx, Http2Settings settings, ChannelPromise promise) DecoratingHttp2FrameWriter.writeSettingsAck(ChannelHandlerContext ctx, ChannelPromise promise) DefaultHttp2ConnectionEncoder.writeSettingsAck(ChannelHandlerContext ctx, ChannelPromise promise) DefaultHttp2FrameWriter.writeSettingsAck(ChannelHandlerContext ctx, ChannelPromise promise) Http2ControlFrameLimitEncoder.writeSettingsAck(ChannelHandlerContext ctx, ChannelPromise promise) Http2FrameWriter.writeSettingsAck(ChannelHandlerContext ctx, ChannelPromise promise) Writes a SETTINGS acknowledgment to the remote endpoint.Http2OutboundFrameLogger.writeSettingsAck(ChannelHandlerContext ctx, ChannelPromise promise) StreamBufferingEncoder.writeSettingsAck(ChannelHandlerContext ctx, ChannelPromise promise) DecoratingHttp2FrameWriter.writeWindowUpdate(ChannelHandlerContext ctx, int streamId, int windowSizeIncrement, ChannelPromise promise) DefaultHttp2ConnectionEncoder.writeWindowUpdate(ChannelHandlerContext ctx, int streamId, int windowSizeIncrement, ChannelPromise promise) DefaultHttp2FrameWriter.writeWindowUpdate(ChannelHandlerContext ctx, int streamId, int windowSizeIncrement, ChannelPromise promise) Http2FrameWriter.writeWindowUpdate(ChannelHandlerContext ctx, int streamId, int windowSizeIncrement, ChannelPromise promise) Writes a WINDOW_UPDATE frame to the remote endpoint.Http2OutboundFrameLogger.writeWindowUpdate(ChannelHandlerContext ctx, int streamId, int windowSizeIncrement, ChannelPromise promise) Constructors in io.netty.handler.codec.http2 with parameters of type ChannelPromiseModifierConstructorDescription(package private)ClosingChannelFutureListener(ChannelHandlerContext ctx, ChannelPromise promise) (package private)ClosingChannelFutureListener(ChannelHandlerContext ctx, ChannelPromise promise, long timeout, TimeUnit unit) (package private)DataFrame(ByteBuf data, int padding, boolean endOfStream, ChannelPromise promise) (package private)FlowControlledBase(Http2Stream stream, int padding, boolean endOfStream, ChannelPromise promise) (package private)FlowControlledData(Http2Stream stream, ByteBuf buf, int padding, boolean endOfStream, ChannelPromise promise) (package private)FlowControlledHeaders(Http2Stream stream, Http2Headers headers, boolean hasPriority, int streamDependency, short weight, boolean exclusive, int padding, boolean endOfStream, ChannelPromise promise) (package private)Frame(ChannelPromise promise) (package private)HeadersFrame(Http2Headers headers, boolean hasPriority, int streamDependency, short weight, boolean exclusive, int padding, boolean endOfStream, ChannelPromise promise) (package private)SimpleChannelPromiseAggregator(ChannelPromise promise, Channel c, EventExecutor e) -
Uses of ChannelPromise in io.netty.handler.codec.spdy
Fields in io.netty.handler.codec.spdy declared as ChannelPromiseModifier and TypeFieldDescription(package private) final ChannelPromiseSpdySession.PendingWrite.promiseprivate final ChannelPromiseSpdySessionHandler.ClosingChannelFutureListener.promiseMethods in io.netty.handler.codec.spdy with parameters of type ChannelPromiseModifier and TypeMethodDescriptionvoidSpdyFrameCodec.bind(ChannelHandlerContext ctx, SocketAddress localAddress, ChannelPromise promise) voidSpdyFrameCodec.close(ChannelHandlerContext ctx, ChannelPromise promise) voidSpdySessionHandler.close(ChannelHandlerContext ctx, ChannelPromise promise) voidSpdyFrameCodec.connect(ChannelHandlerContext ctx, SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) voidSpdyFrameCodec.deregister(ChannelHandlerContext ctx, ChannelPromise promise) voidSpdyFrameCodec.disconnect(ChannelHandlerContext ctx, ChannelPromise promise) private voidSpdySessionHandler.handleOutboundMessage(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) private voidSpdySessionHandler.sendGoAwayFrame(ChannelHandlerContext ctx, ChannelPromise future) voidSpdyFrameCodec.write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) voidSpdySessionHandler.write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) Constructors in io.netty.handler.codec.spdy with parameters of type ChannelPromiseModifierConstructorDescription(package private)ClosingChannelFutureListener(ChannelHandlerContext ctx, ChannelPromise promise) (package private)PendingWrite(SpdyDataFrame spdyDataFrame, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.handler.flush
Methods in io.netty.handler.flush with parameters of type ChannelPromiseModifier and TypeMethodDescriptionvoidFlushConsolidationHandler.close(ChannelHandlerContext ctx, ChannelPromise promise) voidFlushConsolidationHandler.disconnect(ChannelHandlerContext ctx, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.handler.logging
Methods in io.netty.handler.logging with parameters of type ChannelPromiseModifier and TypeMethodDescriptionvoidLoggingHandler.bind(ChannelHandlerContext ctx, SocketAddress localAddress, ChannelPromise promise) voidLoggingHandler.close(ChannelHandlerContext ctx, ChannelPromise promise) voidLoggingHandler.connect(ChannelHandlerContext ctx, SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) voidLoggingHandler.deregister(ChannelHandlerContext ctx, ChannelPromise promise) voidLoggingHandler.disconnect(ChannelHandlerContext ctx, ChannelPromise promise) voidLoggingHandler.write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.handler.pcap
Methods in io.netty.handler.pcap with parameters of type ChannelPromiseModifier and TypeMethodDescriptionvoidPcapWriteHandler.write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.handler.proxy
Methods in io.netty.handler.proxy with parameters of type ChannelPromiseModifier and TypeMethodDescriptionprivate voidProxyHandler.addPendingWrite(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) voidHttpProxyHandler.HttpClientCodecWrapper.bind(ChannelHandlerContext ctx, SocketAddress localAddress, ChannelPromise promise) voidHttpProxyHandler.HttpClientCodecWrapper.close(ChannelHandlerContext ctx, ChannelPromise promise) voidHttpProxyHandler.HttpClientCodecWrapper.connect(ChannelHandlerContext ctx, SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) final voidProxyHandler.connect(ChannelHandlerContext ctx, SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) voidHttpProxyHandler.HttpClientCodecWrapper.deregister(ChannelHandlerContext ctx, ChannelPromise promise) voidHttpProxyHandler.HttpClientCodecWrapper.disconnect(ChannelHandlerContext ctx, ChannelPromise promise) voidHttpProxyHandler.HttpClientCodecWrapper.write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) final voidProxyHandler.write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.handler.ssl
Methods in io.netty.handler.ssl with parameters of type ChannelPromiseModifier and TypeMethodDescriptionprivate static voidSslHandler.addCloseListener(ChannelFuture future, ChannelPromise promise) voidSslClientHelloHandler.bind(ChannelHandlerContext ctx, SocketAddress localAddress, ChannelPromise promise) voidSslHandler.bind(ChannelHandlerContext ctx, SocketAddress localAddress, ChannelPromise promise) voidSslClientHelloHandler.close(ChannelHandlerContext ctx, ChannelPromise promise) voidSslHandler.close(ChannelHandlerContext ctx, ChannelPromise promise) SslHandler.close(ChannelPromise promise) Deprecated.SslHandler.closeOutbound(ChannelPromise promise) Sends an SSLclose_notifymessage to the specified channel and destroys the underlyingSSLEngine.private voidSslHandler.closeOutbound0(ChannelPromise promise) private voidSslHandler.closeOutboundAndChannel(ChannelHandlerContext ctx, ChannelPromise promise, boolean disconnect) voidSslClientHelloHandler.connect(ChannelHandlerContext ctx, SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) voidSslHandler.connect(ChannelHandlerContext ctx, SocketAddress remoteAddress, SocketAddress localAddress, ChannelPromise promise) voidSslClientHelloHandler.deregister(ChannelHandlerContext ctx, ChannelPromise promise) voidSslHandler.deregister(ChannelHandlerContext ctx, ChannelPromise promise) voidSslClientHelloHandler.disconnect(ChannelHandlerContext ctx, ChannelPromise promise) voidSslHandler.disconnect(ChannelHandlerContext ctx, ChannelPromise promise) private voidSslHandler.flush(ChannelHandlerContext ctx, ChannelPromise promise) private voidSslHandler.safeClose(ChannelHandlerContext ctx, ChannelFuture flushFuture, ChannelPromise promise) voidSslClientHelloHandler.write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) voidSslHandler.write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.handler.stream
Fields in io.netty.handler.stream declared as ChannelPromiseModifier and TypeFieldDescription(package private) final ChannelPromiseChunkedWriteHandler.PendingWrite.promiseMethods in io.netty.handler.stream with parameters of type ChannelPromiseModifier and TypeMethodDescriptionvoidChunkedWriteHandler.write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) Constructors in io.netty.handler.stream with parameters of type ChannelPromise -
Uses of ChannelPromise in io.netty.handler.timeout
Fields in io.netty.handler.timeout declared as ChannelPromiseModifier and TypeFieldDescriptionprivate final ChannelPromiseWriteTimeoutHandler.WriteTimeoutTask.promiseMethods in io.netty.handler.timeout with parameters of type ChannelPromiseModifier and TypeMethodDescriptionprivate voidWriteTimeoutHandler.scheduleTimeout(ChannelHandlerContext ctx, ChannelPromise promise) voidIdleStateHandler.write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) voidWriteTimeoutHandler.write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) Constructors in io.netty.handler.timeout with parameters of type ChannelPromiseModifierConstructorDescription(package private)WriteTimeoutTask(ChannelHandlerContext ctx, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.handler.traffic
Fields in io.netty.handler.traffic declared as ChannelPromiseModifier and TypeFieldDescription(package private) final ChannelPromiseChannelTrafficShapingHandler.ToSend.promise(package private) final ChannelPromiseGlobalChannelTrafficShapingHandler.ToSend.promise(package private) final ChannelPromiseGlobalTrafficShapingHandler.ToSend.promiseMethods in io.netty.handler.traffic with parameters of type ChannelPromiseModifier and TypeMethodDescription(package private) abstract voidAbstractTrafficShapingHandler.submitWrite(ChannelHandlerContext ctx, Object msg, long size, long delay, long now, ChannelPromise promise) protected voidAbstractTrafficShapingHandler.submitWrite(ChannelHandlerContext ctx, Object msg, long delay, ChannelPromise promise) Deprecated.(package private) voidChannelTrafficShapingHandler.submitWrite(ChannelHandlerContext ctx, Object msg, long size, long delay, long now, ChannelPromise promise) protected voidGlobalChannelTrafficShapingHandler.submitWrite(ChannelHandlerContext ctx, Object msg, long size, long writedelay, long now, ChannelPromise promise) (package private) voidGlobalTrafficShapingHandler.submitWrite(ChannelHandlerContext ctx, Object msg, long size, long writedelay, long now, ChannelPromise promise) voidAbstractTrafficShapingHandler.write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) voidGlobalChannelTrafficShapingHandler.write(ChannelHandlerContext ctx, Object msg, ChannelPromise promise) Constructors in io.netty.handler.traffic with parameters of type ChannelPromiseModifierConstructorDescriptionprivateToSend(long delay, Object toSend, ChannelPromise promise) privateToSend(long delay, Object toSend, long size, ChannelPromise promise) privateToSend(long delay, Object toSend, long size, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.resolver.dns
Methods in io.netty.resolver.dns with parameters of type ChannelPromiseModifier and TypeMethodDescriptionprivate voidDnsQueryContext.writeQuery(DnsQuery query, boolean flush, ChannelPromise promise)
ChannelFlushPromiseNotifier.add(ChannelPromise, long)