| Package | Description | 
|---|---|
| io.netty.bootstrap | The helper classes with fluent API which enable an easy implementation of
 typical client side and server side channel initialization. | 
| io.netty.channel | The core channel API which is asynchronous and event-driven abstraction of
 various transports such as a
 NIO Channel. | 
| io.netty.channel.embedded | A virtual  Channelthat helps wrapping a series of handlers to
 unit test the handlers or use them in non-I/O context. | 
| io.netty.channel.epoll | Optimized transport for linux which uses EPOLL Edge-Triggered Mode
 for maximal performance. | 
| io.netty.channel.group | A channel registry which helps a user maintain the list of open
  Channels and perform bulk operations on them. | 
| io.netty.channel.local | A virtual transport that enables the communication between the two
 parties in the same virtual machine. | 
| io.netty.channel.nio | NIO-based channel
 API implementation - recommended for a large number of connections (>= 1000). | 
| io.netty.channel.oio | Old blocking I/O based channel API implementation - recommended for
 a small number of connections (< 1000). | 
| io.netty.channel.rxtx | A serial and parallel port communication transport based on RXTX. | 
| io.netty.channel.sctp | Abstract SCTP socket interfaces which extend the core channel API. | 
| io.netty.channel.sctp.nio | NIO-based SCTP Channel
 API implementation - recommended for a large number of connections (>= 1000). | 
| io.netty.channel.sctp.oio | Old blocking I/O based SCTP channel API implementation - recommended for
 a small number of connections (< 1000). | 
| io.netty.channel.socket | Abstract TCP and UDP socket interfaces which extend the core channel API. | 
| io.netty.channel.socket.nio | NIO-based socket channel
 API implementation - recommended for a large number of connections (>= 1000). | 
| io.netty.channel.socket.oio | Old blocking I/O based socket channel API implementation - recommended for
 a small number of connections (< 1000). | 
| io.netty.channel.udt | UDT Transport. | 
| io.netty.channel.udt.nio | UDT Transport for NIO Channels. | 
| io.netty.channel.unix | Unix specific transport. | 
| io.netty.handler.codec.http.websocketx | Encoder, decoder, handshakers and their related message types for
 Web Socket data frames. | 
| io.netty.handler.proxy | Adds support for client connections via proxy protocols such as
 SOCKS and
 HTTP CONNECT tunneling | 
| io.netty.handler.ssl | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractBootstrap<B extends AbstractBootstrap<B,C>,C extends Channel>AbstractBootstrapis a helper class that makes it easy to bootstrap aChannel. | 
| interface  | ChannelFactory<T extends Channel>Deprecated. 
 Use  ChannelFactoryinstead. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | ChannelFactory<T extends Channel>Creates a new  Channel. | 
| class  | ChannelInitializer<C extends Channel>A special  ChannelHandlerwhich offers an easy way to initialize aChannelonce it was
 registered to itsEventLoop. | 
| class  | ReflectiveChannelFactory<T extends Channel>A  ChannelFactorythat instantiates a newChannelby invoking its default constructor reflectively. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | ServerChannel | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractChannelA skeletal  Channelimplementation. | 
| class  | AbstractServerChannelA skeletal server-side  Channelimplementation. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Channel | DefaultChannelConfig. channel | 
| Modifier and Type | Method and Description | 
|---|---|
| Channel | ChannelPipeline. channel()Returns the  Channelthat this pipeline is attached to. | 
| Channel | DefaultChannelProgressivePromise. channel() | 
| Channel | ChannelPromise. channel() | 
| Channel | ChannelFuture. channel()Returns a channel where the I/O operation associated with this
 future takes place. | 
| Channel | ChannelHandlerContext. channel()Return the  Channelwhich is bound to theChannelHandlerContext. | 
| Channel | DefaultChannelPromise. channel() | 
| Channel | Channel. flush()Request to flush all pending messages. | 
| Channel | AbstractChannel. flush() | 
| Channel | Channel. parent()Returns the parent of this channel. | 
| Channel | AbstractChannel. parent() | 
| Channel | Channel. read()Request to Read data from the  Channelinto the first inbound buffer, triggers anChannelHandler.channelRead(ChannelHandlerContext, Object)event if data was
 read, and triggers achannelReadCompleteevent so the
 handler can decide to continue reading. | 
| Channel | AbstractChannel. read() | 
| Modifier and Type | Method and Description | 
|---|---|
| int | AbstractChannel. compareTo(Channel o) | 
| ChannelFuture | ThreadPerChannelEventLoopGroup. register(Channel channel) | 
| ChannelFuture | MultithreadEventLoopGroup. register(Channel channel) | 
| ChannelFuture | EventLoopGroup. register(Channel channel) | 
| ChannelFuture | SingleThreadEventLoop. register(Channel channel) | 
| 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) | 
| Constructor and Description | 
|---|
| AbstractChannel(Channel parent)Creates a new instance. | 
| AbstractChannel(Channel parent,
               ChannelId id)Creates a new instance. | 
| DefaultChannelConfig(Channel channel) | 
| DefaultChannelProgressivePromise(Channel channel)Creates a new instance. | 
| DefaultChannelProgressivePromise(Channel channel,
                                EventExecutor executor)Creates a new instance. | 
| DefaultChannelPromise(Channel channel)Creates a new instance. | 
| DefaultChannelPromise(Channel channel,
                     EventExecutor executor)Creates a new instance. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | EmbeddedChannelBase class for  Channelimplementations that are used in an embedded fashion. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractEpollServerChannel | 
| class  | AbstractEpollStreamChannel | 
| class  | EpollDatagramChannelDatagramChannelimplementation that uses linux EPOLL Edge-Triggered Mode for
 maximal performance. | 
| class  | EpollDomainSocketChannel | 
| class  | EpollServerDomainSocketChannel | 
| class  | EpollServerSocketChannelServerSocketChannelimplementation that uses linux EPOLL Edge-Triggered Mode for
 maximal performance. | 
| class  | EpollSocketChannelSocketChannelimplementation that uses linux EPOLL Edge-Triggered Mode for
 maximal performance. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Channel | EpollServerDomainSocketChannel. newChildChannel(int fd,
               byte[] addr,
               int offset,
               int len) | 
| protected Channel | EpollServerSocketChannel. newChildChannel(int fd,
               byte[] address,
               int offset,
               int len) | 
| Constructor and Description | 
|---|
| AbstractEpollStreamChannel(Channel parent,
                          int fd) | 
| EpollDomainSocketChannel(Channel parent,
                        FileDescriptor fd) | 
| Modifier and Type | Method and Description | 
|---|---|
| Channel | ChannelGroup. find(ChannelId id) | 
| Channel | DefaultChannelGroup. find(ChannelId id) | 
| Modifier and Type | Method and Description | 
|---|---|
| Iterator<Map.Entry<Channel,Throwable>> | ChannelGroupException. iterator() | 
| Iterator<Channel> | DefaultChannelGroup. iterator() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | DefaultChannelGroup. add(Channel channel) | 
| ChannelFuture | ChannelGroupFuture. find(Channel channel)Returns the  ChannelFutureof the individual I/O operation which
 is associated with the specifiedChannel. | 
| static ChannelMatcher | ChannelMatchers. is(Channel channel)Returns a  ChannelMatcherthat matches the givenChannel. | 
| static ChannelMatcher | ChannelMatchers. isNot(Channel channel)Returns a  ChannelMatcherthat matches allChannels except the given. | 
| boolean | ChannelMatcher. matches(Channel channel)Returns  trueif the operation should be also executed on the givenChannel. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ChannelMatcher | ChannelMatchers. isInstanceOf(Class<? extends Channel> clazz)Returns a  ChannelMatcherthat matches allChannels that are an instance of sub-type of
 the given class. | 
| static ChannelMatcher | ChannelMatchers. isNotInstanceOf(Class<? extends Channel> clazz)Returns a  ChannelMatcherthat matches allChannels that are not an
 instance of sub-type of the given class. | 
| Constructor and Description | 
|---|
| ChannelGroupException(Collection<Map.Entry<Channel,Throwable>> causes) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | LocalChannelA  Channelfor the local transport. | 
| class  | LocalServerChannelA  ServerChannelfor the local transport which allows in VM communication. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractNioByteChannelAbstractNioChannelbase class forChannels that operate on bytes. | 
| class  | AbstractNioChannelAbstract base class for  Channelimplementations which use a Selector based approach. | 
| class  | AbstractNioMessageChannelAbstractNioChannelbase class forChannels that operate on messages. | 
| Constructor and Description | 
|---|
| AbstractNioByteChannel(Channel parent,
                      SelectableChannel ch)Create a new instance | 
| AbstractNioChannel(Channel parent,
                  SelectableChannel ch,
                  int readInterestOp)Create a new instance | 
| AbstractNioMessageChannel(Channel parent,
                         SelectableChannel ch,
                         int readInterestOp) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractOioByteChannelAbstract base class for OIO which reads and writes bytes from/to a Socket | 
| class  | AbstractOioChannelAbstract base class for  Channelimplementations that use Old-Blocking-IO | 
| class  | AbstractOioMessageChannelAbstract base class for OIO which reads and writes objects from/to a Socket | 
| class  | OioByteStreamChannelAbstract base class for OIO Channels that are based on streams. | 
| Constructor and Description | 
|---|
| AbstractOioByteChannel(Channel parent) | 
| AbstractOioChannel(Channel parent) | 
| AbstractOioMessageChannel(Channel parent) | 
| OioByteStreamChannel(Channel parent)Create a new instance | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | RxtxChannelA channel to a serial device using the RXTX library. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | SctpChannelA SCTP/IP   Channelinterface for single SCTP association. | 
| interface  | SctpServerChannelA SCTP/IP  ServerChannelwhich accepts incoming SCTP/IP associations. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | NioSctpChannelSctpChannelimplementation which use non-blocking mode and allows to read /
 writeSctpMessages to the underlyingSctpChannel. | 
| class  | NioSctpServerChannelSctpServerChannelimplementation which use non-blocking mode to accept new
 connections and create theNioSctpChannelfor them. | 
| Constructor and Description | 
|---|
| NioSctpChannel(Channel parent,
              com.sun.nio.sctp.SctpChannel sctpChannel)Create a new instance | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | OioSctpChannelSctpChannelimplementation which use blocking mode and allows to read / writeSctpMessages to the underlyingSctpChannel. | 
| class  | OioSctpServerChannelSctpServerChannelimplementation which use blocking mode to accept new
 connections and create theOioSctpChannelfor them. | 
| Constructor and Description | 
|---|
| OioSctpChannel(Channel parent,
              com.sun.nio.sctp.SctpChannel ch)Create a new instance from the given  SctpChannel. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | DatagramChannelA UDP/IP  Channel}. | 
| interface  | ServerSocketChannelA TCP/IP  ServerChannelwhich accepts incoming TCP/IP connections. | 
| interface  | SocketChannelA TCP/IP socket  Channel. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | NioDatagramChannelAn NIO datagram  Channelthat sends and receives anAddressedEnvelope. | 
| class  | NioServerSocketChannelA  ServerSocketChannelimplementation which uses
 NIO selector based implementation to accept new connections. | 
| class  | NioSocketChannelSocketChannelwhich uses NIO selector based implementation. | 
| Constructor and Description | 
|---|
| NioSocketChannel(Channel parent,
                SocketChannel socket)Create a new instance | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | OioDatagramChannelAn OIO datagram  Channelthat sends and receives anAddressedEnvelope. | 
| class  | OioServerSocketChannelServerSocketChannelwhich accepts new connections and create theOioSocketChannel's for them. | 
| class  | OioSocketChannelA  SocketChannelwhich is using Old-Blocking-IO | 
| Constructor and Description | 
|---|
| OioSocketChannel(Channel parent,
                Socket socket)Create a new instance from the given  Socket | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | UdtChannelUDT  Channel. | 
| interface  | UdtServerChannelUDT  ServerChannel. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | NioUdtAcceptorChannelCommon base for Netty Byte/Message UDT Stream/Datagram acceptors. | 
| class  | NioUdtByteAcceptorChannelByte Channel Acceptor for UDT Streams. | 
| class  | NioUdtByteConnectorChannelByte Channel Connector for UDT Streams. | 
| class  | NioUdtByteRendezvousChannelByte Channel Rendezvous for UDT Streams. | 
| class  | NioUdtMessageAcceptorChannelMessage Channel Acceptor for UDT Datagrams. | 
| class  | NioUdtMessageConnectorChannelMessage Connector for UDT Datagrams. | 
| class  | NioUdtMessageRendezvousChannelMessage Rendezvous for UDT Datagrams. | 
| Modifier and Type | Method and Description | 
|---|---|
| static com.barchart.udt.nio.ChannelUDT | NioUdtProvider. channelUDT(Channel channel)Expose underlying  ChannelUDTfor debugging and monitoring. | 
| static com.barchart.udt.SocketUDT | NioUdtProvider. socketUDT(Channel channel)Expose underlying  SocketUDTfor debugging and monitoring. | 
| Constructor and Description | 
|---|
| NioUdtByteConnectorChannel(Channel parent,
                          com.barchart.udt.nio.SocketChannelUDT channelUDT) | 
| NioUdtMessageConnectorChannel(Channel parent,
                             com.barchart.udt.nio.SocketChannelUDT channelUDT) | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | DomainSocketChannelA  UnixChannelthat supports communication via
 Unix Domain Socket. | 
| interface  | ServerDomainSocketChannel | 
| interface  | UnixChannelChannelthat expose operations that are only present onUNIXlike systems. | 
| Modifier and Type | Method and Description | 
|---|---|
| ChannelFuture | WebSocketServerHandshaker. close(Channel channel,
     CloseWebSocketFrame frame)Performs the closing handshake | 
| ChannelFuture | WebSocketClientHandshaker. close(Channel channel,
     CloseWebSocketFrame frame)Performs the closing handshake | 
| 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 | 
| void | WebSocketClientHandshaker. finishHandshake(Channel channel,
               FullHttpResponse response)Validates and finishes the opening handshake initiated by  WebSocketClientHandshaker.handshake(io.netty.channel.Channel)}. | 
| ChannelFuture | WebSocketClientHandshaker. handshake(Channel channel)Begins the opening handshake | 
| ChannelFuture | WebSocketClientHandshaker. handshake(Channel channel,
         ChannelPromise promise)Begins the opening handshake | 
| ChannelFuture | WebSocketServerHandshaker. handshake(Channel channel,
         FullHttpRequest req)Performs 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  FullHttpRequestwhich is passed in. | 
| ChannelFuture | WebSocketServerHandshaker. handshake(Channel channel,
         HttpRequest req)Performs the opening handshake. | 
| ChannelFuture | WebSocketServerHandshaker. handshake(Channel channel,
         HttpRequest req,
         HttpHeaders responseHeaders,
         ChannelPromise promise)Performs the opening handshake
 When call this method you MUST NOT retain the  HttpRequestwhich is passed in. | 
| ChannelFuture | WebSocketClientHandshaker. processHandshake(Channel channel,
                HttpResponse response)Process the opening handshake initiated by  WebSocketClientHandshaker.handshake(io.netty.channel.Channel)}. | 
| 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)Return that we need cannot not support the web socket version | 
| 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 | 
|---|---|
| Future<Channel> | ProxyHandler. connectFuture()Returns a  Futurethat is notified when the connection to the destination has been established
 or the connection attempt has failed. | 
| Modifier and Type | Method and Description | 
|---|---|
| Future<Channel> | SslHandler. handshakeFuture()Returns a  Futurethat will get notified once the current TLS handshake completes. | 
| Future<Channel> | SslHandler. renegotiate()Performs TLS renegotiation. | 
| Future<Channel> | SslHandler. renegotiate(Promise<Channel> promise)Performs TLS renegotiation. | 
| Future<Channel> | SslHandler. sslCloseFuture() | 
| Modifier and Type | Method and Description | 
|---|---|
| Future<Channel> | SslHandler. renegotiate(Promise<Channel> promise)Performs TLS renegotiation. | 
Copyright © 2008–2015 The Netty Project. All rights reserved.