Class DispatchHandler

java.lang.Object
emu.grasscutter.server.http.dispatch.DispatchHandler
All Implemented Interfaces:
Router

public final class DispatchHandler extends Object implements Router
Handles requests related to authentication. (aka dispatch)
  • Constructor Details

    • DispatchHandler

      public DispatchHandler()
  • Method Details

    • applyRoutes

      public void applyRoutes(express.Express express, io.javalin.Javalin handle)
      Description copied from interface: Router
      Called when the router is initialized by Express.
      Specified by:
      applyRoutes in interface Router
      Parameters:
      express - An Express instance.