Class MediaHub

java.lang.Object
io.vertx.up.uca.rs.router.MediaHub
All Implemented Interfaces:
Hub<io.vertx.ext.web.Route>

public class MediaHub extends Object implements Hub<io.vertx.ext.web.Route>
Hub for mime type Producer/Consumer register to route to generate mime support
  • Constructor Details

    • MediaHub

      public MediaHub()
  • Method Details

    • mount

      public void mount(io.vertx.ext.web.Route route, Event event)
      Description copied from interface: Hub
      Route mount
      Specified by:
      mount in interface Hub<io.vertx.ext.web.Route>
      Parameters:
      route - The route reference
      event - The route configuration data object