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.epoll |
Optimized transport for linux which uses EPOLL Edge-Triggered Mode
for maximal performance.
|
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.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.spdy |
Encoder, decoder, session handler and their related message types for the SPDY protocol.
|
io.netty.handler.logging |
Logs the I/O events for debugging purpose.
|
io.netty.handler.proxy |
Adds support for client connections via proxy protocols such as
SOCKS and
HTTP CONNECT tunneling
|
io.netty.handler.ssl | |
io.netty.handler.stream |
Writes very large data stream asynchronously neither spending a lot of
memory nor getting
OutOfMemoryError . |
io.netty.handler.timeout |
Adds support for read and write timeout and idle connection notification
using a
Timer . |
io.netty.handler.traffic |
Implementation of a Traffic Shaping Handler and Dynamic Statistics.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ChannelProgressivePromise
Special
ChannelPromise which will be notified once the associated bytes is transferring. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultChannelProgressivePromise
The default
ChannelProgressivePromise implementation. |
class |
DefaultChannelPromise
The default
ChannelPromise implementation. |
Modifier and Type | Method and Description |
---|---|
ChannelPromise |
ChannelPromise.addListener(GenericFutureListener<? extends Future<? super Void>> listener) |
ChannelPromise |
DefaultChannelPromise.addListener(GenericFutureListener<? extends Future<? super Void>> listener) |
ChannelPromise |
ChannelPromise.addListeners(GenericFutureListener<? extends Future<? super Void>>... listeners) |
ChannelPromise |
DefaultChannelPromise.addListeners(GenericFutureListener<? extends Future<? super Void>>... listeners) |
ChannelPromise |
ChannelPromise.await() |
ChannelPromise |
DefaultChannelPromise.await() |
ChannelPromise |
ChannelPromise.awaitUninterruptibly() |
ChannelPromise |
DefaultChannelPromise.awaitUninterruptibly() |
ChannelPromise |
Channel.newPromise()
Return a new
ChannelPromise . |
ChannelPromise |
AbstractChannel.newPromise() |
ChannelPromise |
ChannelHandlerContext.newPromise()
Return a new
ChannelPromise . |
ChannelPromise |
DefaultChannelPromise.promise() |
ChannelPromise |
PendingWriteQueue.remove()
Removes a pending write operation and release it's message via
ReferenceCountUtil.safeRelease(Object) . |
ChannelPromise |
ChannelPromise.removeListener(GenericFutureListener<? extends Future<? super Void>> listener) |
ChannelPromise |
DefaultChannelPromise.removeListener(GenericFutureListener<? extends Future<? super Void>> listener) |
ChannelPromise |
ChannelPromise.removeListeners(GenericFutureListener<? extends Future<? super Void>>... listeners) |
ChannelPromise |
DefaultChannelPromise.removeListeners(GenericFutureListener<? extends Future<? super Void>>... listeners) |
ChannelPromise |
ChannelPromise.setFailure(Throwable cause) |
ChannelPromise |
DefaultChannelPromise.setFailure(Throwable cause) |
ChannelPromise |
ChannelPromise.setSuccess() |
ChannelPromise |
DefaultChannelPromise.setSuccess() |
ChannelPromise |
ChannelPromise.setSuccess(Void result) |
ChannelPromise |
DefaultChannelPromise.setSuccess(Void result) |
ChannelPromise |
ChannelPromise.sync() |
ChannelPromise |
DefaultChannelPromise.sync() |
ChannelPromise |
ChannelPromise.syncUninterruptibly() |
ChannelPromise |
DefaultChannelPromise.syncUninterruptibly() |
ChannelPromise |
ChannelPromise.unvoid()
|
ChannelPromise |
DefaultChannelPromise.unvoid() |
ChannelPromise |
Channel.voidPromise()
Return a special ChannelPromise which can be reused for different operations.
|
ChannelPromise |
Channel.Unsafe.voidPromise()
Return a special ChannelPromise which can be reused and passed to the operations in
Channel.Unsafe . |
ChannelPromise |
AbstractChannel.voidPromise() |
ChannelPromise |
AbstractChannel.AbstractUnsafe.voidPromise() |
ChannelPromise |
ChannelHandlerContext.voidPromise()
Return a special ChannelPromise which can be reused for different operations.
|
Modifier and Type | Method and Description |
---|---|
ChannelFlushPromiseNotifier |
ChannelFlushPromiseNotifier.add(ChannelPromise promise,
long pendingDataSize)
Add a
ChannelPromise to this ChannelFlushPromiseNotifier which will be notified after the given
pendingDataSize was reached. |
void |
PendingWriteQueue.add(Object msg,
ChannelPromise promise)
Add the given
msg and ChannelPromise . |
void |
ChannelOutboundBuffer.addMessage(Object msg,
int size,
ChannelPromise promise)
Add given message to this
ChannelOutboundBuffer . |
void |
ChannelHandler.bind(ChannelHandlerContext ctx,
SocketAddress localAddress,
ChannelPromise promise)
Called once a bind operation is made.
|
void |
ChannelHandlerAdapter.bind(ChannelHandlerContext ctx,
SocketAddress localAddress,
ChannelPromise promise)
Calls
ChannelHandlerContext.bind(java.net.SocketAddress, ChannelPromise) to forward
to the next ChannelHandler in the ChannelPipeline . |
ChannelFuture |
Channel.bind(SocketAddress localAddress,
ChannelPromise promise)
Request to bind to the given
SocketAddress and notify the ChannelFuture once the operation
completes, either because the operation was successful or because of an error. |
void |
Channel.Unsafe.bind(SocketAddress localAddress,
ChannelPromise promise)
|
ChannelFuture |
ChannelPipeline.bind(SocketAddress localAddress,
ChannelPromise promise)
Request to bind to the given
SocketAddress and notify the ChannelFuture once the operation
completes, either because the operation was successful or because of an error. |
ChannelFuture |
AbstractChannel.bind(SocketAddress localAddress,
ChannelPromise promise) |
void |
AbstractChannel.AbstractUnsafe.bind(SocketAddress localAddress,
ChannelPromise promise) |
ChannelFuture |
ChannelHandlerContext.bind(SocketAddress localAddress,
ChannelPromise promise)
Request to bind to the given
SocketAddress and notify the ChannelFuture once the operation
completes, either because the operation was successful or because of an error. |
void |
ChannelHandler.close(ChannelHandlerContext ctx,
ChannelPromise promise)
Called once a close operation is made.
|
void |
ChannelHandlerAdapter.close(ChannelHandlerContext ctx,
ChannelPromise promise)
Calls
ChannelHandlerContext.close(ChannelPromise) to forward
to the next ChannelHandler in the ChannelPipeline . |
ChannelFuture |
Channel.close(ChannelPromise promise)
Request to close this
Channel and notify the ChannelFuture once the operation completes,
either because the operation was successful or because of
an error. |
void |
Channel.Unsafe.close(ChannelPromise promise)
Close the
Channel of the ChannelPromise and notify the ChannelPromise once the
operation was complete. |
ChannelFuture |
ChannelPipeline.close(ChannelPromise promise)
Request to close the
Channel bound to this ChannelPipeline and notify the ChannelFuture
once the operation completes, either because the operation was successful or because of
an error. |
ChannelFuture |
AbstractChannel.close(ChannelPromise promise) |
void |
AbstractChannel.AbstractUnsafe.close(ChannelPromise promise) |
ChannelFuture |
ChannelHandlerContext.close(ChannelPromise promise)
Request to close the
Channel and notify the ChannelFuture once the operation completes,
either because the operation was successful or because of
an error. |
void |
ChannelHandler.connect(ChannelHandlerContext ctx,
SocketAddress remoteAddress,
SocketAddress localAddress,
ChannelPromise promise)
Called once a connect operation is made.
|
void |
ChannelHandlerAdapter.connect(ChannelHandlerContext ctx,
SocketAddress remoteAddress,
SocketAddress localAddress,
ChannelPromise promise)
Calls
ChannelHandlerContext.connect(SocketAddress, SocketAddress, ChannelPromise) to forward
to the next ChannelHandler in the ChannelPipeline . |
ChannelFuture |
Channel.connect(SocketAddress remoteAddress,
ChannelPromise promise)
Request to connect to the given
SocketAddress and notify the ChannelFuture once the operation
completes, either because the operation was successful or because of an error. |
ChannelFuture |
ChannelPipeline.connect(SocketAddress remoteAddress,
ChannelPromise promise)
Request to connect to the given
SocketAddress and notify the ChannelFuture once the operation
completes, either because the operation was successful or because of an error. |
ChannelFuture |
AbstractChannel.connect(SocketAddress remoteAddress,
ChannelPromise promise) |
ChannelFuture |
ChannelHandlerContext.connect(SocketAddress remoteAddress,
ChannelPromise promise)
Request to connect to the given
SocketAddress and notify the ChannelFuture once the operation
completes, either because the operation was successful or because of an error. |
ChannelFuture |
Channel.connect(SocketAddress remoteAddress,
SocketAddress localAddress,
ChannelPromise promise)
Request to connect to the given
SocketAddress while bind to the localAddress and notify the
ChannelFuture once the operation completes, either because the operation was successful or because of
an error. |
void |
Channel.Unsafe.connect(SocketAddress remoteAddress,
SocketAddress localAddress,
ChannelPromise promise)
|
ChannelFuture |
ChannelPipeline.connect(SocketAddress remoteAddress,
SocketAddress localAddress,
ChannelPromise promise)
Request to connect to the given
SocketAddress while bind to the localAddress and notify the
ChannelFuture once the operation completes, either because the operation was successful or because of
an error. |
ChannelFuture |
AbstractChannel.connect(SocketAddress remoteAddress,
SocketAddress localAddress,
ChannelPromise promise) |
ChannelFuture |
ChannelHandlerContext.connect(SocketAddress remoteAddress,
SocketAddress localAddress,
ChannelPromise promise)
Request to connect to the given
SocketAddress while bind to the localAddress and notify the
ChannelFuture once the operation completes, either because the operation was successful or because of
an error. |
void |
ChannelHandler.deregister(ChannelHandlerContext ctx,
ChannelPromise promise)
Called once a deregister operation is made from the current registered
EventLoop . |
void |
ChannelHandlerAdapter.deregister(ChannelHandlerContext ctx,
ChannelPromise promise)
Calls
ChannelHandlerContext.deregister(ChannelPromise) to forward
to the next ChannelHandler in the ChannelPipeline . |
ChannelFuture |
Channel.deregister(ChannelPromise promise)
Request to deregister this
Channel from its assigned EventLoop and notify the
ChannelPromise once the operation completes, either because the operation was successful or because of
an error. |
void |
Channel.Unsafe.deregister(ChannelPromise promise)
Deregister the
Channel of the ChannelPromise from EventLoop and notify the
ChannelPromise once the operation was complete. |
ChannelFuture |
ChannelPipeline.deregister(ChannelPromise promise)
Request to deregister the
Channel bound this ChannelPipeline from the previous assigned
EventExecutor and notify the ChannelFuture once the operation completes, either because the
operation was successful or because of an error. |
ChannelFuture |
AbstractChannel.deregister(ChannelPromise promise) |
void |
AbstractChannel.AbstractUnsafe.deregister(ChannelPromise promise)
This method must NEVER be called directly, but be executed as an
extra task with a clean call stack instead.
|
ChannelFuture |
ChannelHandlerContext.deregister(ChannelPromise promise)
Request to deregister from the previous assigned
EventExecutor and notify the
ChannelFuture once the operation completes, either because the operation was successful or because of
an error. |
void |
ChannelHandler.disconnect(ChannelHandlerContext ctx,
ChannelPromise promise)
Called once a disconnect operation is made.
|
void |
ChannelHandlerAdapter.disconnect(ChannelHandlerContext ctx,
ChannelPromise promise)
Calls
ChannelHandlerContext.disconnect(ChannelPromise) to forward
to the next ChannelHandler in the ChannelPipeline . |
ChannelFuture |
Channel.disconnect(ChannelPromise promise)
Request to disconnect from the remote peer and notify the
ChannelFuture once the operation completes,
either because the operation was successful or because of an error. |
void |
Channel.Unsafe.disconnect(ChannelPromise promise)
Disconnect the
Channel of the ChannelFuture and notify the ChannelPromise once the
operation was complete. |
ChannelFuture |
ChannelPipeline.disconnect(ChannelPromise promise)
Request to disconnect from the remote peer and notify the
ChannelFuture once the operation completes,
either because the operation was successful or because of an error. |
ChannelFuture |
AbstractChannel.disconnect(ChannelPromise promise) |
void |
AbstractChannel.AbstractUnsafe.disconnect(ChannelPromise promise) |
ChannelFuture |
ChannelHandlerContext.disconnect(ChannelPromise promise)
Request to disconnect from the remote peer and notify the
ChannelFuture once the operation completes,
either because the operation was successful or because of an error. |
protected boolean |
AbstractChannel.AbstractUnsafe.ensureOpen(ChannelPromise promise) |
void |
ChannelHandlerInvoker.invokeBind(ChannelHandlerContext ctx,
SocketAddress localAddress,
ChannelPromise promise)
|
void |
DefaultChannelHandlerInvoker.invokeBind(ChannelHandlerContext ctx,
SocketAddress localAddress,
ChannelPromise promise) |
static void |
ChannelHandlerInvokerUtil.invokeBindNow(ChannelHandlerContext ctx,
SocketAddress localAddress,
ChannelPromise promise) |
void |
ChannelHandlerInvoker.invokeClose(ChannelHandlerContext ctx,
ChannelPromise promise)
|
void |
DefaultChannelHandlerInvoker.invokeClose(ChannelHandlerContext ctx,
ChannelPromise promise) |
static void |
ChannelHandlerInvokerUtil.invokeCloseNow(ChannelHandlerContext ctx,
ChannelPromise promise) |
void |
ChannelHandlerInvoker.invokeConnect(ChannelHandlerContext ctx,
SocketAddress remoteAddress,
SocketAddress localAddress,
ChannelPromise promise)
|
void |
DefaultChannelHandlerInvoker.invokeConnect(ChannelHandlerContext ctx,
SocketAddress remoteAddress,
SocketAddress localAddress,
ChannelPromise promise) |
static void |
ChannelHandlerInvokerUtil.invokeConnectNow(ChannelHandlerContext ctx,
SocketAddress remoteAddress,
SocketAddress localAddress,
ChannelPromise promise) |
void |
ChannelHandlerInvoker.invokeDeregister(ChannelHandlerContext ctx,
ChannelPromise promise)
|
void |
DefaultChannelHandlerInvoker.invokeDeregister(ChannelHandlerContext ctx,
ChannelPromise promise) |
static void |
ChannelHandlerInvokerUtil.invokeDeregisterNow(ChannelHandlerContext ctx,
ChannelPromise promise) |
void |
ChannelHandlerInvoker.invokeDisconnect(ChannelHandlerContext ctx,
ChannelPromise promise)
|
void |
DefaultChannelHandlerInvoker.invokeDisconnect(ChannelHandlerContext ctx,
ChannelPromise promise) |
static void |
ChannelHandlerInvokerUtil.invokeDisconnectNow(ChannelHandlerContext ctx,
ChannelPromise promise) |
void |
ChannelHandlerInvoker.invokeWrite(ChannelHandlerContext ctx,
Object msg,
ChannelPromise promise)
|
void |
DefaultChannelHandlerInvoker.invokeWrite(ChannelHandlerContext ctx,
Object msg,
ChannelPromise promise) |
static void |
ChannelHandlerInvokerUtil.invokeWriteNow(ChannelHandlerContext ctx,
Object msg,
ChannelPromise promise) |
ChannelFuture |
ThreadPerChannelEventLoopGroup.register(Channel channel,
ChannelPromise promise) |
ChannelFuture |
ThreadPerChannelEventLoop.register(Channel channel,
ChannelPromise promise) |
ChannelFuture |
MultithreadEventLoopGroup.register(Channel channel,
ChannelPromise promise) |
ChannelFuture |
EventLoopGroup.register(Channel channel,
ChannelPromise promise)
|
ChannelFuture |
SingleThreadEventLoop.register(Channel channel,
ChannelPromise promise) |
void |
Channel.Unsafe.register(EventLoop eventLoop,
ChannelPromise promise)
Register the
Channel of the ChannelPromise and notify
the ChannelFuture once the registration was complete. |
void |
AbstractChannel.AbstractUnsafe.register(EventLoop eventLoop,
ChannelPromise promise) |
protected void |
AbstractChannel.AbstractUnsafe.safeSetFailure(ChannelPromise promise,
Throwable cause)
Marks the specified
promise as failure. |
protected void |
AbstractChannel.AbstractUnsafe.safeSetSuccess(ChannelPromise promise)
Marks the specified
promise as success. |
static boolean |
ChannelHandlerInvokerUtil.validatePromise(ChannelHandlerContext ctx,
ChannelPromise promise,
boolean allowVoidPromise) |
void |
ChannelHandler.write(ChannelHandlerContext ctx,
Object msg,
ChannelPromise promise)
Called once a write operation is made.
|
void |
ChannelHandlerAdapter.write(ChannelHandlerContext ctx,
Object msg,
ChannelPromise promise)
Calls
ChannelHandlerContext.write(Object) to forward
to the next ChannelHandler in the ChannelPipeline . |
ChannelFuture |
Channel.write(Object msg,
ChannelPromise promise)
Request to write a message via this
Channel through the ChannelPipeline . |
void |
Channel.Unsafe.write(Object msg,
ChannelPromise promise)
Schedules a write operation.
|
ChannelFuture |
ChannelPipeline.write(Object msg,
ChannelPromise promise)
Request to write a message via this
ChannelPipeline . |
ChannelFuture |
AbstractChannel.write(Object msg,
ChannelPromise promise) |
void |
AbstractChannel.AbstractUnsafe.write(Object msg,
ChannelPromise promise) |
ChannelFuture |
ChannelHandlerContext.write(Object msg,
ChannelPromise promise)
Request to write a message via this
ChannelHandlerContext through the ChannelPipeline . |
ChannelFuture |
Channel.writeAndFlush(Object msg,
ChannelPromise promise)
Shortcut for call
Channel.write(Object, ChannelPromise) and Channel.flush() . |
ChannelFuture |
ChannelPipeline.writeAndFlush(Object msg,
ChannelPromise promise)
Shortcut for call
ChannelPipeline.write(Object, ChannelPromise) and ChannelPipeline.flush() . |
ChannelFuture |
AbstractChannel.writeAndFlush(Object msg,
ChannelPromise promise) |
ChannelFuture |
ChannelHandlerContext.writeAndFlush(Object msg,
ChannelPromise promise)
Shortcut for call
ChannelHandlerContext.write(Object, ChannelPromise) and ChannelHandlerContext.flush() . |
Constructor and Description |
---|
ChannelPromiseAggregator(ChannelPromise aggregatePromise) |
ChannelPromiseNotifier(ChannelPromise... promises)
Create a new instance
|
Modifier and Type | Method and Description |
---|---|
ChannelFuture |
EpollDatagramChannel.block(InetAddress multicastAddress,
InetAddress sourceToBlock,
ChannelPromise promise) |
ChannelFuture |
EpollDatagramChannel.block(InetAddress multicastAddress,
NetworkInterface networkInterface,
InetAddress sourceToBlock,
ChannelPromise promise) |
ChannelFuture |
EpollDatagramChannel.joinGroup(InetAddress multicastAddress,
ChannelPromise promise) |
ChannelFuture |
EpollDatagramChannel.joinGroup(InetAddress multicastAddress,
NetworkInterface networkInterface,
InetAddress source,
ChannelPromise promise) |
ChannelFuture |
EpollDatagramChannel.joinGroup(InetSocketAddress multicastAddress,
NetworkInterface networkInterface,
ChannelPromise promise) |
ChannelFuture |
EpollDatagramChannel.leaveGroup(InetAddress multicastAddress,
ChannelPromise promise) |
ChannelFuture |
EpollDatagramChannel.leaveGroup(InetAddress multicastAddress,
NetworkInterface networkInterface,
InetAddress source,
ChannelPromise promise) |
ChannelFuture |
EpollDatagramChannel.leaveGroup(InetSocketAddress multicastAddress,
NetworkInterface networkInterface,
ChannelPromise promise) |
ChannelFuture |
EpollSocketChannel.shutdownOutput(ChannelPromise promise) |
protected void |
AbstractEpollStreamChannel.shutdownOutput0(ChannelPromise promise) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractNioChannel.AbstractNioUnsafe.connect(SocketAddress remoteAddress,
SocketAddress localAddress,
ChannelPromise promise) |
Modifier and Type | Method and Description |
---|---|
ChannelFuture |
SctpServerChannel.bindAddress(InetAddress localAddress,
ChannelPromise promise)
Bind a address to the already bound channel to enable multi-homing.
|
ChannelFuture |
SctpChannel.bindAddress(InetAddress localAddress,
ChannelPromise promise)
Bind a address to the already bound channel to enable multi-homing.
|
ChannelFuture |
SctpServerChannel.unbindAddress(InetAddress localAddress,
ChannelPromise promise)
Unbind the address from channel's multi-homing address list.
|
ChannelFuture |
SctpChannel.unbindAddress(InetAddress localAddress,
ChannelPromise promise)
Unbind the address from channel's multi-homing address list.
|
Modifier and Type | Method and Description |
---|---|
ChannelFuture |
NioSctpServerChannel.bindAddress(InetAddress localAddress,
ChannelPromise promise) |
ChannelFuture |
NioSctpChannel.bindAddress(InetAddress localAddress,
ChannelPromise promise) |
ChannelFuture |
NioSctpServerChannel.unbindAddress(InetAddress localAddress,
ChannelPromise promise) |
ChannelFuture |
NioSctpChannel.unbindAddress(InetAddress localAddress,
ChannelPromise promise) |
Modifier and Type | Method and Description |
---|---|
ChannelFuture |
OioSctpChannel.bindAddress(InetAddress localAddress,
ChannelPromise promise) |
ChannelFuture |
OioSctpServerChannel.bindAddress(InetAddress localAddress,
ChannelPromise promise) |
ChannelFuture |
OioSctpChannel.unbindAddress(InetAddress localAddress,
ChannelPromise promise) |
ChannelFuture |
OioSctpServerChannel.unbindAddress(InetAddress localAddress,
ChannelPromise promise) |
Modifier and Type | Method and Description |
---|---|
ChannelFuture |
DatagramChannel.block(InetAddress multicastAddress,
InetAddress sourceToBlock,
ChannelPromise future)
Block the given sourceToBlock address for the given multicastAddress and notifies the
ChannelFuture once
the operation completes. |
ChannelFuture |
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
the
ChannelFuture once the operation completes. |
ChannelFuture |
DatagramChannel.joinGroup(InetAddress multicastAddress,
ChannelPromise future)
Joins a multicast group and notifies the
ChannelFuture once the operation completes. |
ChannelFuture |
DatagramChannel.joinGroup(InetAddress multicastAddress,
NetworkInterface networkInterface,
InetAddress source,
ChannelPromise future)
Joins the specified multicast group at the specified interface and notifies the
ChannelFuture
once the operation completes. |
ChannelFuture |
DatagramChannel.joinGroup(InetSocketAddress multicastAddress,
NetworkInterface networkInterface,
ChannelPromise future)
Joins the specified multicast group at the specified interface and notifies the
ChannelFuture
once the operation completes. |
ChannelFuture |
DatagramChannel.leaveGroup(InetAddress multicastAddress,
ChannelPromise future)
Leaves a multicast group and notifies the
ChannelFuture once the operation completes. |
ChannelFuture |
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
the
ChannelFuture once the operation completes. |
ChannelFuture |
DatagramChannel.leaveGroup(InetSocketAddress multicastAddress,
NetworkInterface networkInterface,
ChannelPromise future)
Leaves a multicast group on a specified local interface and notifies the
ChannelFuture once the
operation completes. |
ChannelFuture |
SocketChannel.shutdownOutput(ChannelPromise future) |
Modifier and Type | Method and Description |
---|---|
ChannelFuture |
NioDatagramChannel.block(InetAddress multicastAddress,
InetAddress sourceToBlock,
ChannelPromise promise)
Block the given sourceToBlock address for the given multicastAddress
|
ChannelFuture |
NioDatagramChannel.block(InetAddress multicastAddress,
NetworkInterface networkInterface,
InetAddress sourceToBlock,
ChannelPromise promise)
Block the given sourceToBlock address for the given multicastAddress on the given networkInterface
|
ChannelFuture |
NioDatagramChannel.joinGroup(InetAddress multicastAddress,
ChannelPromise promise) |
ChannelFuture |
NioDatagramChannel.joinGroup(InetAddress multicastAddress,
NetworkInterface networkInterface,
InetAddress source,
ChannelPromise promise) |
ChannelFuture |
NioDatagramChannel.joinGroup(InetSocketAddress multicastAddress,
NetworkInterface networkInterface,
ChannelPromise promise) |
ChannelFuture |
NioDatagramChannel.leaveGroup(InetAddress multicastAddress,
ChannelPromise promise) |
ChannelFuture |
NioDatagramChannel.leaveGroup(InetAddress multicastAddress,
NetworkInterface networkInterface,
InetAddress source,
ChannelPromise promise) |
ChannelFuture |
NioDatagramChannel.leaveGroup(InetSocketAddress multicastAddress,
NetworkInterface networkInterface,
ChannelPromise promise) |
ChannelFuture |
NioSocketChannel.shutdownOutput(ChannelPromise promise) |
Modifier and Type | Method and Description |
---|---|
ChannelFuture |
OioDatagramChannel.block(InetAddress multicastAddress,
InetAddress sourceToBlock,
ChannelPromise promise) |
ChannelFuture |
OioDatagramChannel.block(InetAddress multicastAddress,
NetworkInterface networkInterface,
InetAddress sourceToBlock,
ChannelPromise promise) |
ChannelFuture |
OioDatagramChannel.joinGroup(InetAddress multicastAddress,
ChannelPromise promise) |
ChannelFuture |
OioDatagramChannel.joinGroup(InetAddress multicastAddress,
NetworkInterface networkInterface,
InetAddress source,
ChannelPromise promise) |
ChannelFuture |
OioDatagramChannel.joinGroup(InetSocketAddress multicastAddress,
NetworkInterface networkInterface,
ChannelPromise promise) |
ChannelFuture |
OioDatagramChannel.leaveGroup(InetAddress multicastAddress,
ChannelPromise promise) |
ChannelFuture |
OioDatagramChannel.leaveGroup(InetAddress multicastAddress,
NetworkInterface networkInterface,
InetAddress source,
ChannelPromise promise) |
ChannelFuture |
OioDatagramChannel.leaveGroup(InetSocketAddress multicastAddress,
NetworkInterface networkInterface,
ChannelPromise promise) |
ChannelFuture |
OioSocketChannel.shutdownOutput(ChannelPromise future) |
Modifier and Type | Method and Description |
---|---|
void |
MessageToMessageEncoder.write(ChannelHandlerContext ctx,
Object msg,
ChannelPromise promise) |
void |
MessageToMessageCodec.write(ChannelHandlerContext ctx,
Object msg,
ChannelPromise promise) |
void |
ByteToMessageCodec.write(ChannelHandlerContext ctx,
Object msg,
ChannelPromise promise) |
void |
MessageToByteEncoder.write(ChannelHandlerContext ctx,
Object msg,
ChannelPromise promise) |
Modifier and Type | Method and Description |
---|---|
void |
Lz4FrameEncoder.close(ChannelHandlerContext ctx,
ChannelPromise promise) |
void |
Bzip2Encoder.close(ChannelHandlerContext ctx,
ChannelPromise promise) |
void |
JZlibEncoder.close(ChannelHandlerContext ctx,
ChannelPromise promise) |
void |
JdkZlibEncoder.close(ChannelHandlerContext ctx,
ChannelPromise promise) |
ChannelFuture |
Lz4FrameEncoder.close(ChannelPromise promise)
Close this
Lz4FrameEncoder and so finish the encoding. |
ChannelFuture |
Bzip2Encoder.close(ChannelPromise promise)
Close this
Bzip2Encoder and so finish the encoding. |
abstract ChannelFuture |
ZlibEncoder.close(ChannelPromise promise)
Close this
ZlibEncoder and so finish the encoding. |
ChannelFuture |
JZlibEncoder.close(ChannelPromise promise) |
ChannelFuture |
JdkZlibEncoder.close(ChannelPromise promise) |
Modifier and Type | Method and Description |
---|---|
void |
HttpClientUpgradeHandler.write(ChannelHandlerContext ctx,
Object msg,
ChannelPromise promise) |
Modifier and Type | Method and Description |
---|---|
void |
CorsHandler.write(ChannelHandlerContext ctx,
Object msg,
ChannelPromise promise) |
Modifier and Type | Method and Description |
---|---|
ChannelFuture |
WebSocketServerHandshaker.close(Channel channel,
CloseWebSocketFrame frame,
ChannelPromise promise)
Performs the closing handshake
|
ChannelFuture |
WebSocketServerHandshaker00.close(Channel channel,
CloseWebSocketFrame frame,
ChannelPromise promise)
Echo back the closing frame
|
ChannelFuture |
WebSocketClientHandshaker.close(Channel channel,
CloseWebSocketFrame frame,
ChannelPromise promise)
Performs the closing handshake
|
ChannelFuture |
WebSocketClientHandshaker.handshake(Channel channel,
ChannelPromise promise)
Begins the opening handshake
|
ChannelFuture |
WebSocketServerHandshaker.handshake(Channel channel,
FullHttpRequest req,
HttpHeaders responseHeaders,
ChannelPromise promise)
Performs the opening handshake
When call this method you MUST NOT retain the
FullHttpRequest which is passed in. |
ChannelFuture |
WebSocketServerHandshaker.handshake(Channel channel,
HttpRequest req,
HttpHeaders responseHeaders,
ChannelPromise promise)
Performs the opening handshake
When call this method you MUST NOT retain the
HttpRequest which is passed in. |
ChannelFuture |
WebSocketClientHandshaker.processHandshake(Channel channel,
HttpResponse response,
ChannelPromise promise)
Process the opening handshake initiated by
WebSocketClientHandshaker.handshake(io.netty.channel.Channel) }. |
static ChannelFuture |
WebSocketServerHandshakerFactory.sendUnsupportedVersionResponse(Channel channel,
ChannelPromise promise)
Return that we need cannot not support the web socket version
|
Modifier and Type | Method and Description |
---|---|
void |
WebSocketServerExtensionHandler.write(ChannelHandlerContext ctx,
Object msg,
ChannelPromise promise) |
void |
WebSocketClientExtensionHandler.write(ChannelHandlerContext ctx,
Object msg,
ChannelPromise promise) |
Modifier and Type | Field and Description |
---|---|
protected ChannelPromise |
DefaultHttp2ConnectionEncoder.FlowControlledBase.promise |
Modifier and Type | Method and Description |
---|---|
void |
Http2ConnectionHandler.close(ChannelHandlerContext ctx,
ChannelPromise promise) |
static <T extends Throwable> |
Http2CodecUtil.failAndThrow(ChannelPromise promise,
T cause)
Fails the given promise with the cause and then re-throws the cause.
|
void |
HttpToHttp2ConnectionHandler.write(ChannelHandlerContext ctx,
Object msg,
ChannelPromise promise)
Handles conversion of a
FullHttpMessage to HTTP/2 frames. |
ChannelFuture |
Http2DataWriter.writeData(ChannelHandlerContext ctx,
int streamId,
ByteBuf data,
int padding,
boolean endStream,
ChannelPromise promise)
Writes a
DATA frame to the remote endpoint. |
ChannelFuture |
DefaultHttp2ConnectionEncoder.writeData(ChannelHandlerContext ctx,
int streamId,
ByteBuf data,
int padding,
boolean endOfStream,
ChannelPromise promise) |
ChannelFuture |
Http2OutboundFrameLogger.writeData(ChannelHandlerContext ctx,
int streamId,
ByteBuf data,
int padding,
boolean endStream,
ChannelPromise promise) |
ChannelFuture |
DefaultHttp2FrameWriter.writeData(ChannelHandlerContext ctx,
int streamId,
ByteBuf data,
int padding,
boolean endStream,
ChannelPromise promise) |
ChannelFuture |
CompressorHttp2ConnectionEncoder.writeData(ChannelHandlerContext ctx,
int streamId,
ByteBuf data,
int padding,
boolean endOfStream,
ChannelPromise promise) |
ChannelFuture |
DefaultHttp2ConnectionEncoder.writeFrame(ChannelHandlerContext ctx,
byte frameType,
int streamId,
Http2Flags flags,
ByteBuf payload,
ChannelPromise promise) |
ChannelFuture |
Http2OutboundFrameLogger.writeFrame(ChannelHandlerContext ctx,
byte frameType,
int streamId,
Http2Flags flags,
ByteBuf payload,
ChannelPromise promise) |
ChannelFuture |
DefaultHttp2FrameWriter.writeFrame(ChannelHandlerContext ctx,
byte frameType,
int streamId,
Http2Flags flags,
ByteBuf payload,
ChannelPromise promise) |
ChannelFuture |
Http2FrameWriter.writeFrame(ChannelHandlerContext ctx,
byte frameType,
int streamId,
Http2Flags flags,
ByteBuf payload,
ChannelPromise promise)
Generic write method for any HTTP/2 frame.
|
ChannelFuture |
Http2ConnectionEncoder.writeFrame(ChannelHandlerContext ctx,
byte frameType,
int streamId,
Http2Flags flags,
ByteBuf payload,
ChannelPromise promise)
Writes the given data to the internal
Http2FrameWriter without performing any
state checks on the connection/stream. |
ChannelFuture |
DefaultHttp2ConnectionEncoder.writeGoAway(ChannelHandlerContext ctx,
int lastStreamId,
long errorCode,
ByteBuf debugData,
ChannelPromise promise) |
ChannelFuture |
Http2OutboundFrameLogger.writeGoAway(ChannelHandlerContext ctx,
int lastStreamId,
long errorCode,
ByteBuf debugData,
ChannelPromise promise) |
ChannelFuture |
Http2LifecycleManager.writeGoAway(ChannelHandlerContext ctx,
int lastStreamId,
long errorCode,
ByteBuf debugData,
ChannelPromise promise)
Sends a
GO_AWAY frame to the remote endpoint and updates the connection state
appropriately. |
ChannelFuture |
DefaultHttp2FrameWriter.writeGoAway(ChannelHandlerContext ctx,
int lastStreamId,
long errorCode,
ByteBuf debugData,
ChannelPromise promise) |
ChannelFuture |
Http2FrameWriter.writeGoAway(ChannelHandlerContext ctx,
int lastStreamId,
long errorCode,
ByteBuf debugData,
ChannelPromise promise)
Writes a GO_AWAY frame to the remote endpoint.
|
ChannelFuture |
Http2ConnectionHandler.writeGoAway(ChannelHandlerContext ctx,
int lastStreamId,
long errorCode,
ByteBuf debugData,
ChannelPromise promise)
Sends a
GO_AWAY frame to the remote endpoint and updates the connection state appropriately. |
ChannelFuture |
DefaultHttp2ConnectionEncoder.writeHeaders(ChannelHandlerContext ctx,
int streamId,
Http2Headers headers,
int padding,
boolean endStream,
ChannelPromise promise) |
ChannelFuture |
Http2OutboundFrameLogger.writeHeaders(ChannelHandlerContext ctx,
int streamId,
Http2Headers headers,
int padding,
boolean endStream,
ChannelPromise promise) |
ChannelFuture |
DefaultHttp2FrameWriter.writeHeaders(ChannelHandlerContext ctx,
int streamId,
Http2Headers headers,
int padding,
boolean endStream,
ChannelPromise promise) |
ChannelFuture |
Http2FrameWriter.writeHeaders(ChannelHandlerContext ctx,
int streamId,
Http2Headers headers,
int padding,
boolean endStream,
ChannelPromise promise)
Writes a HEADERS frame to the remote endpoint.
|
ChannelFuture |
CompressorHttp2ConnectionEncoder.writeHeaders(ChannelHandlerContext ctx,
int streamId,
Http2Headers headers,
int padding,
boolean endStream,
ChannelPromise promise) |
ChannelFuture |
DefaultHttp2ConnectionEncoder.writeHeaders(ChannelHandlerContext ctx,
int streamId,
Http2Headers headers,
int streamDependency,
short weight,
boolean exclusive,
int padding,
boolean endOfStream,
ChannelPromise promise) |
ChannelFuture |
Http2OutboundFrameLogger.writeHeaders(ChannelHandlerContext ctx,
int streamId,
Http2Headers headers,
int streamDependency,
short weight,
boolean exclusive,
int padding,
boolean endStream,
ChannelPromise promise) |
ChannelFuture |
DefaultHttp2FrameWriter.writeHeaders(ChannelHandlerContext ctx,
int streamId,
Http2Headers headers,
int streamDependency,
short weight,
boolean exclusive,
int padding,
boolean endStream,
ChannelPromise promise) |
ChannelFuture |
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.
|
ChannelFuture |
CompressorHttp2ConnectionEncoder.writeHeaders(ChannelHandlerContext ctx,
int streamId,
Http2Headers headers,
int streamDependency,
short weight,
boolean exclusive,
int padding,
boolean endOfStream,
ChannelPromise promise) |
ChannelFuture |
DefaultHttp2ConnectionEncoder.writePing(ChannelHandlerContext ctx,
boolean ack,
ByteBuf data,
ChannelPromise promise) |
ChannelFuture |
Http2OutboundFrameLogger.writePing(ChannelHandlerContext ctx,
boolean ack,
ByteBuf data,
ChannelPromise promise) |
ChannelFuture |
DefaultHttp2FrameWriter.writePing(ChannelHandlerContext ctx,
boolean ack,
ByteBuf data,
ChannelPromise promise) |
ChannelFuture |
Http2FrameWriter.writePing(ChannelHandlerContext ctx,
boolean ack,
ByteBuf data,
ChannelPromise promise)
Writes a PING frame to the remote endpoint.
|
ChannelFuture |
DefaultHttp2ConnectionEncoder.writePriority(ChannelHandlerContext ctx,
int streamId,
int streamDependency,
short weight,
boolean exclusive,
ChannelPromise promise) |
ChannelFuture |
Http2OutboundFrameLogger.writePriority(ChannelHandlerContext ctx,
int streamId,
int streamDependency,
short weight,
boolean exclusive,
ChannelPromise promise) |
ChannelFuture |
DefaultHttp2FrameWriter.writePriority(ChannelHandlerContext ctx,
int streamId,
int streamDependency,
short weight,
boolean exclusive,
ChannelPromise promise) |
ChannelFuture |
Http2FrameWriter.writePriority(ChannelHandlerContext ctx,
int streamId,
int streamDependency,
short weight,
boolean exclusive,
ChannelPromise promise)
Writes a PRIORITY frame to the remote endpoint.
|
ChannelFuture |
DefaultHttp2ConnectionEncoder.writePushPromise(ChannelHandlerContext ctx,
int streamId,
int promisedStreamId,
Http2Headers headers,
int padding,
ChannelPromise promise) |
ChannelFuture |
Http2OutboundFrameLogger.writePushPromise(ChannelHandlerContext ctx,
int streamId,
int promisedStreamId,
Http2Headers headers,
int padding,
ChannelPromise promise) |
ChannelFuture |
DefaultHttp2FrameWriter.writePushPromise(ChannelHandlerContext ctx,
int streamId,
int promisedStreamId,
Http2Headers headers,
int padding,
ChannelPromise promise) |
ChannelFuture |
Http2FrameWriter.writePushPromise(ChannelHandlerContext ctx,
int streamId,
int promisedStreamId,
Http2Headers headers,
int padding,
ChannelPromise promise)
Writes a PUSH_PROMISE frame to the remote endpoint.
|
ChannelFuture |
DefaultHttp2ConnectionEncoder.writeRstStream(ChannelHandlerContext ctx,
int streamId,
long errorCode,
ChannelPromise promise) |
ChannelFuture |
Http2OutboundFrameLogger.writeRstStream(ChannelHandlerContext ctx,
int streamId,
long errorCode,
ChannelPromise promise) |
ChannelFuture |
Http2LifecycleManager.writeRstStream(ChannelHandlerContext ctx,
int streamId,
long errorCode,
ChannelPromise promise)
Writes a
RST_STREAM frame to the remote endpoint and updates the connection state
appropriately. |
ChannelFuture |
DefaultHttp2FrameWriter.writeRstStream(ChannelHandlerContext ctx,
int streamId,
long errorCode,
ChannelPromise promise) |
ChannelFuture |
Http2FrameWriter.writeRstStream(ChannelHandlerContext ctx,
int streamId,
long errorCode,
ChannelPromise promise)
Writes a RST_STREAM frame to the remote endpoint.
|
ChannelFuture |
Http2ConnectionHandler.writeRstStream(ChannelHandlerContext ctx,
int streamId,
long errorCode,
ChannelPromise promise)
Writes a
RST_STREAM frame to the remote endpoint and updates the connection state appropriately. |
ChannelFuture |
DefaultHttp2ConnectionEncoder.writeRstStream(ChannelHandlerContext ctx,
int streamId,
long errorCode,
ChannelPromise promise,
boolean writeIfNoStream)
Writes a RST_STREAM frame to the remote endpoint.
|
ChannelFuture |
DefaultHttp2ConnectionEncoder.writeSettings(ChannelHandlerContext ctx,
Http2Settings settings,
ChannelPromise promise) |
ChannelFuture |
Http2OutboundFrameLogger.writeSettings(ChannelHandlerContext ctx,
Http2Settings settings,
ChannelPromise promise) |
ChannelFuture |
DefaultHttp2FrameWriter.writeSettings(ChannelHandlerContext ctx,
Http2Settings settings,
ChannelPromise promise) |
ChannelFuture |
Http2FrameWriter.writeSettings(ChannelHandlerContext ctx,
Http2Settings settings,
ChannelPromise promise)
Writes a SETTINGS frame to the remote endpoint.
|
ChannelFuture |
DefaultHttp2ConnectionEncoder.writeSettingsAck(ChannelHandlerContext ctx,
ChannelPromise promise) |
ChannelFuture |
Http2OutboundFrameLogger.writeSettingsAck(ChannelHandlerContext ctx,
ChannelPromise promise) |
ChannelFuture |
DefaultHttp2FrameWriter.writeSettingsAck(ChannelHandlerContext ctx,
ChannelPromise promise) |
ChannelFuture |
Http2FrameWriter.writeSettingsAck(ChannelHandlerContext ctx,
ChannelPromise promise)
Writes a SETTINGS acknowledgment to the remote endpoint.
|
ChannelFuture |
DefaultHttp2ConnectionEncoder.writeWindowUpdate(ChannelHandlerContext ctx,
int streamId,
int windowSizeIncrement,
ChannelPromise promise) |
ChannelFuture |
Http2OutboundFrameLogger.writeWindowUpdate(ChannelHandlerContext ctx,
int streamId,
int windowSizeIncrement,
ChannelPromise promise) |
ChannelFuture |
DefaultHttp2FrameWriter.writeWindowUpdate(ChannelHandlerContext ctx,
int streamId,
int windowSizeIncrement,
ChannelPromise promise) |
ChannelFuture |
Http2FrameWriter.writeWindowUpdate(ChannelHandlerContext ctx,
int streamId,
int windowSizeIncrement,
ChannelPromise promise)
Writes a WINDOW_UPDATE frame to the remote endpoint.
|
Constructor and Description |
---|
DefaultHttp2ConnectionEncoder.FlowControlledBase(ChannelHandlerContext ctx,
Http2Stream stream,
int padding,
boolean endOfStream,
ChannelPromise promise) |
Modifier and Type | Method and Description |
---|---|
void |
SpdySessionHandler.close(ChannelHandlerContext ctx,
ChannelPromise promise) |
void |
SpdySessionHandler.write(ChannelHandlerContext ctx,
Object msg,
ChannelPromise promise) |
void |
SpdyFrameCodec.write(ChannelHandlerContext ctx,
Object msg,
ChannelPromise promise) |
Modifier and Type | Method and Description |
---|---|
void |
LoggingHandler.bind(ChannelHandlerContext ctx,
SocketAddress localAddress,
ChannelPromise promise) |
void |
LoggingHandler.close(ChannelHandlerContext ctx,
ChannelPromise promise) |
void |
LoggingHandler.connect(ChannelHandlerContext ctx,
SocketAddress remoteAddress,
SocketAddress localAddress,
ChannelPromise promise) |
void |
LoggingHandler.deregister(ChannelHandlerContext ctx,
ChannelPromise promise) |
void |
LoggingHandler.disconnect(ChannelHandlerContext ctx,
ChannelPromise promise) |
void |
LoggingHandler.write(ChannelHandlerContext ctx,
Object msg,
ChannelPromise promise) |
Modifier and Type | Method and Description |
---|---|
void |
ProxyHandler.connect(ChannelHandlerContext ctx,
SocketAddress remoteAddress,
SocketAddress localAddress,
ChannelPromise promise) |
void |
ProxyHandler.write(ChannelHandlerContext ctx,
Object msg,
ChannelPromise promise) |
Modifier and Type | Method and Description |
---|---|
void |
SslHandler.close(ChannelHandlerContext ctx,
ChannelPromise promise) |
ChannelFuture |
SslHandler.close(ChannelPromise future)
|
void |
SslHandler.disconnect(ChannelHandlerContext ctx,
ChannelPromise promise) |
void |
SslHandler.write(ChannelHandlerContext ctx,
Object msg,
ChannelPromise promise) |
Modifier and Type | Method and Description |
---|---|
void |
ChunkedWriteHandler.write(ChannelHandlerContext ctx,
Object msg,
ChannelPromise promise) |
Modifier and Type | Method and Description |
---|---|
void |
IdleStateHandler.write(ChannelHandlerContext ctx,
Object msg,
ChannelPromise promise) |
void |
WriteTimeoutHandler.write(ChannelHandlerContext ctx,
Object msg,
ChannelPromise promise) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractTrafficShapingHandler.submitWrite(ChannelHandlerContext ctx,
Object msg,
long delay,
ChannelPromise promise)
Deprecated.
|
protected void |
GlobalChannelTrafficShapingHandler.submitWrite(ChannelHandlerContext ctx,
Object msg,
long size,
long writedelay,
long now,
ChannelPromise promise) |
void |
GlobalChannelTrafficShapingHandler.write(ChannelHandlerContext ctx,
Object msg,
ChannelPromise promise) |
void |
AbstractTrafficShapingHandler.write(ChannelHandlerContext ctx,
Object msg,
ChannelPromise promise) |
Copyright © 2008–2015 The Netty Project. All rights reserved.