Package io.netty.channel
Class DefaultChannelHandlerContext
- java.lang.Object
-
- io.netty.channel.AbstractChannelHandlerContext
-
- io.netty.channel.DefaultChannelHandlerContext
-
- All Implemented Interfaces:
ChannelHandlerContext,ChannelInboundInvoker,ChannelOutboundInvoker,AttributeMap,ResourceLeakHint
final class DefaultChannelHandlerContext extends AbstractChannelHandlerContext
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.netty.channel.AbstractChannelHandlerContext
AbstractChannelHandlerContext.WriteTask
-
-
Field Summary
Fields Modifier and Type Field Description private ChannelHandlerhandler-
Fields inherited from class io.netty.channel.AbstractChannelHandlerContext
executor, next, prev
-
-
Constructor Summary
Constructors Constructor Description DefaultChannelHandlerContext(DefaultChannelPipeline pipeline, EventExecutor executor, java.lang.String name, ChannelHandler handler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChannelHandlerhandler()TheChannelHandlerthat is bound thisChannelHandlerContext.-
Methods inherited from class io.netty.channel.AbstractChannelHandlerContext
alloc, attr, bind, bind, callHandlerAdded, callHandlerRemoved, channel, close, close, connect, connect, connect, connect, deregister, deregister, disconnect, disconnect, executor, fireChannelActive, fireChannelInactive, fireChannelRead, fireChannelReadComplete, fireChannelRegistered, fireChannelUnregistered, fireChannelWritabilityChanged, fireExceptionCaught, fireUserEventTriggered, flush, hasAttr, invokeChannelActive, invokeChannelInactive, invokeChannelRead, invokeChannelReadComplete, invokeChannelRegistered, invokeChannelUnregistered, invokeChannelWritabilityChanged, invokeExceptionCaught, invokeUserEventTriggered, invokeWrite, invokeWriteAndFlush, isRemoved, name, newFailedFuture, newProgressivePromise, newPromise, newSucceededFuture, pipeline, read, setAddComplete, setAddPending, setRemoved, toHintString, toString, voidPromise, write, write, writeAndFlush, writeAndFlush
-
-
-
-
Field Detail
-
handler
private final ChannelHandler handler
-
-
Constructor Detail
-
DefaultChannelHandlerContext
DefaultChannelHandlerContext(DefaultChannelPipeline pipeline, EventExecutor executor, java.lang.String name, ChannelHandler handler)
-
-
Method Detail
-
handler
public ChannelHandler handler()
Description copied from interface:ChannelHandlerContextTheChannelHandlerthat is bound thisChannelHandlerContext.
-
-