Class VertxHandler

java.lang.Object
io.jooby.vertx.VertxHandler
All Implemented Interfaces:
io.jooby.Route.Aware, io.jooby.Route.Filter, io.jooby.Route.Reactive

public class VertxHandler extends Object implements io.jooby.Route.Reactive
A handler/filter that know how to handle Vertx types like:
  • Future
  • Promise
  • AsyncFile
Since:
4.0.8
Author:
edgar
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    io.jooby.Route.Handler
    apply(io.jooby.Route.Handler next)
     
    static io.jooby.Route.Filter
    Handle vertx types like: Future, Promise AsyncFile and Buffer.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.jooby.Route.Aware

    setRoute

    Methods inherited from interface io.jooby.Route.Filter

    then, then
  • Constructor Details

    • VertxHandler

      public VertxHandler()
      Default constructor.
  • Method Details

    • apply

      public io.jooby.Route.Handler apply(io.jooby.Route.Handler next)
      Specified by:
      apply in interface io.jooby.Route.Filter
    • vertx

      public static io.jooby.Route.Filter vertx()
      Handle vertx types like: Future, Promise AsyncFile and Buffer.
      Returns:
      Vertx filter.