Enum Class RequestType

java.lang.Object
java.lang.Enum<RequestType>
org.apache.nifi.remote.protocol.RequestType
All Implemented Interfaces:
Serializable, Comparable<RequestType>, Constable

public enum RequestType extends Enum<RequestType>
  • Enum Constant Details

    • NEGOTIATE_FLOWFILE_CODEC

      public static final RequestType NEGOTIATE_FLOWFILE_CODEC
    • REQUEST_PEER_LIST

      public static final RequestType REQUEST_PEER_LIST
    • SEND_FLOWFILES

      public static final RequestType SEND_FLOWFILES
    • RECEIVE_FLOWFILES

      public static final RequestType RECEIVE_FLOWFILES
    • SHUTDOWN

      public static final RequestType SHUTDOWN
  • Constructor Details

    • RequestType

      private RequestType()
  • Method Details

    • values

      public static RequestType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static RequestType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • writeRequestType

      public void writeRequestType(DataOutputStream dos) throws IOException
      Throws:
      IOException
    • readRequestType

      public static RequestType readRequestType(DataInputStream dis) throws IOException
      Throws:
      IOException