## Uses of Interface
org.jboss.netty.channel.ChannelHandlerContext

- Packages that use ChannelHandlerContext
  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.handler.codec.base64 | Encoder and decoder which transform a Base64-encoded `String` or `ChannelBuffer` into a decoded `ChannelBuffer` and vice versa.
  org.jboss.netty.handler.codec.compression | Encoder and decoder which compresses and decompresses `ChannelBuffer`s in a compression format such as zlib and gzip.
  org.jboss.netty.handler.codec.frame | 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.
  org.jboss.netty.handler.codec.http | Encoder, decoder and their related message types for HTTP.
  org.jboss.netty.handler.codec.http.websocket |
  org.jboss.netty.handler.codec.http.websocketx | Encoder, decoder, handshakers and their related message types for Web Socket data frames.
  org.jboss.netty.handler.codec.marshalling | Decoder and Encoder which uses JBoss Marshalling.
  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.protobuf | Encoder and decoder which transform a Google Protocol Buffers `Message` into a `ChannelBuffer` and vice versa.
  org.jboss.netty.handler.codec.replay | Specialized variation of `FrameDecoder` which enables implementation of a non-blocking decoder in the blocking I/O paradigm.
  org.jboss.netty.handler.codec.rtsp | An RTSP extension based on the HTTP codec.
  org.jboss.netty.handler.codec.serialization | Encoder, decoder and their compatibility stream implementations which transform a `Serializable` object into a byte buffer 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.codec.string | Encoder and decoder which transform a `String` into a `ChannelBuffer` and vice versa.
  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 `ChannelEvent` for debugging purpose using an `InternalLogger`.
  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 | SSL · TLS implementation based on `SSLEngine`
  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.

- - ### Uses of ChannelHandlerContext in org.jboss.netty.channel

    Methods in org.jboss.netty.channel that return ChannelHandlerContext
    Modifier and Type | Method and Description
    --- | ---
    `ChannelHandlerContext` | StaticChannelPipeline.`getContext(ChannelHandler handler)` Deprecated.
    `ChannelHandlerContext` | ChannelPipeline.`getContext(ChannelHandler handler)` Returns the context object of the specified `ChannelHandler` in this pipeline.
    `ChannelHandlerContext` | DefaultChannelPipeline.`getContext(ChannelHandler handler)`
    `ChannelHandlerContext` | StaticChannelPipeline.`getContext(Class<? extends ChannelHandler> handlerType)` Deprecated.
    `ChannelHandlerContext` | ChannelPipeline.`getContext(Class<? extends ChannelHandler> handlerType)` Returns the context object of the `ChannelHandler` of the specified type in this pipeline.
    `ChannelHandlerContext` | DefaultChannelPipeline.`getContext(Class<? extends ChannelHandler> handlerType)`
    `ChannelHandlerContext` | StaticChannelPipeline.`getContext(String name)` Deprecated.
    `ChannelHandlerContext` | ChannelPipeline.`getContext(String name)` Returns the context object of the `ChannelHandler` with the specified name in this pipeline.
    `ChannelHandlerContext` | DefaultChannelPipeline.`getContext(String name)`

    Methods in org.jboss.netty.channel with parameters of type ChannelHandlerContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | LifeCycleAwareChannelHandler.`afterAdd(ChannelHandlerContext ctx)`
    `void` | LifeCycleAwareChannelHandler.`afterRemove(ChannelHandlerContext ctx)`
    `void` | LifeCycleAwareChannelHandler.`beforeAdd(ChannelHandlerContext ctx)`
    `void` | LifeCycleAwareChannelHandler.`beforeRemove(ChannelHandlerContext ctx)`
    `static void` | Channels.`bind(ChannelHandlerContext ctx, ChannelFuture future, SocketAddress localAddress)` Sends a `"bind"` request to the `ChannelDownstreamHandler` which is placed in the closest downstream from the handler associated with the specified `ChannelHandlerContext`.
    `void` | SimpleChannelHandler.`bindRequested(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when `Channel.bind(SocketAddress)` was called.
    `void` | SimpleChannelDownstreamHandler.`bindRequested(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when `Channel.bind(SocketAddress)` was called.
    `void` | SimpleChannelHandler.`channelBound(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when a `Channel` is open and bound to a local address, but not connected.
    `void` | SimpleChannelUpstreamHandler.`channelBound(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when a `Channel` is open and bound to a local address, but not connected.
    `void` | SimpleChannelHandler.`channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when a `Channel` was closed and all its related resources were released.
    `void` | SimpleChannelUpstreamHandler.`channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when a `Channel` was closed and all its related resources were released.
    `void` | SimpleChannelHandler.`channelConnected(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when a `Channel` is open, bound to a local address, and connected to a remote address.
    `void` | SimpleChannelUpstreamHandler.`channelConnected(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when a `Channel` is open, bound to a local address, and connected to a remote address.
    `void` | SimpleChannelHandler.`channelDisconnected(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when a `Channel` was disconnected from its remote peer.
    `void` | SimpleChannelUpstreamHandler.`channelDisconnected(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when a `Channel` was disconnected from its remote peer.
    `void` | SimpleChannelHandler.`channelInterestChanged(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when a `Channel`'s `interestOps` was changed.
    `void` | SimpleChannelUpstreamHandler.`channelInterestChanged(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when a `Channel`'s `interestOps` was changed.
    `void` | SimpleChannelHandler.`channelOpen(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when a `Channel` is open, but not bound nor connected.
    `void` | SimpleChannelUpstreamHandler.`channelOpen(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when a `Channel` is open, but not bound nor connected.
    `void` | SimpleChannelHandler.`channelUnbound(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when a `Channel` was unbound from the current local address.
    `void` | SimpleChannelUpstreamHandler.`channelUnbound(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when a `Channel` was unbound from the current local address.
    `void` | SimpleChannelHandler.`childChannelClosed(ChannelHandlerContext ctx, ChildChannelStateEvent e)` Invoked when a child `Channel` was closed.
    `void` | SimpleChannelUpstreamHandler.`childChannelClosed(ChannelHandlerContext ctx, ChildChannelStateEvent e)` Invoked when a child `Channel` was closed.
    `void` | SimpleChannelHandler.`childChannelOpen(ChannelHandlerContext ctx, ChildChannelStateEvent e)` Invoked when a child `Channel` was open.
    `void` | SimpleChannelUpstreamHandler.`childChannelOpen(ChannelHandlerContext ctx, ChildChannelStateEvent e)` Invoked when a child `Channel` was open.
    `static void` | Channels.`close(ChannelHandlerContext ctx, ChannelFuture future)` Sends a `"close"` request to the `ChannelDownstreamHandler` which is placed in the closest downstream from the handler associated with the specified `ChannelHandlerContext`.
    `void` | SimpleChannelHandler.`closeRequested(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when `Channel.close()` was called.
    `void` | SimpleChannelDownstreamHandler.`closeRequested(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when `Channel.close()` was called.
    `static void` | Channels.`connect(ChannelHandlerContext ctx, ChannelFuture future, SocketAddress remoteAddress)` Sends a `"connect"` request to the `ChannelDownstreamHandler` which is placed in the closest downstream from the handler associated with the specified `ChannelHandlerContext`.
    `void` | SimpleChannelHandler.`connectRequested(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when `Channel.connect(SocketAddress)` was called.
    `void` | SimpleChannelDownstreamHandler.`connectRequested(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when `Channel.connect(SocketAddress)` was called.
    `static void` | Channels.`disconnect(ChannelHandlerContext ctx, ChannelFuture future)` Sends a `"disconnect"` request to the `ChannelDownstreamHandler` which is placed in the closest downstream from the handler associated with the specified `ChannelHandlerContext`.
    `void` | SimpleChannelHandler.`disconnectRequested(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when `Channel.disconnect()` was called.
    `void` | SimpleChannelDownstreamHandler.`disconnectRequested(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when `Channel.disconnect()` was called.
    `void` | SimpleChannelHandler.`exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e)` Invoked when an exception was raised by an I/O thread or a `ChannelHandler`.
    `void` | SimpleChannelUpstreamHandler.`exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e)` Invoked when an exception was raised by an I/O thread or a `ChannelHandler`.
    `static void` | Channels.`fireChannelBound(ChannelHandlerContext ctx, SocketAddress localAddress)` Sends a `"channelBound"` event to the `ChannelUpstreamHandler` which is placed in the closest upstream from the handler associated with the specified `ChannelHandlerContext`.
    `static void` | Channels.`fireChannelClosed(ChannelHandlerContext ctx)` Sends a `"channelClosed"` event to the `ChannelUpstreamHandler` which is placed in the closest upstream from the handler associated with the specified `ChannelHandlerContext`.
    `static void` | Channels.`fireChannelConnected(ChannelHandlerContext ctx, SocketAddress remoteAddress)` Sends a `"channelConnected"` event to the `ChannelUpstreamHandler` which is placed in the closest upstream from the handler associated with the specified `ChannelHandlerContext`.
    `static void` | Channels.`fireChannelDisconnected(ChannelHandlerContext ctx)` Sends a `"channelDisconnected"` event to the `ChannelUpstreamHandler` which is placed in the closest upstream from the handler associated with the specified `ChannelHandlerContext`.
    `static void` | Channels.`fireChannelInterestChanged(ChannelHandlerContext ctx)` Sends a `"channelInterestChanged"` event to the `ChannelUpstreamHandler` which is placed in the closest upstream from the handler associated with the specified `ChannelHandlerContext`.
    `static void` | Channels.`fireChannelOpen(ChannelHandlerContext ctx)` Sends a `"channelOpen"` event to the `ChannelUpstreamHandler` which is placed in the closest upstream from the handler associated with the specified `ChannelHandlerContext`.
    `static void` | Channels.`fireChannelUnbound(ChannelHandlerContext ctx)` Sends a `"channelUnbound"` event to the `ChannelUpstreamHandler` which is placed in the closest upstream from the handler associated with the specified `ChannelHandlerContext`.
    `static void` | Channels.`fireExceptionCaught(ChannelHandlerContext ctx, Throwable cause)` Sends a `"exceptionCaught"` event to the `ChannelUpstreamHandler` which is placed in the closest upstream from the handler associated with the specified `ChannelHandlerContext`.
    `static ChannelFuture` | Channels.`fireExceptionCaughtLater(ChannelHandlerContext ctx, Throwable cause)` Sends a `"exceptionCaught"` event to the `ChannelUpstreamHandler` which is placed in the closest upstream from the handler associated with the specified `ChannelHandlerContext` once the io-thread runs again.
    `static void` | Channels.`fireMessageReceived(ChannelHandlerContext ctx, Object message)` Sends a `"messageReceived"` event to the `ChannelUpstreamHandler` which is placed in the closest upstream from the handler associated with the specified `ChannelHandlerContext`.
    `static void` | Channels.`fireMessageReceived(ChannelHandlerContext ctx, Object message, SocketAddress remoteAddress)` Sends a `"messageReceived"` event to the `ChannelUpstreamHandler` which is placed in the closest upstream from the handler associated with the specified `ChannelHandlerContext`.
    `static void` | Channels.`fireWriteComplete(ChannelHandlerContext ctx, long amount)` Sends a `"writeComplete"` event to the `ChannelUpstreamHandler` which is placed in the closest upstream from the handler associated with the specified `ChannelHandlerContext`.
    `void` | ChannelDownstreamHandler.`handleDownstream(ChannelHandlerContext ctx, ChannelEvent e)` Handles the specified downstream event.
    `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` | ChannelUpstreamHandler.`handleUpstream(ChannelHandlerContext ctx, ChannelEvent e)` Handles the specified upstream event.
    `void` | SimpleChannelHandler.`handleUpstream(ChannelHandlerContext ctx, ChannelEvent e)` Handles the specified upstream event.
    `void` | SimpleChannelUpstreamHandler.`handleUpstream(ChannelHandlerContext ctx, ChannelEvent e)` Handles the specified upstream event.
    `void` | SimpleChannelHandler.`messageReceived(ChannelHandlerContext ctx, MessageEvent e)` Invoked when a message object (e.g: `ChannelBuffer`) was received from a remote peer.
    `void` | SimpleChannelUpstreamHandler.`messageReceived(ChannelHandlerContext ctx, MessageEvent e)` Invoked when a message object (e.g: `ChannelBuffer`) was received from a remote peer.
    `static void` | Channels.`setInterestOps(ChannelHandlerContext ctx, ChannelFuture future, int interestOps)` Sends a `"setInterestOps"` request to the `ChannelDownstreamHandler` which is placed in the closest downstream from the handler associated with the specified `ChannelHandlerContext`.
    `void` | SimpleChannelHandler.`setInterestOpsRequested(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when `Channel.setInterestOps(int)` was called.
    `void` | SimpleChannelDownstreamHandler.`setInterestOpsRequested(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when `Channel.setInterestOps(int)` was called.
    `static void` | Channels.`unbind(ChannelHandlerContext ctx, ChannelFuture future)` Sends a `"unbind"` request to the `ChannelDownstreamHandler` which is placed in the closest downstream from the handler associated with the specified `ChannelHandlerContext`.
    `void` | SimpleChannelHandler.`unbindRequested(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when `Channel.unbind()` was called.
    `void` | SimpleChannelDownstreamHandler.`unbindRequested(ChannelHandlerContext ctx, ChannelStateEvent e)` Invoked when `Channel.unbind()` was called.
    `static void` | Channels.`write(ChannelHandlerContext ctx, ChannelFuture future, Object message)` Sends a `"write"` request to the `ChannelDownstreamHandler` which is placed in the closest downstream from the handler associated with the specified `ChannelHandlerContext`.
    `static void` | Channels.`write(ChannelHandlerContext ctx, ChannelFuture future, Object message, SocketAddress remoteAddress)` Sends a `"write"` request to the `ChannelDownstreamHandler` which is placed in the closest downstream from the handler associated with the specified `ChannelHandlerContext`.
    `void` | SimpleChannelHandler.`writeComplete(ChannelHandlerContext ctx, WriteCompletionEvent e)` Invoked when something was written into a `Channel`.
    `void` | SimpleChannelUpstreamHandler.`writeComplete(ChannelHandlerContext ctx, WriteCompletionEvent e)` Invoked when something was written into a `Channel`.
    `void` | SimpleChannelHandler.`writeRequested(ChannelHandlerContext ctx, MessageEvent e)` Invoked when `Channel.write(Object)` is called.
    `void` | SimpleChannelDownstreamHandler.`writeRequested(ChannelHandlerContext ctx, MessageEvent e)` Invoked when `Channel.write(Object)` is called.

  - ### Uses of ChannelHandlerContext in org.jboss.netty.handler.codec.base64

    Methods in org.jboss.netty.handler.codec.base64 with parameters of type ChannelHandlerContext
    Modifier and Type | Method and Description
    --- | ---
    `protected Object` | Base64Decoder.`decode(ChannelHandlerContext ctx, Channel channel, Object msg)`
    `protected Object` | Base64Encoder.`encode(ChannelHandlerContext ctx, Channel channel, Object msg)`

  - ### Uses of ChannelHandlerContext in org.jboss.netty.handler.codec.compression

    Methods in org.jboss.netty.handler.codec.compression with parameters of type ChannelHandlerContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | JdkZlibEncoder.`afterAdd(ChannelHandlerContext ctx)`
    `void` | ZlibEncoder.`afterAdd(ChannelHandlerContext ctx)`
    `void` | JdkZlibEncoder.`afterRemove(ChannelHandlerContext ctx)`
    `void` | ZlibEncoder.`afterRemove(ChannelHandlerContext ctx)`
    `void` | JdkZlibEncoder.`beforeAdd(ChannelHandlerContext ctx)`
    `void` | ZlibEncoder.`beforeAdd(ChannelHandlerContext ctx)`
    `void` | JdkZlibEncoder.`beforeRemove(ChannelHandlerContext ctx)`
    `void` | ZlibEncoder.`beforeRemove(ChannelHandlerContext ctx)`
    `protected Object` | ZlibDecoder.`decode(ChannelHandlerContext ctx, Channel channel, Object msg)`
    `protected Object` | JdkZlibEncoder.`encode(ChannelHandlerContext ctx, Channel channel, Object msg)`
    `protected Object` | ZlibEncoder.`encode(ChannelHandlerContext ctx, Channel channel, Object msg)`
    `void` | JdkZlibEncoder.`handleDownstream(ChannelHandlerContext ctx, ChannelEvent evt)`
    `void` | ZlibEncoder.`handleDownstream(ChannelHandlerContext ctx, ChannelEvent evt)`

  - ### Uses of ChannelHandlerContext in org.jboss.netty.handler.codec.frame

    Methods in org.jboss.netty.handler.codec.frame with parameters of type ChannelHandlerContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | FrameDecoder.`afterAdd(ChannelHandlerContext ctx)`
    `void` | FrameDecoder.`afterRemove(ChannelHandlerContext ctx)`
    `void` | FrameDecoder.`beforeAdd(ChannelHandlerContext ctx)`
    `void` | FrameDecoder.`beforeRemove(ChannelHandlerContext ctx)`
    `void` | FrameDecoder.`channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e)`
    `void` | FrameDecoder.`channelDisconnected(ChannelHandlerContext ctx, ChannelStateEvent e)`
    `protected void` | FrameDecoder.`cleanup(ChannelHandlerContext ctx, ChannelStateEvent e)` Gets called on `FrameDecoder.channelDisconnected(ChannelHandlerContext, ChannelStateEvent)` and `FrameDecoder.channelClosed(ChannelHandlerContext, ChannelStateEvent)`
    `protected Object` | DelimiterBasedFrameDecoder.`decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)`
    `protected abstract Object` | FrameDecoder.`decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)` Decodes the received packets so far into a frame.
    `protected Object` | FixedLengthFrameDecoder.`decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)`
    `protected Object` | LengthFieldBasedFrameDecoder.`decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)`
    `protected Object` | FrameDecoder.`decodeLast(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)` Decodes the received data so far into a frame when the channel is disconnected.
    `protected Object` | LengthFieldPrepender.`encode(ChannelHandlerContext ctx, Channel channel, Object msg)`
    `void` | FrameDecoder.`exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e)`
    `void` | FrameDecoder.`messageReceived(ChannelHandlerContext ctx, MessageEvent e)`
    `protected ChannelBuffer` | FrameDecoder.`newCumulationBuffer(ChannelHandlerContext ctx, int minimumCapacity)` Create a new `ChannelBuffer` which is used for the cumulation.
    `protected ChannelBuffer` | FixedLengthFrameDecoder.`newCumulationBuffer(ChannelHandlerContext ctx, int minimumCapacity)`
    `protected void` | FrameDecoder.`unfoldAndFireMessageReceived(ChannelHandlerContext context, SocketAddress remoteAddress, Object result)`
    `protected ChannelBuffer` | FrameDecoder.`updateCumulation(ChannelHandlerContext ctx, ChannelBuffer input)`

  - ### Uses of ChannelHandlerContext in org.jboss.netty.handler.codec.http

    Methods in org.jboss.netty.handler.codec.http with parameters of type ChannelHandlerContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | HttpContentEncoder.`afterAdd(ChannelHandlerContext ctx)`
    `void` | HttpContentDecoder.`afterAdd(ChannelHandlerContext ctx)`
    `void` | HttpChunkAggregator.`afterAdd(ChannelHandlerContext ctx)`
    `void` | HttpContentEncoder.`afterRemove(ChannelHandlerContext ctx)`
    `void` | HttpContentDecoder.`afterRemove(ChannelHandlerContext ctx)`
    `void` | HttpChunkAggregator.`afterRemove(ChannelHandlerContext ctx)`
    `void` | HttpContentEncoder.`beforeAdd(ChannelHandlerContext ctx)`
    `void` | HttpContentDecoder.`beforeAdd(ChannelHandlerContext ctx)`
    `void` | HttpChunkAggregator.`beforeAdd(ChannelHandlerContext ctx)`
    `void` | HttpContentEncoder.`beforeRemove(ChannelHandlerContext ctx)`
    `void` | HttpContentDecoder.`beforeRemove(ChannelHandlerContext ctx)`
    `void` | HttpChunkAggregator.`beforeRemove(ChannelHandlerContext ctx)`
    `void` | HttpContentEncoder.`channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e)`
    `void` | HttpContentDecoder.`channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e)`
    `protected Object` | HttpMessageDecoder.`decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, HttpMessageDecoder.State state)`
    `protected Object` | HttpMessageEncoder.`encode(ChannelHandlerContext ctx, Channel channel, Object msg)`
    `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)`
    `void` | HttpContentEncoder.`messageReceived(ChannelHandlerContext ctx, MessageEvent e)`
    `void` | HttpContentDecoder.`messageReceived(ChannelHandlerContext ctx, MessageEvent e)`
    `void` | HttpChunkAggregator.`messageReceived(ChannelHandlerContext ctx, MessageEvent e)`
    `void` | HttpContentEncoder.`writeRequested(ChannelHandlerContext ctx, MessageEvent e)`

  - ### Uses of ChannelHandlerContext in org.jboss.netty.handler.codec.http.websocket

    Methods in org.jboss.netty.handler.codec.http.websocket with parameters of type ChannelHandlerContext
    Modifier and Type | Method and Description
    --- | ---
    `protected Object` | WebSocketFrameDecoder.`decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, VoidEnum state)` Deprecated.
    `protected Object` | WebSocketFrameEncoder.`encode(ChannelHandlerContext ctx, Channel channel, Object msg)` Deprecated.

  - ### Uses of ChannelHandlerContext in org.jboss.netty.handler.codec.http.websocketx

    Methods in org.jboss.netty.handler.codec.http.websocketx with parameters of type ChannelHandlerContext
    Modifier and Type | Method and Description
    --- | ---
    `protected Object` | WebSocket00FrameDecoder.`decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, VoidEnum state)`
    `protected Object` | WebSocket08FrameDecoder.`decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, WebSocket08FrameDecoder.State state)`
    `protected Object` | WebSocket08FrameEncoder.`encode(ChannelHandlerContext ctx, Channel channel, Object msg)`
    `protected Object` | WebSocket00FrameEncoder.`encode(ChannelHandlerContext ctx, Channel channel, Object msg)`

  - ### Uses of ChannelHandlerContext in org.jboss.netty.handler.codec.marshalling

    Methods in org.jboss.netty.handler.codec.marshalling with parameters of type ChannelHandlerContext
    Modifier and Type | Method and Description
    --- | ---
    `protected Object` | MarshallingDecoder.`decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)`
    `protected Object` | CompatibleMarshallingDecoder.`decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, VoidEnum state)`
    `protected Object` | CompatibleMarshallingDecoder.`decodeLast(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, VoidEnum state)`
    `protected Object` | CompatibleMarshallingEncoder.`encode(ChannelHandlerContext ctx, Channel channel, Object msg)`
    `protected Object` | MarshallingEncoder.`encode(ChannelHandlerContext ctx, Channel channel, Object msg)`
    `void` | CompatibleMarshallingDecoder.`exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e)` Calls `Channel.close()` if a TooLongFrameException was thrown
    `org.jboss.marshalling.Marshaller` | ThreadLocalMarshallerProvider.`getMarshaller(ChannelHandlerContext ctx)`
    `org.jboss.marshalling.Marshaller` | MarshallerProvider.`getMarshaller(ChannelHandlerContext ctx)` Get a `Marshaller` for the given `ChannelHandlerContext`
    `org.jboss.marshalling.Marshaller` | DefaultMarshallerProvider.`getMarshaller(ChannelHandlerContext ctx)`
    `org.jboss.marshalling.Unmarshaller` | UnmarshallerProvider.`getUnmarshaller(ChannelHandlerContext ctx)` Get the `Unmarshaller` for the given `ChannelHandlerContext`
    `org.jboss.marshalling.Unmarshaller` | DefaultUnmarshallerProvider.`getUnmarshaller(ChannelHandlerContext ctx)`
    `org.jboss.marshalling.Unmarshaller` | ThreadLocalUnmarshallerProvider.`getUnmarshaller(ChannelHandlerContext ctx)`
    `org.jboss.marshalling.Unmarshaller` | ContextBoundUnmarshallerProvider.`getUnmarshaller(ChannelHandlerContext ctx)`

  - ### Uses of ChannelHandlerContext in org.jboss.netty.handler.codec.oneone

    Methods in org.jboss.netty.handler.codec.oneone with parameters of type ChannelHandlerContext
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract Object` | OneToOneDecoder.`decode(ChannelHandlerContext ctx, Channel channel, Object msg)` Transforms the specified received message into another message and return the transformed message.
    `protected abstract Object` | OneToOneEncoder.`encode(ChannelHandlerContext ctx, Channel channel, Object msg)` Transforms the specified message into another message and return the transformed message.
    `void` | OneToOneEncoder.`handleDownstream(ChannelHandlerContext ctx, ChannelEvent evt)`
    `void` | OneToOneDecoder.`handleUpstream(ChannelHandlerContext ctx, ChannelEvent evt)`

  - ### Uses of ChannelHandlerContext in org.jboss.netty.handler.codec.protobuf

    Methods in org.jboss.netty.handler.codec.protobuf with parameters of type ChannelHandlerContext
    Modifier and Type | Method and Description
    --- | ---
    `protected Object` | ProtobufVarint32FrameDecoder.`decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)`
    `protected Object` | ProtobufDecoder.`decode(ChannelHandlerContext ctx, Channel channel, Object msg)`
    `protected Object` | ProtobufEncoder.`encode(ChannelHandlerContext ctx, Channel channel, Object msg)`
    `protected Object` | ProtobufVarint32LengthFieldPrepender.`encode(ChannelHandlerContext ctx, Channel channel, Object msg)`

  - ### Uses of ChannelHandlerContext in org.jboss.netty.handler.codec.replay

    Methods in org.jboss.netty.handler.codec.replay with parameters of type ChannelHandlerContext
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | ReplayingDecoder.`cleanup(ChannelHandlerContext ctx, ChannelStateEvent e)`
    `protected Object` | ReplayingDecoder.`decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)` Calls `ReplayingDecoder.decode(ChannelHandlerContext, Channel, ChannelBuffer, Enum)`.
    `protected abstract Object` | ReplayingDecoder.`decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, T state)` Decodes the received packets so far into a frame.
    `protected Object` | ReplayingDecoder.`decodeLast(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)`
    `protected Object` | ReplayingDecoder.`decodeLast(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, T state)` Decodes the received data so far into a frame when the channel is disconnected.
    `void` | ReplayingDecoder.`messageReceived(ChannelHandlerContext ctx, MessageEvent e)`

  - ### Uses of ChannelHandlerContext in org.jboss.netty.handler.codec.rtsp

    Methods in org.jboss.netty.handler.codec.rtsp with parameters of type ChannelHandlerContext
    Modifier and Type | Method and Description
    --- | ---
    `protected Object` | RtspMessageDecoder.`decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, HttpMessageDecoder.State state)`
    `protected Object` | RtspMessageEncoder.`encode(ChannelHandlerContext ctx, Channel channel, Object msg)`

  - ### Uses of ChannelHandlerContext in org.jboss.netty.handler.codec.serialization

    Methods in org.jboss.netty.handler.codec.serialization with parameters of type ChannelHandlerContext
    Modifier and Type | Method and Description
    --- | ---
    `protected Object` | ObjectDecoder.`decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)`
    `protected Object` | CompatibleObjectDecoder.`decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, org.jboss.netty.handler.codec.serialization.CompatibleObjectDecoderState state)` Deprecated.
    `protected Object` | CompatibleObjectDecoder.`decodeLast(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer, org.jboss.netty.handler.codec.serialization.CompatibleObjectDecoderState state)` Deprecated.
    `protected Object` | ObjectEncoder.`encode(ChannelHandlerContext ctx, Channel channel, Object msg)`
    `protected Object` | CompatibleObjectEncoder.`encode(ChannelHandlerContext context, Channel channel, Object msg)`

  - ### Uses of ChannelHandlerContext in org.jboss.netty.handler.codec.spdy

    Methods in org.jboss.netty.handler.codec.spdy with parameters of type ChannelHandlerContext
    Modifier and Type | Method and Description
    --- | ---
    `protected Object` | SpdyFrameDecoder.`decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)`
    `protected Object` | SpdyHttpDecoder.`decode(ChannelHandlerContext ctx, Channel channel, Object msg)`
    `protected Object` | SpdyFrameDecoder.`decodeLast(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)`
    `void` | SpdySessionHandler.`exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e)`
    `void` | SpdyFrameEncoder.`handleDownstream(ChannelHandlerContext ctx, ChannelEvent evt)`
    `void` | SpdyHttpCodec.`handleDownstream(ChannelHandlerContext ctx, ChannelEvent e)`
    `void` | SpdyHttpEncoder.`handleDownstream(ChannelHandlerContext ctx, ChannelEvent evt)`
    `void` | SpdySessionHandler.`handleDownstream(ChannelHandlerContext ctx, ChannelEvent evt)`
    `void` | SpdyFrameCodec.`handleDownstream(ChannelHandlerContext ctx, ChannelEvent e)`
    `void` | SpdyHttpCodec.`handleUpstream(ChannelHandlerContext ctx, ChannelEvent e)`
    `void` | SpdyFrameCodec.`handleUpstream(ChannelHandlerContext ctx, ChannelEvent e)`
    `void` | SpdySessionHandler.`messageReceived(ChannelHandlerContext ctx, MessageEvent e)`

  - ### Uses of ChannelHandlerContext in org.jboss.netty.handler.codec.string

    Methods in org.jboss.netty.handler.codec.string with parameters of type ChannelHandlerContext
    Modifier and Type | Method and Description
    --- | ---
    `protected Object` | StringDecoder.`decode(ChannelHandlerContext ctx, Channel channel, Object msg)`
    `protected Object` | StringEncoder.`encode(ChannelHandlerContext ctx, Channel channel, Object msg)`

  - ### Uses of ChannelHandlerContext in org.jboss.netty.handler.execution

    Fields in org.jboss.netty.handler.execution declared as ChannelHandlerContext
    Modifier and Type | Field and Description
    --- | ---
    `protected ChannelHandlerContext` | ChannelEventRunnable.`ctx`

    Methods in org.jboss.netty.handler.execution that return ChannelHandlerContext
    Modifier and Type | Method and Description
    --- | ---
    `ChannelHandlerContext` | ChannelEventRunnable.`getContext()` Returns the `ChannelHandlerContext` which will be used to send the `ChannelEvent` upstream.

    Methods in org.jboss.netty.handler.execution with parameters of type ChannelHandlerContext
    Modifier and Type | Method and Description
    --- | ---
    `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)`

    Constructors in org.jboss.netty.handler.execution with parameters of type ChannelHandlerContext
    Constructor and Description
    `ChannelDownstreamEventRunnable(ChannelHandlerContext ctx, ChannelEvent e, Executor executor)`
    `ChannelEventRunnable(ChannelHandlerContext ctx, ChannelEvent e, Executor executor)` Creates a `Runnable` which sends the specified `ChannelEvent` upstream via the specified `ChannelHandlerContext`.
    `ChannelUpstreamEventRunnable(ChannelHandlerContext ctx, ChannelEvent e, Executor executor)` Creates a `Runnable` which sends the specified `ChannelEvent` upstream via the specified `ChannelHandlerContext`.

  - ### Uses of ChannelHandlerContext in org.jboss.netty.handler.ipfilter

    Methods in org.jboss.netty.handler.ipfilter with parameters of type ChannelHandlerContext
    Modifier and Type | Method and Description
    --- | ---
    `protected boolean` | OneIpFilterHandler.`accept(ChannelHandlerContext ctx, ChannelEvent e, InetSocketAddress inetSocketAddress)`
    `protected abstract boolean` | IpFilteringHandlerImpl.`accept(ChannelHandlerContext ctx, ChannelEvent e, InetSocketAddress inetSocketAddress)` Called when the channel is connected.
    `protected boolean` | IpFilterRuleHandler.`accept(ChannelHandlerContext ctx, ChannelEvent e, InetSocketAddress inetSocketAddress)`
    `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)`
    `protected boolean` | IpFilteringHandlerImpl.`isBlocked(ChannelHandlerContext ctx)` Internal method to test if the current channel is blocked.
    `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().

  - ### Uses of ChannelHandlerContext in org.jboss.netty.handler.logging

    Methods in org.jboss.netty.handler.logging with parameters of type ChannelHandlerContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | LoggingHandler.`handleDownstream(ChannelHandlerContext ctx, ChannelEvent e)`
    `void` | LoggingHandler.`handleUpstream(ChannelHandlerContext ctx, ChannelEvent e)`

  - ### Uses of ChannelHandlerContext in org.jboss.netty.handler.queue

    Methods in org.jboss.netty.handler.queue with parameters of type ChannelHandlerContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | BufferedWriteHandler.`afterAdd(ChannelHandlerContext ctx)`
    `void` | BufferedWriteHandler.`afterRemove(ChannelHandlerContext ctx)` Fail all buffered writes that are left.
    `void` | BufferedWriteHandler.`beforeAdd(ChannelHandlerContext ctx)`
    `void` | BufferedWriteHandler.`beforeRemove(ChannelHandlerContext ctx)`
    `void` | BufferedWriteHandler.`channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e)` Fail all buffered writes that are left.
    `void` | BlockingReadHandler.`channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e)`
    `void` | BufferedWriteHandler.`closeRequested(ChannelHandlerContext ctx, ChannelStateEvent e)`
    `void` | BufferedWriteHandler.`disconnectRequested(ChannelHandlerContext ctx, ChannelStateEvent e)`
    `void` | BlockingReadHandler.`exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e)`
    `void` | BlockingReadHandler.`messageReceived(ChannelHandlerContext ctx, MessageEvent e)`
    `void` | BufferedWriteHandler.`writeRequested(ChannelHandlerContext ctx, MessageEvent e)` Stores all write requests to the queue so that they are actually written on `BufferedWriteHandler.flush()`.

  - ### Uses of ChannelHandlerContext in org.jboss.netty.handler.ssl

    Methods in org.jboss.netty.handler.ssl with parameters of type ChannelHandlerContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | SslHandler.`afterRemove(ChannelHandlerContext ctx)` Fail all pending writes which we were not able to flush out
    `void` | SslHandler.`beforeAdd(ChannelHandlerContext ctx)`
    `void` | SslHandler.`channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e)` Loop over all the pending writes and fail them.
    `void` | SslHandler.`channelConnected(ChannelHandlerContext ctx, ChannelStateEvent e)` Calls `SslHandler.handshake()` once the `Channel` is connected
    `void` | SslHandler.`channelDisconnected(ChannelHandlerContext ctx, ChannelStateEvent e)`
    `protected Object` | SslHandler.`decode(ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)`
    `void` | SslHandler.`exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e)`
    `void` | SslHandler.`handleDownstream(ChannelHandlerContext context, ChannelEvent evt)`

  - ### Uses of ChannelHandlerContext in org.jboss.netty.handler.stream

    Methods in org.jboss.netty.handler.stream with parameters of type ChannelHandlerContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | ChunkedWriteHandler.`afterAdd(ChannelHandlerContext ctx)`
    `void` | ChunkedWriteHandler.`afterRemove(ChannelHandlerContext ctx)`
    `void` | ChunkedWriteHandler.`beforeAdd(ChannelHandlerContext ctx)`
    `void` | ChunkedWriteHandler.`beforeRemove(ChannelHandlerContext ctx)`
    `void` | ChunkedWriteHandler.`handleDownstream(ChannelHandlerContext ctx, ChannelEvent e)`
    `void` | ChunkedWriteHandler.`handleUpstream(ChannelHandlerContext ctx, ChannelEvent e)`

  - ### Uses of ChannelHandlerContext in org.jboss.netty.handler.timeout

    Methods in org.jboss.netty.handler.timeout with parameters of type ChannelHandlerContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | ReadTimeoutHandler.`afterAdd(ChannelHandlerContext ctx)`
    `void` | IdleStateHandler.`afterAdd(ChannelHandlerContext ctx)`
    `void` | ReadTimeoutHandler.`afterRemove(ChannelHandlerContext ctx)`
    `void` | IdleStateHandler.`afterRemove(ChannelHandlerContext ctx)`
    `void` | ReadTimeoutHandler.`beforeAdd(ChannelHandlerContext ctx)`
    `void` | IdleStateHandler.`beforeAdd(ChannelHandlerContext ctx)`
    `void` | ReadTimeoutHandler.`beforeRemove(ChannelHandlerContext ctx)`
    `void` | IdleStateHandler.`beforeRemove(ChannelHandlerContext ctx)`
    `void` | ReadTimeoutHandler.`channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e)`
    `void` | IdleStateHandler.`channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e)`
    `void` | IdleStateAwareChannelUpstreamHandler.`channelIdle(ChannelHandlerContext ctx, IdleStateEvent e)` Invoked when a `Channel` has been idle for a while.
    `void` | IdleStateAwareChannelHandler.`channelIdle(ChannelHandlerContext ctx, IdleStateEvent e)` Invoked when a `Channel` has been idle for a while.
    `protected void` | IdleStateHandler.`channelIdle(ChannelHandlerContext ctx, IdleState state, long lastActivityTimeMillis)`
    `void` | ReadTimeoutHandler.`channelOpen(ChannelHandlerContext ctx, ChannelStateEvent e)`
    `void` | IdleStateHandler.`channelOpen(ChannelHandlerContext ctx, ChannelStateEvent e)`
    `void` | IdleStateAwareChannelUpstreamHandler.`handleUpstream(ChannelHandlerContext ctx, ChannelEvent e)`
    `void` | IdleStateAwareChannelHandler.`handleUpstream(ChannelHandlerContext ctx, ChannelEvent e)`
    `void` | ReadTimeoutHandler.`messageReceived(ChannelHandlerContext ctx, MessageEvent e)`
    `void` | IdleStateHandler.`messageReceived(ChannelHandlerContext ctx, MessageEvent e)`
    `protected void` | ReadTimeoutHandler.`readTimedOut(ChannelHandlerContext ctx)`
    `void` | IdleStateHandler.`writeComplete(ChannelHandlerContext ctx, WriteCompletionEvent e)`
    `void` | WriteTimeoutHandler.`writeRequested(ChannelHandlerContext ctx, MessageEvent e)`
    `protected void` | WriteTimeoutHandler.`writeTimedOut(ChannelHandlerContext ctx)`

  - ### Uses of ChannelHandlerContext in org.jboss.netty.handler.traffic

    Methods in org.jboss.netty.handler.traffic with parameters of type ChannelHandlerContext
    Modifier and Type | Method and Description
    --- | ---
    `void` | ChannelTrafficShapingHandler.`channelClosed(ChannelHandlerContext ctx, ChannelStateEvent e)`
    `void` | ChannelTrafficShapingHandler.`channelConnected(ChannelHandlerContext ctx, ChannelStateEvent e)`
    `void` | AbstractTrafficShapingHandler.`handleDownstream(ChannelHandlerContext ctx, ChannelEvent e)`
    `void` | AbstractTrafficShapingHandler.`messageReceived(ChannelHandlerContext arg0, MessageEvent arg1)`
    `void` | AbstractTrafficShapingHandler.`writeRequested(ChannelHandlerContext arg0, MessageEvent arg1)`

Copyright © 2008-2012 The Netty Project. All Rights Reserved.