public enum RequestType extends Enum<RequestType>
| Enum Constant and Description |
|---|
NEGOTIATE_FLOWFILE_CODEC |
RECEIVE_FLOWFILES |
REQUEST_PEER_LIST |
SEND_FLOWFILES |
SHUTDOWN |
| Modifier and Type | Method and Description |
|---|---|
static RequestType |
readRequestType(DataInputStream dis) |
static RequestType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RequestType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
writeRequestType(DataOutputStream dos) |
public static final RequestType NEGOTIATE_FLOWFILE_CODEC
public static final RequestType REQUEST_PEER_LIST
public static final RequestType SEND_FLOWFILES
public static final RequestType RECEIVE_FLOWFILES
public static final RequestType SHUTDOWN
public static RequestType[] values()
for (RequestType c : RequestType.values()) System.out.println(c);
public static RequestType 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 void writeRequestType(DataOutputStream dos) throws IOException
IOExceptionpublic static RequestType readRequestType(DataInputStream dis) throws IOException
IOExceptionCopyright © 2023 Apache NiFi Project. All rights reserved.