public enum IpFilterRuleType extends Enum<IpFilterRuleType>
IpFilterRule to decide if a matching IP Address should be allowed or denied to connect.| Modifier and Type | Method and Description |
|---|---|
static IpFilterRuleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IpFilterRuleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IpFilterRuleType ACCEPT
public static final IpFilterRuleType REJECT
public static IpFilterRuleType[] values()
for (IpFilterRuleType c : IpFilterRuleType.values()) System.out.println(c);
public static IpFilterRuleType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2008–2016 The Netty Project. All rights reserved.