Top Description Interfaces Classes Enums
module io.netty5.handler

Package io.netty5.handler.ipfilter


Package to filter IP addresses (allow/deny).

Interface Summary

Modifier and TypeInterface and Description
public interface
IpFilterRule

Implement this interface to create new rules.

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractRemoteAddressFilter<T extends SocketAddress>

This class provides the functionality to either accept or reject new Channels based on their IP address.

public class
IpSubnetFilter

This class allows one to filter new Channels based on the IpSubnetFilters passed to its constructor.

public class
IpSubnetFilterRule

Use this class to create rules for RuleBasedIpFilter that group IP addresses into subnets.

pack-priv class
IpSubnetFilterRuleComparator

This comparator is only used for searching.

public class
RuleBasedIpFilter

This class allows one to filter new Channels based on the IpFilterRules passed to its constructor.

public class
UniqueIpFilter

This class allows one to ensure that at all times for every IP address there is at most one Channel connected to the server.

Enum Summary

Modifier and TypeEnum and Description
public enum
IpFilterRuleType

Used in IpFilterRule to decide if a matching IP Address should be allowed or denied to connect.