Class DynamicAddressConnectHandler

  • All Implemented Interfaces:
    ChannelHandler

    public abstract class DynamicAddressConnectHandler
    extends Object
    implements ChannelHandler
    ChannelHandler implementation which allows to dynamically replace the used remoteAddress and / or localAddress when making a connection attempt.

    This can be useful to for example bind to a specific NetworkInterface based on the remoteAddress.