public enum IpFilterRuleType extends java.lang.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(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2008–2018 The Netty Project. All rights reserved.