Serializable, Comparable<ProcessorType>public enum ProcessorType extends Enum<ProcessorType>
| Enum Constant | Description |
|---|---|
BLACKLIST_IP |
|
BLOCK_REQUEST |
|
CHALLENGE_REQUEST |
|
DELETE_BLACKLISTED |
|
DELETE_HEADERS |
|
MODIFY_HEADERS |
|
WHITELIST_IP |
| Modifier and Type | Method | Description |
|---|---|---|
String |
getType() |
|
static ProcessorType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ProcessorType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProcessorType MODIFY_HEADERS
public static final ProcessorType DELETE_HEADERS
public static final ProcessorType BLACKLIST_IP
public static final ProcessorType CHALLENGE_REQUEST
public static final ProcessorType DELETE_BLACKLISTED
public static final ProcessorType WHITELIST_IP
public static final ProcessorType BLOCK_REQUEST
public static ProcessorType[] values()
for (ProcessorType c : ProcessorType.values()) System.out.println(c);
public static ProcessorType 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 String getType()
Copyright © 2020. All rights reserved.