| Package | Description | 
|---|---|
| org.jboss.netty.channel | The core channel API which is asynchronous and event-driven abstraction of
 various transports such as a
 NIO Channel. | 
| org.jboss.netty.channel.socket.nio | NIO-based socket channel
 API implementation - recommended for a large number of connections (>= 1000). | 
| org.jboss.netty.channel.socket.oio | Old blocking I/O based socket channel API implementation - recommended for
 a small number of connections (< 1000). | 
| org.jboss.netty.handler.codec.compression | Encoder and decoder which compresses and decompresses  ChannelBuffers
 in a compression format such as zlib
 and gzip. | 
| org.jboss.netty.handler.codec.http | Encoder, decoder and their related message types for HTTP. | 
| org.jboss.netty.handler.codec.oneone | Simplistic abstract classes which help implement encoder and decoder that
 transform an object into another object and vice versa. | 
| org.jboss.netty.handler.codec.spdy | Encoder, decoder, session handler and their related message types for the SPDY protocol. | 
| org.jboss.netty.handler.execution | Executor-based implementation of various
 thread models that separate business logic from I/O threads | 
| org.jboss.netty.handler.ipfilter | Implementation of a Ip based Filter handlers. | 
| org.jboss.netty.handler.logging | Logs a  ChannelEventfor debugging purpose
 using anInternalLogger. | 
| org.jboss.netty.handler.queue | The special-purpose handlers that store an event into an internal queue
 instead of propagating the event immediately. | 
| org.jboss.netty.handler.ssl | |
| org.jboss.netty.handler.stream | Writes very large data stream asynchronously neither spending a lot of
 memory nor getting  OutOfMemoryError. | 
| org.jboss.netty.handler.timeout | Adds support for read and write timeout and idle connection notification
 using a  Timer. | 
| org.jboss.netty.handler.traffic | Implementation of a Traffic Shaping Handler and Dynamic Statistics. | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | ChannelStateEventA  ChannelEventwhich represents the change of theChannelstate. | 
| interface  | ChildChannelStateEventA  ChannelEventwhich represents the notification of the state of
 a childChannel. | 
| interface  | ExceptionEventA  ChannelEventwhich represents the notification of an exception
 raised by aChannelHandleror an I/O thread. | 
| interface  | MessageEventA  ChannelEventwhich represents the transmission or reception of a
 message. | 
| interface  | WriteCompletionEventA  ChannelEventwhich represents the notification of the completion
 of a write request on aChannel. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DefaultChildChannelStateEventThe default  ChildChannelStateEventimplementation. | 
| class  | DefaultExceptionEventThe default  ExceptionEventimplementation. | 
| class  | DefaultWriteCompletionEventThe default  WriteCompletionEventimplementation. | 
| class  | DownstreamChannelStateEventThe default downstream  ChannelStateEventimplementation. | 
| class  | DownstreamMessageEventThe default downstream  MessageEventimplementation. | 
| class  | UpstreamChannelStateEventThe default upstream  ChannelStateEventimplementation. | 
| class  | UpstreamMessageEventThe default upstream  MessageEventimplementation. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ChannelSink. eventSunk(ChannelPipeline pipeline,
         ChannelEvent e)Invoked by  ChannelPipelinewhen a downstreamChannelEventhas reached its terminal (the head of the pipeline). | 
| void | ChannelSink. exceptionCaught(ChannelPipeline pipeline,
               ChannelEvent e,
               ChannelPipelineException cause)Invoked by  ChannelPipelinewhen an exception was raised while
 one of itsChannelHandlers process aChannelEvent. | 
| void | AbstractChannelSink. exceptionCaught(ChannelPipeline pipeline,
               ChannelEvent event,
               ChannelPipelineException cause)Sends an  ExceptionEventupstream with the specifiedcause. | 
| void | SimpleChannelHandler. handleDownstream(ChannelHandlerContext ctx,
                ChannelEvent e)Handles the specified downstream event. | 
| void | SimpleChannelDownstreamHandler. handleDownstream(ChannelHandlerContext ctx,
                ChannelEvent e)Handles the specified downstream event. | 
| void | ChannelDownstreamHandler. handleDownstream(ChannelHandlerContext ctx,
                ChannelEvent e)Handles the specified downstream event. | 
| void | SimpleChannelUpstreamHandler. handleUpstream(ChannelHandlerContext ctx,
              ChannelEvent e)Handles the specified upstream event. | 
| void | SimpleChannelHandler. handleUpstream(ChannelHandlerContext ctx,
              ChannelEvent e)Handles the specified upstream event. | 
| void | ChannelUpstreamHandler. handleUpstream(ChannelHandlerContext ctx,
              ChannelEvent e)Handles the specified upstream event. | 
| protected boolean | AbstractChannelSink. isFireExceptionCaughtLater(ChannelEvent event,
                          Throwable actualCause)Returns  trueif and only if the specifiedactualCause, which was raised while
 handling the specifiedevent, must trigger anexceptionCaught()event in
 an I/O thread. | 
| protected void | StaticChannelPipeline. notifyHandlerException(ChannelEvent e,
                      Throwable t)Deprecated.  | 
| protected void | DefaultChannelPipeline. notifyHandlerException(ChannelEvent e,
                      Throwable t) | 
| void | StaticChannelPipeline. sendDownstream(ChannelEvent e)Deprecated.  | 
| void | DefaultChannelPipeline. sendDownstream(ChannelEvent e) | 
| void | ChannelPipeline. sendDownstream(ChannelEvent e)Sends the specified  ChannelEventto the lastChannelDownstreamHandlerin this pipeline. | 
| void | ChannelHandlerContext. sendDownstream(ChannelEvent e)Sends the specified  ChannelEventto theChannelDownstreamHandlerwhich is placed in the closest
 downstream from the handler associated with this context. | 
| void | StaticChannelPipeline. sendUpstream(ChannelEvent e)Deprecated.  | 
| void | DefaultChannelPipeline. sendUpstream(ChannelEvent e) | 
| void | ChannelPipeline. sendUpstream(ChannelEvent e)Sends the specified  ChannelEventto the firstChannelUpstreamHandlerin this pipeline. | 
| void | ChannelHandlerContext. sendUpstream(ChannelEvent e)Sends the specified  ChannelEventto theChannelUpstreamHandlerwhich is placed in the closest upstream
 from the handler associated with this context. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected boolean | AbstractNioChannelSink. isFireExceptionCaughtLater(ChannelEvent event,
                          Throwable actualCause) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected boolean | AbstractOioChannelSink. isFireExceptionCaughtLater(ChannelEvent event,
                          Throwable actualCause) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ZlibEncoder. handleDownstream(ChannelHandlerContext ctx,
                ChannelEvent evt) | 
| void | JdkZlibEncoder. handleDownstream(ChannelHandlerContext ctx,
                ChannelEvent evt) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | HttpServerCodec. handleDownstream(ChannelHandlerContext ctx,
                ChannelEvent e) | 
| void | HttpClientCodec. handleDownstream(ChannelHandlerContext ctx,
                ChannelEvent e) | 
| void | HttpServerCodec. handleUpstream(ChannelHandlerContext ctx,
              ChannelEvent e) | 
| void | HttpClientCodec. handleUpstream(ChannelHandlerContext ctx,
              ChannelEvent e) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | OneToOneEncoder. handleDownstream(ChannelHandlerContext ctx,
                ChannelEvent evt) | 
| void | OneToOneDecoder. handleUpstream(ChannelHandlerContext ctx,
              ChannelEvent evt) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | SpdySessionHandler. handleDownstream(ChannelHandlerContext ctx,
                ChannelEvent evt) | 
| void | SpdyHttpEncoder. handleDownstream(ChannelHandlerContext ctx,
                ChannelEvent evt) | 
| void | SpdyHttpCodec. handleDownstream(ChannelHandlerContext ctx,
                ChannelEvent e) | 
| void | SpdyFrameEncoder. handleDownstream(ChannelHandlerContext ctx,
                ChannelEvent evt) | 
| void | SpdyFrameCodec. handleDownstream(ChannelHandlerContext ctx,
                ChannelEvent e) | 
| void | SpdyOrHttpChooser. handleUpstream(ChannelHandlerContext ctx,
              ChannelEvent e) | 
| void | SpdyHttpCodec. handleUpstream(ChannelHandlerContext ctx,
              ChannelEvent e) | 
| void | SpdyFrameCodec. handleUpstream(ChannelHandlerContext ctx,
              ChannelEvent e) | 
| Modifier and Type | Field and Description | 
|---|---|
| protected ChannelEvent | ChannelEventRunnable. e | 
| Modifier and Type | Method and Description | 
|---|---|
| ChannelEvent | ChannelEventRunnable. getEvent()Returns the  ChannelEventwhich will be sent upstream. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Executor | OrderedMemoryAwareThreadPoolExecutor. getChildExecutor(ChannelEvent e) | 
| protected Executor | OrderedDownstreamThreadPoolExecutor. getChildExecutor(ChannelEvent e) | 
| protected Object | OrderedMemoryAwareThreadPoolExecutor. getChildExecutorKey(ChannelEvent e) | 
| void | ExecutionHandler. handleDownstream(ChannelHandlerContext ctx,
                ChannelEvent e) | 
| protected boolean | ExecutionHandler. handleReadSuspend(ChannelHandlerContext ctx,
                 ChannelEvent e)Handle suspended reads | 
| void | ExecutionHandler. handleUpstream(ChannelHandlerContext context,
              ChannelEvent e) | 
| Constructor and Description | 
|---|
| ChannelDownstreamEventRunnable(ChannelHandlerContext ctx,
                              ChannelEvent e,
                              Executor executor) | 
| ChannelEventRunnable(ChannelHandlerContext ctx,
                    ChannelEvent e,
                    Executor executor)Creates a  Runnablewhich sends the specifiedChannelEventupstream via the specifiedChannelHandlerContext. | 
| ChannelUpstreamEventRunnable(ChannelHandlerContext ctx,
                            ChannelEvent e,
                            Executor executor)Creates a  Runnablewhich sends the specifiedChannelEventupstream via the specifiedChannelHandlerContext. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected boolean | OneIpFilterHandler. accept(ChannelHandlerContext ctx,
      ChannelEvent e,
      InetSocketAddress inetSocketAddress) | 
| protected boolean | IpFilterRuleHandler. accept(ChannelHandlerContext ctx,
      ChannelEvent e,
      InetSocketAddress inetSocketAddress) | 
| protected abstract boolean | IpFilteringHandlerImpl. accept(ChannelHandlerContext ctx,
      ChannelEvent e,
      InetSocketAddress inetSocketAddress)Called when the channel is connected. | 
| ChannelFuture | IpFilterListener. allowed(ChannelHandlerContext ctx,
       ChannelEvent e,
       InetSocketAddress inetSocketAddress)Called when the channel has the CONNECTED status and the channel was allowed by a previous call to accept(). | 
| boolean | IpFilterListener. continues(ChannelHandlerContext ctx,
         ChannelEvent e)Called in handleUpstream, if this channel was previously blocked,
 to check if whatever the event, it should be passed to the next entry in the pipeline. | 
| protected boolean | IpFilteringHandlerImpl. continues(ChannelHandlerContext ctx,
         ChannelEvent e)Called in handleUpstream, if this channel was previously blocked,
 to check if whatever the event, it should be passed to the next entry in the pipeline. | 
| protected ChannelFuture | IpFilteringHandlerImpl. handleAllowedChannel(ChannelHandlerContext ctx,
                    ChannelEvent e,
                    InetSocketAddress inetSocketAddress) | 
| protected ChannelFuture | IpFilteringHandlerImpl. handleRefusedChannel(ChannelHandlerContext ctx,
                    ChannelEvent e,
                    InetSocketAddress inetSocketAddress)Called when the channel has the CONNECTED status and the channel was refused by a previous call to accept(). | 
| void | OneIpFilterHandler. handleUpstream(ChannelHandlerContext ctx,
              ChannelEvent e) | 
| void | IpFilteringHandlerImpl. handleUpstream(ChannelHandlerContext ctx,
              ChannelEvent e) | 
| ChannelFuture | IpFilterListener. refused(ChannelHandlerContext ctx,
       ChannelEvent e,
       InetSocketAddress inetSocketAddress)Called when the channel has the CONNECTED status and the channel was refused by a previous call to accept(). | 
| Modifier and Type | Method and Description | 
|---|---|
| void | LoggingHandler. handleDownstream(ChannelHandlerContext ctx,
                ChannelEvent e) | 
| void | LoggingHandler. handleUpstream(ChannelHandlerContext ctx,
              ChannelEvent e) | 
| void | LoggingHandler. log(ChannelEvent e)Logs the specified event to the  InternalLoggerreturned byLoggingHandler.getLogger(). | 
| Modifier and Type | Method and Description | 
|---|---|
| ChannelEvent | BlockingReadHandler. readEvent()Waits until a new  ChannelEventis received or the associatedChannelis closed. | 
| ChannelEvent | BlockingReadHandler. readEvent(long timeout,
         TimeUnit unit)Waits until a new  ChannelEventis received or the associatedChannelis closed. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected BlockingQueue<ChannelEvent> | BlockingReadHandler. getQueue()Returns the queue which stores the received messages. | 
| Constructor and Description | 
|---|
| BlockingReadHandler(BlockingQueue<ChannelEvent> queue)Creates a new instance with the specified  BlockingQueue. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | SslHandler. handleDownstream(ChannelHandlerContext context,
                ChannelEvent evt) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ChunkedWriteHandler. handleDownstream(ChannelHandlerContext ctx,
                ChannelEvent e) | 
| void | ChunkedWriteHandler. handleUpstream(ChannelHandlerContext ctx,
              ChannelEvent e) | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | IdleStateEventA  ChannelEventthat is triggered when aChannelhas been idle
 for a while. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DefaultIdleStateEventThe default  IdleStateEventimplementation. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | IdleStateAwareChannelUpstreamHandler. handleUpstream(ChannelHandlerContext ctx,
              ChannelEvent e) | 
| void | IdleStateAwareChannelHandler. handleUpstream(ChannelHandlerContext ctx,
              ChannelEvent e) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | AbstractTrafficShapingHandler. handleDownstream(ChannelHandlerContext ctx,
                ChannelEvent e) | 
Copyright © 2008-2014 The Netty Project. All Rights Reserved.