Enum Class PayloadRouter.Route

java.lang.Object
java.lang.Enum<PayloadRouter.Route>
org.apache.tika.pipes.core.fetcher.PayloadRouter.Route
All Implemented Interfaces:
Serializable, Comparable<PayloadRouter.Route>, Constable
Enclosing class:
PayloadRouter

public static enum PayloadRouter.Route extends Enum<PayloadRouter.Route>
  • Enum Constant Details

    • EXISTING_FILE

      public static final PayloadRouter.Route EXISTING_FILE
      Already on disk; the worker opens that file and nothing is copied.
    • INLINE

      public static final PayloadRouter.Route INLINE
      Small enough to travel inside the request.
    • SPOOLED

      public static final PayloadRouter.Route SPOOLED
      Too large to inline; written once to a file the worker can reach.
  • Method Details

    • values

      public static PayloadRouter.Route[] 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 PayloadRouter.Route 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