Package emu.grasscutter.server.http
Class HttpServer.UnhandledRequestRouter
java.lang.Object
emu.grasscutter.server.http.HttpServer.UnhandledRequestRouter
- All Implemented Interfaces:
Router
- Enclosing class:
- HttpServer
Handles unhandled endpoints on the Express application.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyRoutes(io.javalin.Javalin javalin) Called when the router is initialized by Express.
-
Constructor Details
-
UnhandledRequestRouter
public UnhandledRequestRouter()
-
-
Method Details
-
applyRoutes
public void applyRoutes(io.javalin.Javalin javalin) Description copied from interface:RouterCalled when the router is initialized by Express.- Specified by:
applyRoutesin interfaceRouter- Parameters:
javalin- A Javalin instance.
-