Class ChannelResolver
- java.lang.Object
-
- software.amazon.awssdk.http.nio.netty.internal.utils.ChannelResolver
-
public final class ChannelResolver extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods 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 theChannelFactoryclass 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 theChannelFactoryclass that corresponds to the given event loop group.
-
-
-
Method Detail
-
resolveSocketChannelFactory
public static io.netty.channel.ChannelFactory<? extends io.netty.channel.Channel> resolveSocketChannelFactory(io.netty.channel.EventLoopGroup eventLoopGroup)
Attempts to determine theChannelFactoryclass that corresponds to the given event loop group.- Parameters:
eventLoopGroup- the event loop group to determine theChannelFactoryfor- Returns:
- A
ChannelFactoryinstance 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 theChannelFactoryclass for datagram channels that corresponds to the given event loop group.- Parameters:
eventLoopGroup- the event loop group to determine theChannelFactoryfor- Returns:
- A
ChannelFactoryinstance for the given event loop group.
-
-