Class GenericHandler

java.lang.Object
emu.grasscutter.server.http.handlers.GenericHandler
All Implemented Interfaces:
Router

public final class GenericHandler extends Object implements Router
Handles all generic, hard-coded responses.
  • Constructor Details

    • GenericHandler

      public GenericHandler()
  • 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.