Class GenericHandler
java.lang.Object
emu.grasscutter.server.http.handlers.GenericHandler
- All Implemented Interfaces:
Router
Handles all generic, hard-coded responses.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyRoutes(express.Express express, io.javalin.Javalin handle) Called when the router is initialized by Express.
-
Constructor Details
-
GenericHandler
public GenericHandler()
-
-
Method Details
-
applyRoutes
public void applyRoutes(express.Express express, io.javalin.Javalin handle) Description copied from interface:RouterCalled when the router is initialized by Express.- Specified by:
applyRoutesin interfaceRouter- Parameters:
express- An Express instance.
-