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 of ChannelHandlerContext that delegates to another context for non-overridden methods.
  • Constructor Details

    • DelegatingChannelHandlerContext

      public DelegatingChannelHandlerContext(io.netty.channel.ChannelHandlerContext delegate)
  • Method Details

    • channel

      public io.netty.channel.Channel channel()
      Specified by:
      channel in interface io.netty.channel.ChannelHandlerContext
    • executor

      public io.netty.util.concurrent.EventExecutor executor()
      Specified by:
      executor in interface io.netty.channel.ChannelHandlerContext
    • name

      public String name()
      Specified by:
      name in interface io.netty.channel.ChannelHandlerContext
    • handler

      public io.netty.channel.ChannelHandler handler()
      Specified by:
      handler in interface io.netty.channel.ChannelHandlerContext
    • isRemoved

      public boolean isRemoved()
      Specified by:
      isRemoved in interface io.netty.channel.ChannelHandlerContext
    • fireChannelRegistered

      public io.netty.channel.ChannelHandlerContext fireChannelRegistered()
      Specified by:
      fireChannelRegistered in interface io.netty.channel.ChannelHandlerContext
      Specified by:
      fireChannelRegistered in interface io.netty.channel.ChannelInboundInvoker
    • fireChannelUnregistered

      public io.netty.channel.ChannelHandlerContext fireChannelUnregistered()
      Specified by:
      fireChannelUnregistered in interface io.netty.channel.ChannelHandlerContext
      Specified by:
      fireChannelUnregistered in interface io.netty.channel.ChannelInboundInvoker
    • fireChannelActive

      public io.netty.channel.ChannelHandlerContext fireChannelActive()
      Specified by:
      fireChannelActive in interface io.netty.channel.ChannelHandlerContext
      Specified by:
      fireChannelActive in interface io.netty.channel.ChannelInboundInvoker
    • fireChannelInactive

      public io.netty.channel.ChannelHandlerContext fireChannelInactive()
      Specified by:
      fireChannelInactive in interface io.netty.channel.ChannelHandlerContext
      Specified by:
      fireChannelInactive in interface io.netty.channel.ChannelInboundInvoker
    • fireExceptionCaught

      public io.netty.channel.ChannelHandlerContext fireExceptionCaught(Throwable cause)
      Specified by:
      fireExceptionCaught in interface io.netty.channel.ChannelHandlerContext
      Specified by:
      fireExceptionCaught in interface io.netty.channel.ChannelInboundInvoker
    • fireUserEventTriggered

      public io.netty.channel.ChannelHandlerContext fireUserEventTriggered(Object evt)
      Specified by:
      fireUserEventTriggered in interface io.netty.channel.ChannelHandlerContext
      Specified by:
      fireUserEventTriggered in interface io.netty.channel.ChannelInboundInvoker
    • fireChannelRead

      public io.netty.channel.ChannelHandlerContext fireChannelRead(Object msg)
      Specified by:
      fireChannelRead in interface io.netty.channel.ChannelHandlerContext
      Specified by:
      fireChannelRead in interface io.netty.channel.ChannelInboundInvoker
    • fireChannelReadComplete

      public io.netty.channel.ChannelHandlerContext fireChannelReadComplete()
      Specified by:
      fireChannelReadComplete in interface io.netty.channel.ChannelHandlerContext
      Specified by:
      fireChannelReadComplete in interface io.netty.channel.ChannelInboundInvoker
    • fireChannelWritabilityChanged

      public io.netty.channel.ChannelHandlerContext fireChannelWritabilityChanged()
      Specified by:
      fireChannelWritabilityChanged in interface io.netty.channel.ChannelHandlerContext
      Specified by:
      fireChannelWritabilityChanged in interface io.netty.channel.ChannelInboundInvoker
    • bind

      public io.netty.channel.ChannelFuture bind(SocketAddress localAddress)
      Specified by:
      bind in interface io.netty.channel.ChannelOutboundInvoker
    • connect

      public io.netty.channel.ChannelFuture connect(SocketAddress remoteAddress)
      Specified by:
      connect in interface io.netty.channel.ChannelOutboundInvoker
    • connect

      public io.netty.channel.ChannelFuture connect(SocketAddress remoteAddress, SocketAddress localAddress)
      Specified by:
      connect in interface io.netty.channel.ChannelOutboundInvoker
    • disconnect

      public io.netty.channel.ChannelFuture disconnect()
      Specified by:
      disconnect in interface io.netty.channel.ChannelOutboundInvoker
    • close

      public io.netty.channel.ChannelFuture close()
      Specified by:
      close in interface io.netty.channel.ChannelOutboundInvoker
    • deregister

      public io.netty.channel.ChannelFuture deregister()
      Specified by:
      deregister in interface io.netty.channel.ChannelOutboundInvoker
    • bind

      public io.netty.channel.ChannelFuture bind(SocketAddress localAddress, io.netty.channel.ChannelPromise promise)
      Specified by:
      bind in interface io.netty.channel.ChannelOutboundInvoker
    • connect

      public io.netty.channel.ChannelFuture connect(SocketAddress remoteAddress, io.netty.channel.ChannelPromise promise)
      Specified by:
      connect in interface io.netty.channel.ChannelOutboundInvoker
    • connect

      public io.netty.channel.ChannelFuture connect(SocketAddress remoteAddress, SocketAddress localAddress, io.netty.channel.ChannelPromise promise)
      Specified by:
      connect in interface io.netty.channel.ChannelOutboundInvoker
    • disconnect

      public io.netty.channel.ChannelFuture disconnect(io.netty.channel.ChannelPromise promise)
      Specified by:
      disconnect in interface io.netty.channel.ChannelOutboundInvoker
    • close

      public io.netty.channel.ChannelFuture close(io.netty.channel.ChannelPromise promise)
      Specified by:
      close in interface io.netty.channel.ChannelOutboundInvoker
    • deregister

      public io.netty.channel.ChannelFuture deregister(io.netty.channel.ChannelPromise promise)
      Specified by:
      deregister in interface io.netty.channel.ChannelOutboundInvoker
    • read

      public io.netty.channel.ChannelHandlerContext read()
      Specified by:
      read in interface io.netty.channel.ChannelHandlerContext
      Specified by:
      read in interface io.netty.channel.ChannelOutboundInvoker
    • write

      public io.netty.channel.ChannelFuture write(Object msg)
      Specified by:
      write in interface io.netty.channel.ChannelOutboundInvoker
    • write

      public io.netty.channel.ChannelFuture write(Object msg, io.netty.channel.ChannelPromise promise)
      Specified by:
      write in interface io.netty.channel.ChannelOutboundInvoker
    • flush

      public io.netty.channel.ChannelHandlerContext flush()
      Specified by:
      flush in interface io.netty.channel.ChannelHandlerContext
      Specified by:
      flush in interface io.netty.channel.ChannelOutboundInvoker
    • writeAndFlush

      public io.netty.channel.ChannelFuture writeAndFlush(Object msg, io.netty.channel.ChannelPromise promise)
      Specified by:
      writeAndFlush in interface io.netty.channel.ChannelOutboundInvoker
    • writeAndFlush

      public io.netty.channel.ChannelFuture writeAndFlush(Object msg)
      Specified by:
      writeAndFlush in interface io.netty.channel.ChannelOutboundInvoker
    • newPromise

      public io.netty.channel.ChannelPromise newPromise()
      Specified by:
      newPromise in interface io.netty.channel.ChannelOutboundInvoker
    • newProgressivePromise

      public io.netty.channel.ChannelProgressivePromise newProgressivePromise()
      Specified by:
      newProgressivePromise in interface io.netty.channel.ChannelOutboundInvoker
    • newSucceededFuture

      public io.netty.channel.ChannelFuture newSucceededFuture()
      Specified by:
      newSucceededFuture in interface io.netty.channel.ChannelOutboundInvoker
    • newFailedFuture

      public io.netty.channel.ChannelFuture newFailedFuture(Throwable cause)
      Specified by:
      newFailedFuture in interface io.netty.channel.ChannelOutboundInvoker
    • voidPromise

      public io.netty.channel.ChannelPromise voidPromise()
      Specified by:
      voidPromise in interface io.netty.channel.ChannelOutboundInvoker
    • pipeline

      public io.netty.channel.ChannelPipeline pipeline()
      Specified by:
      pipeline in interface io.netty.channel.ChannelHandlerContext
    • alloc

      public io.netty.buffer.ByteBufAllocator alloc()
      Specified by:
      alloc in interface io.netty.channel.ChannelHandlerContext
    • attr

      public <T> io.netty.util.Attribute<T> attr(io.netty.util.AttributeKey<T> key)
      Specified by:
      attr in interface io.netty.util.AttributeMap
      Specified by:
      attr in interface io.netty.channel.ChannelHandlerContext
    • hasAttr

      public <T> boolean hasAttr(io.netty.util.AttributeKey<T> key)
      Specified by:
      hasAttr in interface io.netty.util.AttributeMap
      Specified by:
      hasAttr in interface io.netty.channel.ChannelHandlerContext