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
@SdkInternalApi
public abstract class DelegatingChannelHandlerContext
extends Object
implements io.netty.channel.ChannelHandlerContext
An abstract implementation of
ChannelHandlerContext that delegates to another
context for non-overridden methods.-
Constructor Summary
ConstructorsConstructorDescriptionDelegatingChannelHandlerContext(io.netty.channel.ChannelHandlerContext delegate) -
Method Summary
Modifier and TypeMethodDescriptionio.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.ChannelFutureio.netty.channel.ChannelFuturederegister(io.netty.channel.ChannelPromise promise) io.netty.channel.ChannelFutureio.netty.channel.ChannelFuturedisconnect(io.netty.channel.ChannelPromise promise) io.netty.util.concurrent.EventExecutorexecutor()io.netty.channel.ChannelHandlerContextio.netty.channel.ChannelHandlerContextio.netty.channel.ChannelHandlerContextfireChannelRead(Object msg) io.netty.channel.ChannelHandlerContextio.netty.channel.ChannelHandlerContextio.netty.channel.ChannelHandlerContextio.netty.channel.ChannelHandlerContextio.netty.channel.ChannelHandlerContextfireExceptionCaught(Throwable cause) io.netty.channel.ChannelHandlerContextio.netty.channel.ChannelHandlerContextflush()io.netty.channel.ChannelHandlerhandler()<T> booleanhasAttr(io.netty.util.AttributeKey<T> key) booleanname()io.netty.channel.ChannelFuturenewFailedFuture(Throwable cause) io.netty.channel.ChannelProgressivePromiseio.netty.channel.ChannelPromiseio.netty.channel.ChannelFutureio.netty.channel.ChannelPipelinepipeline()io.netty.channel.ChannelHandlerContextread()io.netty.channel.ChannelPromiseio.netty.channel.ChannelFutureio.netty.channel.ChannelFutureio.netty.channel.ChannelFuturewriteAndFlush(Object msg) io.netty.channel.ChannelFuturewriteAndFlush(Object msg, io.netty.channel.ChannelPromise promise)
-
Constructor Details
-
DelegatingChannelHandlerContext
public DelegatingChannelHandlerContext(io.netty.channel.ChannelHandlerContext delegate)
-
-
Method Details
-
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
- 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
- Specified by:
fireExceptionCaughtin interfaceio.netty.channel.ChannelHandlerContext- Specified by:
fireExceptionCaughtin interfaceio.netty.channel.ChannelInboundInvoker
-
fireUserEventTriggered
- Specified by:
fireUserEventTriggeredin interfaceio.netty.channel.ChannelHandlerContext- Specified by:
fireUserEventTriggeredin interfaceio.netty.channel.ChannelInboundInvoker
-
fireChannelRead
- 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
- Specified by:
bindin interfaceio.netty.channel.ChannelOutboundInvoker
-
connect
- 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
- Specified by:
writein interfaceio.netty.channel.ChannelOutboundInvoker
-
write
- 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
- 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
- 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
-