Class DelegatingChannelHandlerContext
- java.lang.Object
-
- software.amazon.awssdk.http.nio.netty.internal.utils.DelegatingChannelHandlerContext
-
- All Implemented Interfaces:
io.netty.channel.ChannelHandlerContext,io.netty.channel.ChannelInboundInvoker,io.netty.channel.ChannelOutboundInvoker,io.netty.util.AttributeMap
- Direct Known Subclasses:
OrderedWriteChannelHandlerContext
public abstract class DelegatingChannelHandlerContext extends Object implements io.netty.channel.ChannelHandlerContext
An abstract implementation ofChannelHandlerContextthat delegates to another context for non-overridden methods.
-
-
Constructor Summary
Constructors Constructor Description DelegatingChannelHandlerContext(io.netty.channel.ChannelHandlerContext delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.netty.buffer.ByteBufAllocatoralloc()<T> io.netty.util.Attribute<T>attr(io.netty.util.AttributeKey<T> key)io.netty.channel.ChannelFuturebind(SocketAddress localAddress)io.netty.channel.ChannelFuturebind(SocketAddress localAddress, io.netty.channel.ChannelPromise promise)io.netty.channel.Channelchannel()io.netty.channel.ChannelFutureclose()io.netty.channel.ChannelFutureclose(io.netty.channel.ChannelPromise promise)io.netty.channel.ChannelFutureconnect(SocketAddress remoteAddress)io.netty.channel.ChannelFutureconnect(SocketAddress remoteAddress, io.netty.channel.ChannelPromise promise)io.netty.channel.ChannelFutureconnect(SocketAddress remoteAddress, SocketAddress localAddress)io.netty.channel.ChannelFutureconnect(SocketAddress remoteAddress, SocketAddress localAddress, io.netty.channel.ChannelPromise promise)io.netty.channel.ChannelFuturederegister()io.netty.channel.ChannelFuturederegister(io.netty.channel.ChannelPromise promise)io.netty.channel.ChannelFuturedisconnect()io.netty.channel.ChannelFuturedisconnect(io.netty.channel.ChannelPromise promise)io.netty.util.concurrent.EventExecutorexecutor()io.netty.channel.ChannelHandlerContextfireChannelActive()io.netty.channel.ChannelHandlerContextfireChannelInactive()io.netty.channel.ChannelHandlerContextfireChannelRead(Object msg)io.netty.channel.ChannelHandlerContextfireChannelReadComplete()io.netty.channel.ChannelHandlerContextfireChannelRegistered()io.netty.channel.ChannelHandlerContextfireChannelUnregistered()io.netty.channel.ChannelHandlerContextfireChannelWritabilityChanged()io.netty.channel.ChannelHandlerContextfireExceptionCaught(Throwable cause)io.netty.channel.ChannelHandlerContextfireUserEventTriggered(Object evt)io.netty.channel.ChannelHandlerContextflush()io.netty.channel.ChannelHandlerhandler()<T> booleanhasAttr(io.netty.util.AttributeKey<T> key)booleanisRemoved()Stringname()io.netty.channel.ChannelFuturenewFailedFuture(Throwable cause)io.netty.channel.ChannelProgressivePromisenewProgressivePromise()io.netty.channel.ChannelPromisenewPromise()io.netty.channel.ChannelFuturenewSucceededFuture()io.netty.channel.ChannelPipelinepipeline()io.netty.channel.ChannelHandlerContextread()io.netty.channel.ChannelPromisevoidPromise()io.netty.channel.ChannelFuturewrite(Object msg)io.netty.channel.ChannelFuturewrite(Object msg, io.netty.channel.ChannelPromise promise)io.netty.channel.ChannelFuturewriteAndFlush(Object msg)io.netty.channel.ChannelFuturewriteAndFlush(Object msg, io.netty.channel.ChannelPromise promise)
-
-
-
Method Detail
-
channel
public io.netty.channel.Channel channel()
- Specified by:
channelin interfaceio.netty.channel.ChannelHandlerContext
-
executor
public io.netty.util.concurrent.EventExecutor executor()
- Specified by:
executorin interfaceio.netty.channel.ChannelHandlerContext
-
name
public String name()
- Specified by:
namein interfaceio.netty.channel.ChannelHandlerContext
-
handler
public io.netty.channel.ChannelHandler handler()
- Specified by:
handlerin interfaceio.netty.channel.ChannelHandlerContext
-
isRemoved
public boolean isRemoved()
- Specified by:
isRemovedin interfaceio.netty.channel.ChannelHandlerContext
-
fireChannelRegistered
public io.netty.channel.ChannelHandlerContext fireChannelRegistered()
- Specified by:
fireChannelRegisteredin interfaceio.netty.channel.ChannelHandlerContext- Specified by:
fireChannelRegisteredin interfaceio.netty.channel.ChannelInboundInvoker
-
fireChannelUnregistered
public io.netty.channel.ChannelHandlerContext fireChannelUnregistered()
- Specified by:
fireChannelUnregisteredin interfaceio.netty.channel.ChannelHandlerContext- Specified by:
fireChannelUnregisteredin interfaceio.netty.channel.ChannelInboundInvoker
-
fireChannelActive
public io.netty.channel.ChannelHandlerContext fireChannelActive()
- Specified by:
fireChannelActivein interfaceio.netty.channel.ChannelHandlerContext- Specified by:
fireChannelActivein interfaceio.netty.channel.ChannelInboundInvoker
-
fireChannelInactive
public io.netty.channel.ChannelHandlerContext fireChannelInactive()
- Specified by:
fireChannelInactivein interfaceio.netty.channel.ChannelHandlerContext- Specified by:
fireChannelInactivein interfaceio.netty.channel.ChannelInboundInvoker
-
fireExceptionCaught
public io.netty.channel.ChannelHandlerContext fireExceptionCaught(Throwable cause)
- Specified by:
fireExceptionCaughtin interfaceio.netty.channel.ChannelHandlerContext- Specified by:
fireExceptionCaughtin interfaceio.netty.channel.ChannelInboundInvoker
-
fireUserEventTriggered
public io.netty.channel.ChannelHandlerContext fireUserEventTriggered(Object evt)
- Specified by:
fireUserEventTriggeredin interfaceio.netty.channel.ChannelHandlerContext- Specified by:
fireUserEventTriggeredin interfaceio.netty.channel.ChannelInboundInvoker
-
fireChannelRead
public io.netty.channel.ChannelHandlerContext fireChannelRead(Object msg)
- Specified by:
fireChannelReadin interfaceio.netty.channel.ChannelHandlerContext- Specified by:
fireChannelReadin interfaceio.netty.channel.ChannelInboundInvoker
-
fireChannelReadComplete
public io.netty.channel.ChannelHandlerContext fireChannelReadComplete()
- Specified by:
fireChannelReadCompletein interfaceio.netty.channel.ChannelHandlerContext- Specified by:
fireChannelReadCompletein interfaceio.netty.channel.ChannelInboundInvoker
-
fireChannelWritabilityChanged
public io.netty.channel.ChannelHandlerContext fireChannelWritabilityChanged()
- Specified by:
fireChannelWritabilityChangedin interfaceio.netty.channel.ChannelHandlerContext- Specified by:
fireChannelWritabilityChangedin interfaceio.netty.channel.ChannelInboundInvoker
-
bind
public io.netty.channel.ChannelFuture bind(SocketAddress localAddress)
- Specified by:
bindin interfaceio.netty.channel.ChannelOutboundInvoker
-
connect
public io.netty.channel.ChannelFuture connect(SocketAddress remoteAddress)
- Specified by:
connectin interfaceio.netty.channel.ChannelOutboundInvoker
-
connect
public io.netty.channel.ChannelFuture connect(SocketAddress remoteAddress, SocketAddress localAddress)
- Specified by:
connectin interfaceio.netty.channel.ChannelOutboundInvoker
-
disconnect
public io.netty.channel.ChannelFuture disconnect()
- Specified by:
disconnectin interfaceio.netty.channel.ChannelOutboundInvoker
-
close
public io.netty.channel.ChannelFuture close()
- Specified by:
closein interfaceio.netty.channel.ChannelOutboundInvoker
-
deregister
public io.netty.channel.ChannelFuture deregister()
- Specified by:
deregisterin interfaceio.netty.channel.ChannelOutboundInvoker
-
bind
public io.netty.channel.ChannelFuture bind(SocketAddress localAddress, io.netty.channel.ChannelPromise promise)
- Specified by:
bindin interfaceio.netty.channel.ChannelOutboundInvoker
-
connect
public io.netty.channel.ChannelFuture connect(SocketAddress remoteAddress, io.netty.channel.ChannelPromise promise)
- Specified by:
connectin interfaceio.netty.channel.ChannelOutboundInvoker
-
connect
public io.netty.channel.ChannelFuture connect(SocketAddress remoteAddress, SocketAddress localAddress, io.netty.channel.ChannelPromise promise)
- Specified by:
connectin interfaceio.netty.channel.ChannelOutboundInvoker
-
disconnect
public io.netty.channel.ChannelFuture disconnect(io.netty.channel.ChannelPromise promise)
- Specified by:
disconnectin interfaceio.netty.channel.ChannelOutboundInvoker
-
close
public io.netty.channel.ChannelFuture close(io.netty.channel.ChannelPromise promise)
- Specified by:
closein interfaceio.netty.channel.ChannelOutboundInvoker
-
deregister
public io.netty.channel.ChannelFuture deregister(io.netty.channel.ChannelPromise promise)
- Specified by:
deregisterin interfaceio.netty.channel.ChannelOutboundInvoker
-
read
public io.netty.channel.ChannelHandlerContext read()
- Specified by:
readin interfaceio.netty.channel.ChannelHandlerContext- Specified by:
readin interfaceio.netty.channel.ChannelOutboundInvoker
-
write
public io.netty.channel.ChannelFuture write(Object msg)
- Specified by:
writein interfaceio.netty.channel.ChannelOutboundInvoker
-
write
public io.netty.channel.ChannelFuture write(Object msg, io.netty.channel.ChannelPromise promise)
- Specified by:
writein interfaceio.netty.channel.ChannelOutboundInvoker
-
flush
public io.netty.channel.ChannelHandlerContext flush()
- Specified by:
flushin interfaceio.netty.channel.ChannelHandlerContext- Specified by:
flushin interfaceio.netty.channel.ChannelOutboundInvoker
-
writeAndFlush
public io.netty.channel.ChannelFuture writeAndFlush(Object msg, io.netty.channel.ChannelPromise promise)
- Specified by:
writeAndFlushin interfaceio.netty.channel.ChannelOutboundInvoker
-
writeAndFlush
public io.netty.channel.ChannelFuture writeAndFlush(Object msg)
- Specified by:
writeAndFlushin interfaceio.netty.channel.ChannelOutboundInvoker
-
newPromise
public io.netty.channel.ChannelPromise newPromise()
- Specified by:
newPromisein interfaceio.netty.channel.ChannelOutboundInvoker
-
newProgressivePromise
public io.netty.channel.ChannelProgressivePromise newProgressivePromise()
- Specified by:
newProgressivePromisein interfaceio.netty.channel.ChannelOutboundInvoker
-
newSucceededFuture
public io.netty.channel.ChannelFuture newSucceededFuture()
- Specified by:
newSucceededFuturein interfaceio.netty.channel.ChannelOutboundInvoker
-
newFailedFuture
public io.netty.channel.ChannelFuture newFailedFuture(Throwable cause)
- Specified by:
newFailedFuturein interfaceio.netty.channel.ChannelOutboundInvoker
-
voidPromise
public io.netty.channel.ChannelPromise voidPromise()
- Specified by:
voidPromisein interfaceio.netty.channel.ChannelOutboundInvoker
-
pipeline
public io.netty.channel.ChannelPipeline pipeline()
- Specified by:
pipelinein interfaceio.netty.channel.ChannelHandlerContext
-
alloc
public io.netty.buffer.ByteBufAllocator alloc()
- Specified by:
allocin interfaceio.netty.channel.ChannelHandlerContext
-
attr
public <T> io.netty.util.Attribute<T> attr(io.netty.util.AttributeKey<T> key)
- Specified by:
attrin interfaceio.netty.util.AttributeMap- Specified by:
attrin interfaceio.netty.channel.ChannelHandlerContext
-
hasAttr
public <T> boolean hasAttr(io.netty.util.AttributeKey<T> key)
- Specified by:
hasAttrin interfaceio.netty.util.AttributeMap- Specified by:
hasAttrin interfaceio.netty.channel.ChannelHandlerContext
-
-