public enum IpFilterTag extends Enum<IpFilterTag>
Enum Constant and Description |
---|
DEFAULT
Enum value Default.
|
XFF_PROXY
Enum value XffProxy.
|
Modifier and Type | Method and Description |
---|---|
static IpFilterTag |
fromString(String value)
Parses a serialized value to a IpFilterTag instance.
|
String |
toString() |
static IpFilterTag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IpFilterTag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IpFilterTag DEFAULT
public static final IpFilterTag XFF_PROXY
public static IpFilterTag[] values()
for (IpFilterTag c : IpFilterTag.values()) System.out.println(c);
public static IpFilterTag 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 nullpublic static IpFilterTag fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<IpFilterTag>
Copyright © 2019. All rights reserved.