public abstract class DelegatingChannelHandlerContext extends Object implements io.netty.channel.ChannelHandlerContext
ChannelHandlerContext that delegates to another
context for non-overridden methods.| Constructor and Description |
|---|
DelegatingChannelHandlerContext(io.netty.channel.ChannelHandlerContext delegate) |
| Modifier and Type | Method and Description |
|---|---|
io.netty.buffer.ByteBufAllocator |
alloc() |
<T> io.netty.util.Attribute<T> |
attr(io.netty.util.AttributeKey<T> key) |
io.netty.channel.ChannelFuture |
bind(SocketAddress localAddress) |
io.netty.channel.ChannelFuture |
bind(SocketAddress localAddress,
io.netty.channel.ChannelPromise promise) |
io.netty.channel.Channel |
channel() |
io.netty.channel.ChannelFuture |
close() |
io.netty.channel.ChannelFuture |
close(io.netty.channel.ChannelPromise promise) |
io.netty.channel.ChannelFuture |
connect(SocketAddress remoteAddress) |
io.netty.channel.ChannelFuture |
connect(SocketAddress remoteAddress,
io.netty.channel.ChannelPromise promise) |
io.netty.channel.ChannelFuture |
connect(SocketAddress remoteAddress,
SocketAddress localAddress) |
io.netty.channel.ChannelFuture |
connect(SocketAddress remoteAddress,
SocketAddress localAddress,
io.netty.channel.ChannelPromise promise) |
io.netty.channel.ChannelFuture |
deregister() |
io.netty.channel.ChannelFuture |
deregister(io.netty.channel.ChannelPromise promise) |
io.netty.channel.ChannelFuture |
disconnect() |
io.netty.channel.ChannelFuture |
disconnect(io.netty.channel.ChannelPromise promise) |
io.netty.util.concurrent.EventExecutor |
executor() |
io.netty.channel.ChannelHandlerContext |
fireChannelActive() |
io.netty.channel.ChannelHandlerContext |
fireChannelInactive() |
io.netty.channel.ChannelHandlerContext |
fireChannelRead(Object msg) |
io.netty.channel.ChannelHandlerContext |
fireChannelReadComplete() |
io.netty.channel.ChannelHandlerContext |
fireChannelRegistered() |
io.netty.channel.ChannelHandlerContext |
fireChannelUnregistered() |
io.netty.channel.ChannelHandlerContext |
fireChannelWritabilityChanged() |
io.netty.channel.ChannelHandlerContext |
fireExceptionCaught(Throwable cause) |
io.netty.channel.ChannelHandlerContext |
fireUserEventTriggered(Object evt) |
io.netty.channel.ChannelHandlerContext |
flush() |
io.netty.channel.ChannelHandler |
handler() |
<T> boolean |
hasAttr(io.netty.util.AttributeKey<T> key) |
boolean |
isRemoved() |
String |
name() |
io.netty.channel.ChannelFuture |
newFailedFuture(Throwable cause) |
io.netty.channel.ChannelProgressivePromise |
newProgressivePromise() |
io.netty.channel.ChannelPromise |
newPromise() |
io.netty.channel.ChannelFuture |
newSucceededFuture() |
io.netty.channel.ChannelPipeline |
pipeline() |
io.netty.channel.ChannelHandlerContext |
read() |
io.netty.channel.ChannelPromise |
voidPromise() |
io.netty.channel.ChannelFuture |
write(Object msg) |
io.netty.channel.ChannelFuture |
write(Object msg,
io.netty.channel.ChannelPromise promise) |
io.netty.channel.ChannelFuture |
writeAndFlush(Object msg) |
io.netty.channel.ChannelFuture |
writeAndFlush(Object msg,
io.netty.channel.ChannelPromise promise) |
public DelegatingChannelHandlerContext(io.netty.channel.ChannelHandlerContext delegate)
public io.netty.channel.Channel channel()
channel in interface io.netty.channel.ChannelHandlerContextpublic io.netty.util.concurrent.EventExecutor executor()
executor in interface io.netty.channel.ChannelHandlerContextpublic String name()
name in interface io.netty.channel.ChannelHandlerContextpublic io.netty.channel.ChannelHandler handler()
handler in interface io.netty.channel.ChannelHandlerContextpublic boolean isRemoved()
isRemoved in interface io.netty.channel.ChannelHandlerContextpublic io.netty.channel.ChannelHandlerContext fireChannelRegistered()
fireChannelRegistered in interface io.netty.channel.ChannelHandlerContextfireChannelRegistered in interface io.netty.channel.ChannelInboundInvokerpublic io.netty.channel.ChannelHandlerContext fireChannelUnregistered()
fireChannelUnregistered in interface io.netty.channel.ChannelHandlerContextfireChannelUnregistered in interface io.netty.channel.ChannelInboundInvokerpublic io.netty.channel.ChannelHandlerContext fireChannelActive()
fireChannelActive in interface io.netty.channel.ChannelHandlerContextfireChannelActive in interface io.netty.channel.ChannelInboundInvokerpublic io.netty.channel.ChannelHandlerContext fireChannelInactive()
fireChannelInactive in interface io.netty.channel.ChannelHandlerContextfireChannelInactive in interface io.netty.channel.ChannelInboundInvokerpublic io.netty.channel.ChannelHandlerContext fireExceptionCaught(Throwable cause)
fireExceptionCaught in interface io.netty.channel.ChannelHandlerContextfireExceptionCaught in interface io.netty.channel.ChannelInboundInvokerpublic io.netty.channel.ChannelHandlerContext fireUserEventTriggered(Object evt)
fireUserEventTriggered in interface io.netty.channel.ChannelHandlerContextfireUserEventTriggered in interface io.netty.channel.ChannelInboundInvokerpublic io.netty.channel.ChannelHandlerContext fireChannelRead(Object msg)
fireChannelRead in interface io.netty.channel.ChannelHandlerContextfireChannelRead in interface io.netty.channel.ChannelInboundInvokerpublic io.netty.channel.ChannelHandlerContext fireChannelReadComplete()
fireChannelReadComplete in interface io.netty.channel.ChannelHandlerContextfireChannelReadComplete in interface io.netty.channel.ChannelInboundInvokerpublic io.netty.channel.ChannelHandlerContext fireChannelWritabilityChanged()
fireChannelWritabilityChanged in interface io.netty.channel.ChannelHandlerContextfireChannelWritabilityChanged in interface io.netty.channel.ChannelInboundInvokerpublic io.netty.channel.ChannelFuture bind(SocketAddress localAddress)
bind in interface io.netty.channel.ChannelOutboundInvokerpublic io.netty.channel.ChannelFuture connect(SocketAddress remoteAddress)
connect in interface io.netty.channel.ChannelOutboundInvokerpublic io.netty.channel.ChannelFuture connect(SocketAddress remoteAddress, SocketAddress localAddress)
connect in interface io.netty.channel.ChannelOutboundInvokerpublic io.netty.channel.ChannelFuture disconnect()
disconnect in interface io.netty.channel.ChannelOutboundInvokerpublic io.netty.channel.ChannelFuture close()
close in interface io.netty.channel.ChannelOutboundInvokerpublic io.netty.channel.ChannelFuture deregister()
deregister in interface io.netty.channel.ChannelOutboundInvokerpublic io.netty.channel.ChannelFuture bind(SocketAddress localAddress, io.netty.channel.ChannelPromise promise)
bind in interface io.netty.channel.ChannelOutboundInvokerpublic io.netty.channel.ChannelFuture connect(SocketAddress remoteAddress, io.netty.channel.ChannelPromise promise)
connect in interface io.netty.channel.ChannelOutboundInvokerpublic io.netty.channel.ChannelFuture connect(SocketAddress remoteAddress, SocketAddress localAddress, io.netty.channel.ChannelPromise promise)
connect in interface io.netty.channel.ChannelOutboundInvokerpublic io.netty.channel.ChannelFuture disconnect(io.netty.channel.ChannelPromise promise)
disconnect in interface io.netty.channel.ChannelOutboundInvokerpublic io.netty.channel.ChannelFuture close(io.netty.channel.ChannelPromise promise)
close in interface io.netty.channel.ChannelOutboundInvokerpublic io.netty.channel.ChannelFuture deregister(io.netty.channel.ChannelPromise promise)
deregister in interface io.netty.channel.ChannelOutboundInvokerpublic io.netty.channel.ChannelHandlerContext read()
read in interface io.netty.channel.ChannelHandlerContextread in interface io.netty.channel.ChannelOutboundInvokerpublic io.netty.channel.ChannelFuture write(Object msg)
write in interface io.netty.channel.ChannelOutboundInvokerpublic io.netty.channel.ChannelFuture write(Object msg, io.netty.channel.ChannelPromise promise)
write in interface io.netty.channel.ChannelOutboundInvokerpublic io.netty.channel.ChannelHandlerContext flush()
flush in interface io.netty.channel.ChannelHandlerContextflush in interface io.netty.channel.ChannelOutboundInvokerpublic io.netty.channel.ChannelFuture writeAndFlush(Object msg, io.netty.channel.ChannelPromise promise)
writeAndFlush in interface io.netty.channel.ChannelOutboundInvokerpublic io.netty.channel.ChannelFuture writeAndFlush(Object msg)
writeAndFlush in interface io.netty.channel.ChannelOutboundInvokerpublic io.netty.channel.ChannelPromise newPromise()
newPromise in interface io.netty.channel.ChannelOutboundInvokerpublic io.netty.channel.ChannelProgressivePromise newProgressivePromise()
newProgressivePromise in interface io.netty.channel.ChannelOutboundInvokerpublic io.netty.channel.ChannelFuture newSucceededFuture()
newSucceededFuture in interface io.netty.channel.ChannelOutboundInvokerpublic io.netty.channel.ChannelFuture newFailedFuture(Throwable cause)
newFailedFuture in interface io.netty.channel.ChannelOutboundInvokerpublic io.netty.channel.ChannelPromise voidPromise()
voidPromise in interface io.netty.channel.ChannelOutboundInvokerpublic io.netty.channel.ChannelPipeline pipeline()
pipeline in interface io.netty.channel.ChannelHandlerContextpublic io.netty.buffer.ByteBufAllocator alloc()
alloc in interface io.netty.channel.ChannelHandlerContextpublic <T> io.netty.util.Attribute<T> attr(io.netty.util.AttributeKey<T> key)
attr in interface io.netty.channel.ChannelHandlerContextattr in interface io.netty.util.AttributeMappublic <T> boolean hasAttr(io.netty.util.AttributeKey<T> key)
hasAttr in interface io.netty.channel.ChannelHandlerContexthasAttr in interface io.netty.util.AttributeMapCopyright © 2022. All rights reserved.