Enum Class RouteBuildItem.HandlerType

java.lang.Object
java.lang.Enum<RouteBuildItem.HandlerType>
io.quarkus.vertx.http.deployment.spi.RouteBuildItem.HandlerType
All Implemented Interfaces:
Serializable, Comparable<RouteBuildItem.HandlerType>, Constable
Enclosing class:
RouteBuildItem

public static enum RouteBuildItem.HandlerType extends Enum<RouteBuildItem.HandlerType>
The type of route handler
  • Enum Constant Details

    • NORMAL

      public static final RouteBuildItem.HandlerType NORMAL
      A regular route handler invoked on the event loop.
      See Also:
      • Route.handler(Handler)
    • BLOCKING

      public static final RouteBuildItem.HandlerType BLOCKING
      A blocking route handler, invoked on a worker thread.
      See Also:
      • Route.blockingHandler(Handler)
    • FAILURE

      public static final RouteBuildItem.HandlerType FAILURE
      A failure handler, invoked when an exception is thrown from a route handler. This is invoked on the event loop.
      See Also:
      • Route.failureHandler(Handler)
  • Method Details

    • values

      public static RouteBuildItem.HandlerType[] 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 RouteBuildItem.HandlerType 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