java.lang.Object
software.amazon.awssdk.http.nio.netty.internal.utils.ChannelResolver

@SdkInternalApi public final class ChannelResolver extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static io.netty.channel.ChannelFactory<? extends io.netty.channel.socket.DatagramChannel>
    resolveDatagramChannelFactory(io.netty.channel.EventLoopGroup eventLoopGroup)
    Attempts to determine the ChannelFactory class for datagram channels that corresponds to the given event loop group.
    static io.netty.channel.ChannelFactory<? extends io.netty.channel.Channel>
    resolveSocketChannelFactory(io.netty.channel.EventLoopGroup eventLoopGroup)
    Attempts to determine the ChannelFactory class that corresponds to the given event loop group.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • resolveSocketChannelFactory

      public static io.netty.channel.ChannelFactory<? extends io.netty.channel.Channel> resolveSocketChannelFactory(io.netty.channel.EventLoopGroup eventLoopGroup)
      Attempts to determine the ChannelFactory class that corresponds to the given event loop group.
      Parameters:
      eventLoopGroup - the event loop group to determine the ChannelFactory for
      Returns:
      A ChannelFactory instance for the given event loop group.
    • resolveDatagramChannelFactory

      public static io.netty.channel.ChannelFactory<? extends io.netty.channel.socket.DatagramChannel> resolveDatagramChannelFactory(io.netty.channel.EventLoopGroup eventLoopGroup)
      Attempts to determine the ChannelFactory class for datagram channels that corresponds to the given event loop group.
      Parameters:
      eventLoopGroup - the event loop group to determine the ChannelFactory for
      Returns:
      A ChannelFactory instance for the given event loop group.