Class DispatchHttpJsonHandler

java.lang.Object
emu.grasscutter.server.dispatch.DispatchHttpJsonHandler
All Implemented Interfaces:
express.http.HttpContextHandler

public final class DispatchHttpJsonHandler extends Object implements express.http.HttpContextHandler
  • Constructor Details

    • DispatchHttpJsonHandler

      public DispatchHttpJsonHandler(String response)
  • Method Details

    • handle

      public void handle(express.http.Request req, express.http.Response res) throws IOException
      Specified by:
      handle in interface express.http.HttpContextHandler
      Throws:
      IOException