Uses of Interface
io.netty.channel.ChannelPromise
-
Packages that use ChannelPromise Package Description io.netty.channel The core channel API which is asynchronous and event-driven abstraction of various transports such as a NIO Channel.io.netty.channel.embedded A virtualChannelthat helps wrapping a series of handlers to unit test the handlers or use them in non-I/O context.io.netty.channel.epoll Optimized transport for linux which uses EPOLL Edge-Triggered Mode for maximal performance.io.netty.channel.kqueue BSD specific transport.io.netty.channel.local A virtual transport that enables the communication between the two parties in the same virtual machine.io.netty.channel.nio NIO-based channel API implementation - recommended for a large number of connections (>= 1000).io.netty.channel.sctp Abstract SCTP socket interfaces which extend the core channel API.io.netty.channel.sctp.nio NIO-based SCTP Channel API implementation - recommended for a large number of connections (>= 1000).io.netty.channel.sctp.oio Old blocking I/O based SCTP channel API implementation - recommended for a small number of connections (< 1000).io.netty.channel.socket Abstract TCP and UDP socket interfaces which extend the core channel API.io.netty.channel.socket.nio NIO-based socket channel API implementation - recommended for a large number of connections (>= 1000).io.netty.channel.socket.oio Old blocking I/O based socket channel API implementation - recommended for a small number of connections (< 1000).io.netty.channel.uring io_uring is a high I/O performance scalable interface for fully asynchronous Linux syscalls.io.netty.handler.address Package to dynamically replace local / remoteSocketAddress.io.netty.handler.codec 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.io.netty.handler.codec.compression io.netty.handler.codec.http Encoder, decoder and their related message types for HTTP.io.netty.handler.codec.http.cors This package contains Cross Origin Resource Sharing (CORS) related classes.io.netty.handler.codec.http.websocketx Encoder, decoder, handshakers and their related message types for Web Socket data frames.io.netty.handler.codec.http.websocketx.extensions Encoder, decoder, handshakers to handle WebSocket Extensions.io.netty.handler.codec.http2 Handlers for sending and receiving HTTP/2 frames.io.netty.handler.codec.http3 HTTP/3 implementation.io.netty.handler.codec.quic QUIC implementationio.netty.handler.codec.spdy Encoder, decoder, session handler and their related message types for the SPDY protocol.io.netty.handler.flush Package to control flush behavior.io.netty.handler.logging Logs the I/O events for debugging purpose.io.netty.handler.pcap Capture data and write into Pcap format which helps in troubleshooting.io.netty.handler.proxy Adds support for client connections via proxy protocols such as SOCKS and HTTP CONNECT tunnelingio.netty.handler.ssl SSL · TLS implementation based 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.handler.traffic Implementation of a Traffic Shaping Handler and Dynamic Statistics. -
-
Uses of ChannelPromise in io.netty.channel
Subinterfaces of ChannelPromise in io.netty.channel Modifier and Type Interface Description interfaceChannelProgressivePromiseSpecialChannelPromisewhich will be notified once the associated bytes is transferring.Classes in io.netty.channel that implement ChannelPromise Modifier and Type Class Description classDefaultChannelProgressivePromiseThe defaultChannelProgressivePromiseimplementation.classDefaultChannelPromiseThe defaultChannelPromiseimplementation.classDelegatingChannelPromiseNotifierclassVoidChannelPromiseMethods in io.netty.channel that return ChannelPromise Modifier and Type Method Description ChannelPromiseChannelPromise. addListener(GenericFutureListener<? extends Future<? super java.lang.Void>> listener)ChannelPromiseDefaultChannelPromise. addListener(GenericFutureListener<? extends Future<? super java.lang.Void>> listener)ChannelPromiseDelegatingChannelPromiseNotifier. addListener(GenericFutureListener<? extends Future<? super java.lang.Void>> listener)ChannelPromiseChannelPromise. addListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners)ChannelPromiseDefaultChannelPromise. addListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners)ChannelPromiseDelegatingChannelPromiseNotifier. addListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners)ChannelPromiseChannelPromise. await()ChannelPromiseDefaultChannelPromise. await()ChannelPromiseDelegatingChannelPromiseNotifier. await()ChannelPromiseChannelPromise. awaitUninterruptibly()ChannelPromiseDefaultChannelPromise. awaitUninterruptibly()ChannelPromiseDelegatingChannelPromiseNotifier. awaitUninterruptibly()default ChannelPromiseChannel. newPromise()ChannelPromiseChannelOutboundInvoker. newPromise()Return a newChannelPromise.default ChannelPromiseChannelPipeline. newPromise()ChannelPromiseDefaultChannelPipeline. newPromise()ChannelPromiseDefaultChannelPromise. promise()ChannelPromisePendingWriteQueue. remove()Removes a pending write operation and release it's message viaReferenceCountUtil.safeRelease(Object).ChannelPromiseChannelPromise. removeListener(GenericFutureListener<? extends Future<? super java.lang.Void>> listener)ChannelPromiseDefaultChannelPromise. removeListener(GenericFutureListener<? extends Future<? super java.lang.Void>> listener)ChannelPromiseDelegatingChannelPromiseNotifier. removeListener(GenericFutureListener<? extends Future<? super java.lang.Void>> listener)ChannelPromiseChannelPromise. removeListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners)ChannelPromiseDefaultChannelPromise. removeListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners)ChannelPromiseDelegatingChannelPromiseNotifier. removeListeners(GenericFutureListener<? extends Future<? super java.lang.Void>>... listeners)ChannelPromiseChannelPromise. setFailure(java.lang.Throwable cause)ChannelPromiseDefaultChannelPromise. setFailure(java.lang.Throwable cause)ChannelPromiseDelegatingChannelPromiseNotifier. setFailure(java.lang.Throwable cause)ChannelPromiseChannelPromise. setSuccess()ChannelPromiseChannelPromise. setSuccess(java.lang.Void result)ChannelPromiseDefaultChannelPromise. setSuccess()ChannelPromiseDefaultChannelPromise. setSuccess(java.lang.Void result)ChannelPromiseDelegatingChannelPromiseNotifier. setSuccess()ChannelPromiseDelegatingChannelPromiseNotifier. setSuccess(java.lang.Void result)ChannelPromiseChannelPromise. sync()ChannelPromiseDefaultChannelPromise. sync()ChannelPromiseDelegatingChannelPromiseNotifier. sync()ChannelPromiseChannelPromise. syncUninterruptibly()ChannelPromiseDefaultChannelPromise. syncUninterruptibly()ChannelPromiseDelegatingChannelPromiseNotifier. syncUninterruptibly()ChannelPromiseChannelPromise. unvoid()ChannelPromiseDefaultChannelPromise. unvoid()ChannelPromiseDelegatingChannelPromiseNotifier. unvoid()ChannelPromiseVoidChannelPromise. unvoid()ChannelPromiseAbstractChannel.AbstractUnsafe. voidPromise()ChannelPromiseAbstractChannel. voidPromise()ChannelPromiseChannel.Unsafe. voidPromise()Return a special ChannelPromise which can be reused and passed to the operations inChannel.Unsafe.default ChannelPromiseChannel. voidPromise()ChannelPromiseChannelOutboundInvoker. voidPromise()Return a special ChannelPromise which can be reused for different operations.ChannelPromiseDefaultChannelPipeline. voidPromise()Methods in io.netty.channel with parameters of type ChannelPromise Modifier and Type Method Description 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.ChannelFlushPromiseNotifierChannelFlushPromiseNotifier. add(ChannelPromise promise, int pendingDataSize)Deprecated.ChannelFlushPromiseNotifierChannelFlushPromiseNotifier. add(ChannelPromise promise, long pendingDataSize)Add aChannelPromiseto thisChannelFlushPromiseNotifierwhich will be notified after the givenpendingDataSizewas reached.voidPendingWriteQueue. add(java.lang.Object msg, ChannelPromise promise)Add the givenmsgandChannelPromise.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(java.lang.Object msg, int size, ChannelPromise promise)Add given message to thisChannelOutboundBuffer.voidAbstractChannel.AbstractUnsafe. bind(java.net.SocketAddress localAddress, ChannelPromise promise)default ChannelFutureChannel. bind(java.net.SocketAddress localAddress, ChannelPromise promise)voidChannel.Unsafe. bind(java.net.SocketAddress localAddress, ChannelPromise promise)voidChannelDuplexHandler. bind(ChannelHandlerContext ctx, java.net.SocketAddress localAddress, ChannelPromise promise)CallsChannelOutboundInvoker.bind(SocketAddress, ChannelPromise)to forward to the nextChannelOutboundHandlerin theChannelPipeline.voidChannelOutboundHandler. bind(ChannelHandlerContext ctx, java.net.SocketAddress localAddress, ChannelPromise promise)Called once a bind operation is made.voidChannelOutboundHandlerAdapter. bind(ChannelHandlerContext ctx, java.net.SocketAddress localAddress, ChannelPromise promise)CallsChannelOutboundInvoker.bind(SocketAddress, ChannelPromise)to forward to the nextChannelOutboundHandlerin theChannelPipeline.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.voidCombinedChannelDuplexHandler. bind(ChannelHandlerContext ctx, java.net.SocketAddress localAddress, ChannelPromise promise)ChannelFutureDefaultChannelPipeline. bind(java.net.SocketAddress localAddress, ChannelPromise promise)voidAbstractChannel.AbstractUnsafe. close(ChannelPromise promise)protected voidAbstractChannel.AbstractUnsafe. close(ChannelPromise promise, java.lang.Throwable cause, java.nio.channels.ClosedChannelException closeCause)default ChannelFutureChannel. 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.ChannelFutureChannelOutboundInvoker. 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)ChannelFutureDefaultChannelPipeline. close(ChannelPromise promise)default ChannelFutureChannel. connect(java.net.SocketAddress remoteAddress, ChannelPromise promise)default ChannelFutureChannel. connect(java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, ChannelPromise promise)voidChannel.Unsafe. connect(java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, ChannelPromise promise)voidChannelDuplexHandler. connect(ChannelHandlerContext ctx, java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, ChannelPromise promise)CallsChannelOutboundInvoker.connect(SocketAddress, SocketAddress, ChannelPromise)to forward to the nextChannelOutboundHandlerin theChannelPipeline.voidChannelOutboundHandler. connect(ChannelHandlerContext ctx, java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, ChannelPromise promise)Called once a connect operation is made.voidChannelOutboundHandlerAdapter. connect(ChannelHandlerContext ctx, java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, ChannelPromise promise)CallsChannelOutboundInvoker.connect(SocketAddress, SocketAddress, ChannelPromise)to forward to the nextChannelOutboundHandlerin theChannelPipeline.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, 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, java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, ChannelPromise promise)ChannelFutureDefaultChannelPipeline. connect(java.net.SocketAddress remoteAddress, ChannelPromise promise)ChannelFutureDefaultChannelPipeline. connect(java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, ChannelPromise promise)voidAbstractChannel.AbstractUnsafe. deregister(ChannelPromise promise)default ChannelFutureChannel. 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.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.voidCombinedChannelDuplexHandler. deregister(ChannelHandlerContext ctx, ChannelPromise promise)ChannelFutureDefaultChannelPipeline. deregister(ChannelPromise promise)voidAbstractChannel.AbstractUnsafe. disconnect(ChannelPromise promise)default ChannelFutureChannel. 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.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.voidCombinedChannelDuplexHandler. disconnect(ChannelHandlerContext ctx, ChannelPromise promise)ChannelFutureDefaultChannelPipeline. disconnect(ChannelPromise promise)protected voidAbstractChannel. doRegister(ChannelPromise promise)protected booleanAbstractChannel.AbstractUnsafe. ensureOpen(ChannelPromise promise)voidAbstractChannel.AbstractUnsafe. register(EventLoop eventLoop, ChannelPromise promise)voidChannel.Unsafe. register(EventLoop eventLoop, ChannelPromise promise)Register theChannelof theChannelPromiseand notify theChannelFutureonce the registration was complete.ChannelFutureEventLoopGroup. register(ChannelPromise promise)ChannelFutureEventLoopGroup. register(Channel channel, ChannelPromise promise)Deprecated.UseEventLoopGroup.register(ChannelPromise)instead.default ChannelFutureIoEventLoopGroup. register(ChannelPromise promise)Deprecated.ChannelFutureManualIoEventLoop. register(ChannelPromise promise)Deprecated.ChannelFutureManualIoEventLoop. register(Channel channel, ChannelPromise promise)Deprecated.ChannelFutureMultithreadEventLoopGroup. register(ChannelPromise promise)ChannelFutureMultithreadEventLoopGroup. register(Channel channel, ChannelPromise promise)Deprecated.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(ChannelPromise promise)Deprecated.ChannelFutureThreadPerChannelEventLoopGroup. register(Channel channel, ChannelPromise promise)Deprecated.ByteBufAbstractCoalescingBufferQueue. remove(ByteBufAllocator alloc, int bytes, ChannelPromise aggregatePromise)Remove aByteBuffrom the queue with the specified number of bytes.ByteBufCoalescingBufferQueue. remove(int bytes, ChannelPromise aggregatePromise)Remove aByteBuffrom the queue with the specified number of bytes.ByteBufAbstractCoalescingBufferQueue. removeFirst(ChannelPromise aggregatePromise)Remove the firstByteBuffrom the queue.protected voidAbstractChannel.AbstractUnsafe. safeSetFailure(ChannelPromise promise, java.lang.Throwable cause)Marks the specifiedpromiseas failure.protected voidAbstractChannel.AbstractUnsafe. safeSetSuccess(ChannelPromise promise)Marks the specifiedpromiseas success.voidAbstractChannel.AbstractUnsafe. shutdownOutput(ChannelPromise promise)Shutdown the output portion of the correspondingChannel.voidAbstractChannel.AbstractUnsafe. write(java.lang.Object msg, ChannelPromise promise)voidChannel.Unsafe. write(java.lang.Object msg, ChannelPromise promise)Schedules a write operation.default ChannelFutureChannel. write(java.lang.Object msg, ChannelPromise promise)voidChannelDuplexHandler. write(ChannelHandlerContext ctx, java.lang.Object msg, ChannelPromise promise)CallsChannelOutboundInvoker.write(Object, ChannelPromise)to forward to the nextChannelOutboundHandlerin theChannelPipeline.voidChannelOutboundHandler. write(ChannelHandlerContext ctx, java.lang.Object msg, ChannelPromise promise)Called once a write operation is made.voidChannelOutboundHandlerAdapter. write(ChannelHandlerContext ctx, java.lang.Object msg, ChannelPromise promise)CallsChannelOutboundInvoker.write(Object, ChannelPromise)to forward to the nextChannelOutboundHandlerin theChannelPipeline.ChannelFutureChannelOutboundInvoker. write(java.lang.Object msg, ChannelPromise promise)Request to write a message via thisChannelHandlerContextthrough theChannelPipeline.voidCombinedChannelDuplexHandler. write(ChannelHandlerContext ctx, java.lang.Object msg, ChannelPromise promise)ChannelFutureDefaultChannelPipeline. write(java.lang.Object msg, ChannelPromise promise)default ChannelFutureChannel. writeAndFlush(java.lang.Object msg, ChannelPromise promise)ChannelFutureChannelOutboundInvoker. writeAndFlush(java.lang.Object msg, ChannelPromise promise)Shortcut for callChannelOutboundInvoker.write(Object, ChannelPromise)andChannelOutboundInvoker.flush().ChannelFutureDefaultChannelPipeline. writeAndFlush(java.lang.Object msg, ChannelPromise promise)Constructors in io.netty.channel with parameters of type ChannelPromise Constructor Description ChannelPromiseAggregator(ChannelPromise aggregatePromise)Deprecated.ChannelPromiseNotifier(boolean logNotifyFailure, ChannelPromise... promises)Deprecated.Create a new instanceChannelPromiseNotifier(ChannelPromise... promises)Deprecated.Create a new instanceDelegatingChannelPromiseNotifier(ChannelPromise delegate)DelegatingChannelPromiseNotifier(ChannelPromise delegate, boolean logNotifyFailure) -
Uses of ChannelPromise in io.netty.channel.embedded
Methods in io.netty.channel.embedded with parameters of type ChannelPromise Modifier and Type Method Description ChannelFutureEmbeddedChannel. bind(java.net.SocketAddress localAddress, ChannelPromise promise)ChannelFutureEmbeddedChannel. close(ChannelPromise promise)ChannelFutureEmbeddedChannel. connect(java.net.SocketAddress remoteAddress, ChannelPromise promise)ChannelFutureEmbeddedChannel. connect(java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, ChannelPromise promise)ChannelFutureEmbeddedChannel. deregister(ChannelPromise promise)ChannelFutureEmbeddedChannel. disconnect(ChannelPromise promise)ChannelFutureEmbeddedChannel. write(java.lang.Object msg, ChannelPromise promise)ChannelFutureEmbeddedChannel. writeAndFlush(java.lang.Object msg, ChannelPromise promise)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, ChannelPromise promise)Writes one message to the outbound of thisChanneland does not flush it. -
Uses of ChannelPromise in io.netty.channel.epoll
Methods in io.netty.channel.epoll with parameters of type ChannelPromise Modifier and Type Method Description ChannelFutureEpollDatagramChannel. block(java.net.InetAddress multicastAddress, java.net.InetAddress sourceToBlock, ChannelPromise promise)ChannelFutureEpollDatagramChannel. block(java.net.InetAddress multicastAddress, java.net.NetworkInterface networkInterface, java.net.InetAddress sourceToBlock, ChannelPromise promise)ChannelFutureEpollDatagramChannel. joinGroup(java.net.InetAddress multicastAddress, ChannelPromise promise)ChannelFutureEpollDatagramChannel. joinGroup(java.net.InetAddress multicastAddress, java.net.NetworkInterface networkInterface, java.net.InetAddress source, ChannelPromise promise)ChannelFutureEpollDatagramChannel. joinGroup(java.net.InetSocketAddress multicastAddress, java.net.NetworkInterface networkInterface, ChannelPromise promise)ChannelFutureEpollDatagramChannel. leaveGroup(java.net.InetAddress multicastAddress, ChannelPromise promise)ChannelFutureEpollDatagramChannel. leaveGroup(java.net.InetAddress multicastAddress, java.net.NetworkInterface networkInterface, java.net.InetAddress source, ChannelPromise promise)ChannelFutureEpollDatagramChannel. leaveGroup(java.net.InetSocketAddress multicastAddress, java.net.NetworkInterface networkInterface, ChannelPromise promise)ChannelFutureAbstractEpollStreamChannel. shutdown(ChannelPromise promise)ChannelFutureAbstractEpollStreamChannel. shutdownInput(ChannelPromise promise)ChannelFutureAbstractEpollStreamChannel. shutdownOutput(ChannelPromise promise)ChannelFutureAbstractEpollStreamChannel. spliceTo(AbstractEpollStreamChannel ch, int len, ChannelPromise promise)Splice from thisAbstractEpollStreamChannelto anotherAbstractEpollStreamChannel.ChannelFutureAbstractEpollStreamChannel. spliceTo(FileDescriptor ch, int offset, int len, ChannelPromise promise)Splice from thisAbstractEpollStreamChannelto anotherFileDescriptor.Constructors in io.netty.channel.epoll with parameters of type ChannelPromise Constructor Description SpliceInTask(int len, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.channel.kqueue
Methods in io.netty.channel.kqueue with parameters of type ChannelPromise Modifier and Type Method Description ChannelFutureKQueueDatagramChannel. block(java.net.InetAddress multicastAddress, java.net.InetAddress sourceToBlock, ChannelPromise promise)ChannelFutureKQueueDatagramChannel. block(java.net.InetAddress multicastAddress, java.net.NetworkInterface networkInterface, java.net.InetAddress sourceToBlock, ChannelPromise promise)ChannelFutureKQueueDatagramChannel. joinGroup(java.net.InetAddress multicastAddress, ChannelPromise promise)ChannelFutureKQueueDatagramChannel. joinGroup(java.net.InetAddress multicastAddress, java.net.NetworkInterface networkInterface, java.net.InetAddress source, ChannelPromise promise)ChannelFutureKQueueDatagramChannel. joinGroup(java.net.InetSocketAddress multicastAddress, java.net.NetworkInterface networkInterface, ChannelPromise promise)ChannelFutureKQueueDatagramChannel. leaveGroup(java.net.InetAddress multicastAddress, ChannelPromise promise)ChannelFutureKQueueDatagramChannel. leaveGroup(java.net.InetAddress multicastAddress, java.net.NetworkInterface networkInterface, java.net.InetAddress source, ChannelPromise promise)ChannelFutureKQueueDatagramChannel. leaveGroup(java.net.InetSocketAddress multicastAddress, java.net.NetworkInterface networkInterface, ChannelPromise promise)ChannelFutureAbstractKQueueStreamChannel. shutdown(ChannelPromise promise)ChannelFutureAbstractKQueueStreamChannel. shutdownInput(ChannelPromise promise)ChannelFutureAbstractKQueueStreamChannel. shutdownOutput(ChannelPromise promise) -
Uses of ChannelPromise in io.netty.channel.local
Methods in io.netty.channel.local with parameters of type ChannelPromise Modifier and Type Method Description protected voidLocalChannel. doRegister(ChannelPromise promise)protected voidLocalServerChannel. doRegister(ChannelPromise promise) -
Uses of ChannelPromise in io.netty.channel.nio
Methods in io.netty.channel.nio with parameters of type ChannelPromise Modifier and Type Method Description voidAbstractNioChannel.AbstractNioUnsafe. connect(java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, ChannelPromise promise)protected voidAbstractNioChannel. doRegister(ChannelPromise promise) -
Uses of ChannelPromise in io.netty.channel.sctp
Methods in io.netty.channel.sctp with parameters of type ChannelPromise Modifier and Type Method Description ChannelFutureSctpChannel. bindAddress(java.net.InetAddress localAddress, ChannelPromise promise)Bind a address to the already bound channel to enable multi-homing.ChannelFutureSctpServerChannel. bindAddress(java.net.InetAddress localAddress, ChannelPromise promise)Bind a address to the already bound channel to enable multi-homing.ChannelFutureSctpChannel. unbindAddress(java.net.InetAddress localAddress, ChannelPromise promise)Unbind the address from channel's multi-homing address list.ChannelFutureSctpServerChannel. unbindAddress(java.net.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 ChannelPromise Modifier and Type Method Description ChannelFutureNioSctpChannel. bindAddress(java.net.InetAddress localAddress, ChannelPromise promise)ChannelFutureNioSctpServerChannel. bindAddress(java.net.InetAddress localAddress, ChannelPromise promise)ChannelFutureNioSctpChannel. unbindAddress(java.net.InetAddress localAddress, ChannelPromise promise)ChannelFutureNioSctpServerChannel. unbindAddress(java.net.InetAddress localAddress, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.channel.sctp.oio
Methods in io.netty.channel.sctp.oio with parameters of type ChannelPromise Modifier and Type Method Description ChannelFutureOioSctpChannel. bindAddress(java.net.InetAddress localAddress, ChannelPromise promise)Deprecated.ChannelFutureOioSctpServerChannel. bindAddress(java.net.InetAddress localAddress, ChannelPromise promise)Deprecated.ChannelFutureOioSctpChannel. unbindAddress(java.net.InetAddress localAddress, ChannelPromise promise)Deprecated.ChannelFutureOioSctpServerChannel. unbindAddress(java.net.InetAddress localAddress, ChannelPromise promise)Deprecated. -
Uses of ChannelPromise in io.netty.channel.socket
Methods in io.netty.channel.socket with parameters of type ChannelPromise Modifier and Type Method Description 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, 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, 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, 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, ChannelPromise future)Joins the specified multicast group at the specified interface 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, 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, ChannelPromise future)Leaves a multicast group on a specified local interface and notifies theChannelFutureonce the operation completes.ChannelFutureDuplexChannel. shutdown(ChannelPromise promise)Will shutdown the input and output sides of this channel.ChannelFutureDuplexChannel. shutdownInput(ChannelPromise promise)Will shutdown the input and notifyChannelPromise.ChannelFutureDuplexChannel. 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 ChannelPromise Modifier and Type Method Description ChannelFutureNioDatagramChannel. 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, ChannelPromise promise)Block the given sourceToBlock address for the given multicastAddress on the given networkInterfaceChannelFutureNioDatagramChannel. joinGroup(java.net.InetAddress multicastAddress, ChannelPromise promise)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, ChannelPromise promise)ChannelFutureNioDatagramChannel. leaveGroup(java.net.InetAddress multicastAddress, ChannelPromise promise)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, ChannelPromise promise)ChannelFutureNioDomainSocketChannel. shutdown(ChannelPromise promise)ChannelFutureNioSocketChannel. shutdown(ChannelPromise promise)ChannelFutureNioDomainSocketChannel. shutdownInput(ChannelPromise promise)ChannelFutureNioSocketChannel. shutdownInput(ChannelPromise promise)ChannelFutureNioDomainSocketChannel. shutdownOutput(ChannelPromise promise)ChannelFutureNioSocketChannel. shutdownOutput(ChannelPromise promise) -
Uses of ChannelPromise in io.netty.channel.socket.oio
Methods in io.netty.channel.socket.oio with parameters of type ChannelPromise Modifier and Type Method Description 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, ChannelPromise promise)Deprecated.ChannelFutureOioDatagramChannel. joinGroup(java.net.InetAddress multicastAddress, ChannelPromise promise)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, ChannelPromise promise)Deprecated.ChannelFutureOioDatagramChannel. leaveGroup(java.net.InetAddress multicastAddress, ChannelPromise promise)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, ChannelPromise promise)Deprecated.ChannelFutureOioSocketChannel. shutdown(ChannelPromise promise)Deprecated.ChannelFutureOioSocketChannel. shutdownInput(ChannelPromise promise)Deprecated.ChannelFutureOioSocketChannel. shutdownOutput(ChannelPromise promise)Deprecated. -
Uses of ChannelPromise in io.netty.channel.uring
Methods in io.netty.channel.uring with parameters of type ChannelPromise Modifier and Type Method Description ChannelFutureIoUringDatagramChannel. block(java.net.InetAddress multicastAddress, java.net.InetAddress sourceToBlock, ChannelPromise promise)ChannelFutureIoUringDatagramChannel. block(java.net.InetAddress multicastAddress, java.net.NetworkInterface networkInterface, java.net.InetAddress sourceToBlock, ChannelPromise promise)ChannelFutureIoUringDatagramChannel. joinGroup(java.net.InetAddress multicastAddress, ChannelPromise promise)ChannelFutureIoUringDatagramChannel. joinGroup(java.net.InetAddress multicastAddress, java.net.NetworkInterface networkInterface, java.net.InetAddress source, ChannelPromise promise)ChannelFutureIoUringDatagramChannel. joinGroup(java.net.InetSocketAddress multicastAddress, java.net.NetworkInterface networkInterface, ChannelPromise promise)ChannelFutureIoUringDatagramChannel. leaveGroup(java.net.InetAddress multicastAddress, ChannelPromise promise)ChannelFutureIoUringDatagramChannel. leaveGroup(java.net.InetAddress multicastAddress, java.net.NetworkInterface networkInterface, java.net.InetAddress source, ChannelPromise promise)ChannelFutureIoUringDatagramChannel. leaveGroup(java.net.InetSocketAddress multicastAddress, java.net.NetworkInterface networkInterface, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.handler.address
Methods in io.netty.handler.address with parameters of type ChannelPromise Modifier and Type Method Description voidDynamicAddressConnectHandler. connect(ChannelHandlerContext ctx, java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, ChannelPromise promise)voidResolveAddressHandler. connect(ChannelHandlerContext ctx, java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.handler.codec
Methods in io.netty.handler.codec with parameters of type ChannelPromise Modifier and Type Method Description voidDatagramPacketEncoder. bind(ChannelHandlerContext ctx, java.net.SocketAddress localAddress, ChannelPromise promise)voidDatagramPacketEncoder. close(ChannelHandlerContext ctx, ChannelPromise promise)voidDatagramPacketEncoder. connect(ChannelHandlerContext ctx, java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, ChannelPromise promise)voidDatagramPacketEncoder. deregister(ChannelHandlerContext ctx, ChannelPromise promise)voidDatagramPacketEncoder. disconnect(ChannelHandlerContext ctx, ChannelPromise promise)voidByteToMessageCodec. write(ChannelHandlerContext ctx, java.lang.Object msg, ChannelPromise promise)voidMessageToByteEncoder. write(ChannelHandlerContext ctx, java.lang.Object msg, ChannelPromise promise)voidMessageToMessageCodec. write(ChannelHandlerContext ctx, java.lang.Object msg, ChannelPromise promise)voidMessageToMessageEncoder. write(ChannelHandlerContext ctx, java.lang.Object msg, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.handler.codec.compression
Methods in io.netty.handler.codec.compression with parameters of type ChannelPromise Modifier and Type Method Description voidBrotliEncoder. close(ChannelHandlerContext ctx, ChannelPromise promise)voidBzip2Encoder. close(ChannelHandlerContext ctx, ChannelPromise promise)ChannelFutureBzip2Encoder. close(ChannelPromise promise)Close thisBzip2Encoderand so finish the encoding.voidJdkZlibEncoder. close(ChannelHandlerContext ctx, ChannelPromise promise)ChannelFutureJdkZlibEncoder. close(ChannelPromise promise)voidJZlibEncoder. close(ChannelHandlerContext ctx, ChannelPromise promise)ChannelFutureJZlibEncoder. close(ChannelPromise promise)voidLz4FrameEncoder. close(ChannelHandlerContext ctx, ChannelPromise promise)ChannelFutureLz4FrameEncoder. close(ChannelPromise promise)Close thisLz4FrameEncoderand so finish the encoding.abstract ChannelFutureZlibEncoder. close(ChannelPromise promise)Close thisZlibEncoderand so finish the encoding. -
Uses of ChannelPromise in io.netty.handler.codec.http
Methods in io.netty.handler.codec.http with parameters of type ChannelPromise Modifier and Type Method Description voidHttpClientUpgradeHandler. bind(ChannelHandlerContext ctx, java.net.SocketAddress localAddress, ChannelPromise promise)voidHttpClientUpgradeHandler. close(ChannelHandlerContext ctx, ChannelPromise promise)voidHttpClientUpgradeHandler. connect(ChannelHandlerContext ctx, java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, ChannelPromise promise)voidHttpClientUpgradeHandler. deregister(ChannelHandlerContext ctx, ChannelPromise promise)voidHttpClientUpgradeHandler. disconnect(ChannelHandlerContext ctx, ChannelPromise promise)voidHttpClientUpgradeHandler. write(ChannelHandlerContext ctx, java.lang.Object msg, ChannelPromise promise)voidHttpObjectEncoder. write(ChannelHandlerContext ctx, java.lang.Object msg, ChannelPromise promise)voidHttpServerKeepAliveHandler. write(ChannelHandlerContext ctx, java.lang.Object msg, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.handler.codec.http.cors
Methods in io.netty.handler.codec.http.cors with parameters of type ChannelPromise Modifier and Type Method Description voidCorsHandler. write(ChannelHandlerContext ctx, java.lang.Object msg, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.handler.codec.http.websocketx
Methods in io.netty.handler.codec.http.websocketx with parameters of type ChannelPromise Modifier and Type Method Description ChannelFutureWebSocketClientHandshaker. close(ChannelHandlerContext ctx, CloseWebSocketFrame frame, ChannelPromise promise)Performs the closing handshakeChannelFutureWebSocketClientHandshaker. close(Channel channel, CloseWebSocketFrame frame, ChannelPromise promise)Performs the closing handshake When called from within aChannelHandleryou most likely want to useWebSocketClientHandshaker.close(ChannelHandlerContext, CloseWebSocketFrame, ChannelPromise).ChannelFutureWebSocketServerHandshaker. close(ChannelHandlerContext ctx, CloseWebSocketFrame frame, ChannelPromise promise)Performs the closing handshake.ChannelFutureWebSocketServerHandshaker. close(Channel channel, CloseWebSocketFrame frame, ChannelPromise promise)Performs the closing handshake.ChannelFutureWebSocketServerHandshaker00. close(ChannelHandlerContext ctx, CloseWebSocketFrame frame, ChannelPromise promise)Echo back the closing frameChannelFutureWebSocketServerHandshaker00. close(Channel channel, CloseWebSocketFrame frame, ChannelPromise promise)Echo back the closing frameChannelFutureWebSocketClientHandshaker. handshake(Channel channel, ChannelPromise promise)Begins the opening handshakeChannelFutureWebSocketServerHandshaker. 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, 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, ChannelPromise promise)Process the opening handshake initiated byWebSocketClientHandshaker.handshake(io.netty.channel.Channel)}.static ChannelFutureWebSocketServerHandshakerFactory. sendUnsupportedVersionResponse(Channel channel, ChannelPromise promise)Return that we need cannot support the web socket version -
Uses of ChannelPromise in io.netty.handler.codec.http.websocketx.extensions
Methods in io.netty.handler.codec.http.websocketx.extensions with parameters of type ChannelPromise Modifier and Type Method Description 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, java.lang.Object msg, ChannelPromise promise)voidWebSocketServerExtensionHandler. write(ChannelHandlerContext ctx, java.lang.Object msg, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.handler.codec.http2
Fields in io.netty.handler.codec.http2 declared as ChannelPromise Modifier and Type Field Description protected ChannelPromiseDefaultHttp2ConnectionEncoder.FlowControlledBase. promiseMethods in io.netty.handler.codec.http2 with parameters of type ChannelPromise Modifier and Type Method Description voidHttp2ConnectionHandler. bind(ChannelHandlerContext ctx, java.net.SocketAddress localAddress, ChannelPromise promise)voidHttp2ConnectionHandler. close(ChannelHandlerContext ctx, ChannelPromise promise)voidHttp2ConnectionHandler. connect(ChannelHandlerContext ctx, java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, ChannelPromise promise)voidHttp2ConnectionHandler. deregister(ChannelHandlerContext ctx, ChannelPromise promise)voidHttp2ConnectionHandler. disconnect(ChannelHandlerContext ctx, ChannelPromise promise)ChannelFutureHttp2ConnectionHandler. goAway(ChannelHandlerContext ctx, int lastStreamId, long errorCode, ByteBuf debugData, ChannelPromise promise)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.ChannelFutureHttp2ConnectionHandler. resetStream(ChannelHandlerContext ctx, int streamId, long errorCode, ChannelPromise promise)ChannelFutureHttp2LifecycleManager. resetStream(ChannelHandlerContext ctx, int streamId, long errorCode, ChannelPromise promise)Ensure the stream identified bystreamIdis reset.voidHttp2ConnectionHandler. write(ChannelHandlerContext ctx, java.lang.Object msg, ChannelPromise promise)voidHttp2FrameCodec. write(ChannelHandlerContext ctx, java.lang.Object msg, ChannelPromise promise)Processes allHttp2Frames.voidHttpToHttp2ConnectionHandler. write(ChannelHandlerContext ctx, java.lang.Object msg, ChannelPromise promise)Handles conversion ofHttpMessageandHttpContentto HTTP/2 frames.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)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)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)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)ChannelFutureHttp2FrameWriter. writeSettingsAck(ChannelHandlerContext ctx, ChannelPromise promise)Writes a SETTINGS acknowledgment to the remote endpoint.ChannelFutureHttp2OutboundFrameLogger. writeSettingsAck(ChannelHandlerContext ctx, ChannelPromise promise)ChannelFutureStreamBufferingEncoder. 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) -
Uses of ChannelPromise in io.netty.handler.codec.http3
Methods in io.netty.handler.codec.http3 with parameters of type ChannelPromise Modifier and Type Method Description voidHttp3FrameToHttpObjectCodec. bind(ChannelHandlerContext ctx, java.net.SocketAddress localAddress, ChannelPromise promise)voidHttp3FrameToHttpObjectCodec. close(ChannelHandlerContext ctx, ChannelPromise promise)voidHttp3FrameToHttpObjectCodec. connect(ChannelHandlerContext ctx, java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, ChannelPromise promise)voidHttp3FrameToHttpObjectCodec. deregister(ChannelHandlerContext ctx, ChannelPromise promise)voidHttp3FrameToHttpObjectCodec. disconnect(ChannelHandlerContext ctx, ChannelPromise promise)voidHttp3FrameToHttpObjectCodec. write(ChannelHandlerContext ctx, java.lang.Object msg, ChannelPromise promise)Encode from anHttpObjectto anHttp3RequestStreamFrame. -
Uses of ChannelPromise in io.netty.handler.codec.quic
Methods in io.netty.handler.codec.quic that return ChannelPromise Modifier and Type Method Description default ChannelPromiseQuicChannel. newPromise()default ChannelPromiseQuicStreamChannel. newPromise()default ChannelPromiseQuicChannel. voidPromise()default ChannelPromiseQuicStreamChannel. voidPromise()Methods in io.netty.handler.codec.quic with parameters of type ChannelPromise Modifier and Type Method Description default ChannelFutureQuicChannel. bind(java.net.SocketAddress localAddress, ChannelPromise promise)default ChannelFutureQuicStreamChannel. bind(java.net.SocketAddress localAddress, ChannelPromise channelPromise)ChannelFutureQuicChannel. close(boolean applicationClose, int error, ByteBuf reason, ChannelPromise promise)Close theQuicChanneldefault ChannelFutureQuicChannel. close(ChannelPromise promise)default ChannelFutureQuicStreamChannel. close(ChannelPromise channelPromise)default ChannelFutureQuicChannel. connect(java.net.SocketAddress remoteAddress, ChannelPromise promise)default ChannelFutureQuicChannel. connect(java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, ChannelPromise promise)default ChannelFutureQuicStreamChannel. connect(java.net.SocketAddress remoteAddress, ChannelPromise channelPromise)default ChannelFutureQuicStreamChannel. connect(java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, ChannelPromise channelPromise)default ChannelFutureQuicChannel. deregister(ChannelPromise promise)default ChannelFutureQuicStreamChannel. deregister(ChannelPromise channelPromise)default ChannelFutureQuicChannel. disconnect(ChannelPromise promise)default ChannelFutureQuicStreamChannel. disconnect(ChannelPromise channelPromise)ChannelFutureQuicStreamChannel. shutdown(int error, ChannelPromise promise)Shortcut for callingQuicStreamChannel.shutdownInput(int, ChannelPromise)andQuicStreamChannel.shutdownInput(int, ChannelPromise).ChannelFutureQuicStreamChannel. shutdownInput(int error, ChannelPromise promise)Shutdown the input of the stream with the given error code.default ChannelFutureQuicStreamChannel. shutdownInput(ChannelPromise promise)ChannelFutureQuicStreamChannel. shutdownOutput(int error, ChannelPromise promise)Shutdown the output of the stream with the given error code.ChannelFutureQuicStreamChannel. updatePriority(QuicStreamPriority priority, ChannelPromise promise)Update the priority of the stream.default ChannelFutureQuicChannel. write(java.lang.Object msg, ChannelPromise promise)default ChannelFutureQuicStreamChannel. write(java.lang.Object msg, ChannelPromise channelPromise)default ChannelFutureQuicChannel. writeAndFlush(java.lang.Object msg, ChannelPromise promise)default ChannelFutureQuicStreamChannel. writeAndFlush(java.lang.Object msg, ChannelPromise channelPromise) -
Uses of ChannelPromise in io.netty.handler.codec.spdy
Methods in io.netty.handler.codec.spdy with parameters of type ChannelPromise Modifier and Type Method Description voidSpdyFrameCodec. bind(ChannelHandlerContext ctx, java.net.SocketAddress localAddress, ChannelPromise promise)voidSpdyFrameCodec. close(ChannelHandlerContext ctx, ChannelPromise promise)voidSpdySessionHandler. close(ChannelHandlerContext ctx, ChannelPromise promise)voidSpdyFrameCodec. connect(ChannelHandlerContext ctx, java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, ChannelPromise promise)voidSpdyFrameCodec. deregister(ChannelHandlerContext ctx, ChannelPromise promise)voidSpdyFrameCodec. disconnect(ChannelHandlerContext ctx, ChannelPromise promise)voidSpdyFrameCodec. write(ChannelHandlerContext ctx, java.lang.Object msg, ChannelPromise promise)voidSpdySessionHandler. write(ChannelHandlerContext ctx, java.lang.Object msg, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.handler.flush
Methods in io.netty.handler.flush with parameters of type ChannelPromise Modifier and Type Method Description voidFlushConsolidationHandler. 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 ChannelPromise Modifier and Type Method Description voidLoggingHandler. bind(ChannelHandlerContext ctx, java.net.SocketAddress localAddress, ChannelPromise promise)voidLoggingHandler. close(ChannelHandlerContext ctx, ChannelPromise promise)voidLoggingHandler. connect(ChannelHandlerContext ctx, java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, ChannelPromise promise)voidLoggingHandler. deregister(ChannelHandlerContext ctx, ChannelPromise promise)voidLoggingHandler. disconnect(ChannelHandlerContext ctx, ChannelPromise promise)voidLoggingHandler. write(ChannelHandlerContext ctx, java.lang.Object msg, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.handler.pcap
Methods in io.netty.handler.pcap with parameters of type ChannelPromise Modifier and Type Method Description voidPcapWriteHandler. write(ChannelHandlerContext ctx, java.lang.Object msg, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.handler.proxy
Methods in io.netty.handler.proxy with parameters of type ChannelPromise Modifier and Type Method Description voidProxyHandler. connect(ChannelHandlerContext ctx, java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, ChannelPromise promise)voidProxyHandler. write(ChannelHandlerContext ctx, java.lang.Object msg, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.handler.ssl
Methods in io.netty.handler.ssl with parameters of type ChannelPromise Modifier and Type Method Description voidSslClientHelloHandler. bind(ChannelHandlerContext ctx, java.net.SocketAddress localAddress, ChannelPromise promise)voidSslHandler. bind(ChannelHandlerContext ctx, java.net.SocketAddress localAddress, ChannelPromise promise)voidSslClientHelloHandler. close(ChannelHandlerContext ctx, ChannelPromise promise)voidSslHandler. close(ChannelHandlerContext ctx, ChannelPromise promise)ChannelFutureSslHandler. close(ChannelPromise promise)Deprecated.ChannelFutureSslHandler. closeOutbound(ChannelPromise promise)Sends an SSLclose_notifymessage to the specified channel and destroys the underlyingSSLEngine.voidSslClientHelloHandler. connect(ChannelHandlerContext ctx, java.net.SocketAddress remoteAddress, java.net.SocketAddress localAddress, ChannelPromise promise)voidSslHandler. connect(ChannelHandlerContext ctx, java.net.SocketAddress remoteAddress, java.net.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)voidSslClientHelloHandler. write(ChannelHandlerContext ctx, java.lang.Object msg, ChannelPromise promise)voidSslHandler. write(ChannelHandlerContext ctx, java.lang.Object msg, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.handler.stream
Methods in io.netty.handler.stream with parameters of type ChannelPromise Modifier and Type Method Description voidChunkedWriteHandler. write(ChannelHandlerContext ctx, java.lang.Object msg, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.handler.timeout
Methods in io.netty.handler.timeout with parameters of type ChannelPromise Modifier and Type Method Description voidIdleStateHandler. write(ChannelHandlerContext ctx, java.lang.Object msg, ChannelPromise promise)voidWriteTimeoutHandler. write(ChannelHandlerContext ctx, java.lang.Object msg, ChannelPromise promise) -
Uses of ChannelPromise in io.netty.handler.traffic
Methods in io.netty.handler.traffic with parameters of type ChannelPromise Modifier and Type Method Description protected voidAbstractTrafficShapingHandler. submitWrite(ChannelHandlerContext ctx, java.lang.Object msg, long delay, ChannelPromise promise)Deprecated.protected voidGlobalChannelTrafficShapingHandler. submitWrite(ChannelHandlerContext ctx, java.lang.Object msg, long size, long writedelay, long now, ChannelPromise promise)voidAbstractTrafficShapingHandler. write(ChannelHandlerContext ctx, java.lang.Object msg, ChannelPromise promise)voidGlobalChannelTrafficShapingHandler. write(ChannelHandlerContext ctx, java.lang.Object msg, ChannelPromise promise)
-