Interface Router

All Known Implementing Classes:
AnnouncementsHandler, DispatchHandler, GachaHandler, GenericHandler, HttpServer.DefaultRequestRouter, HttpServer.UnhandledRequestRouter, LogHandler, RegionHandler

public interface Router
Defines routes for an Express instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    applyRoutes(express.Express express, io.javalin.Javalin handle)
    Called when the router is initialized by Express.
  • Method Details

    • applyRoutes

      void applyRoutes(express.Express express, io.javalin.Javalin handle)
      Called when the router is initialized by Express.
      Parameters:
      express - An Express instance.