Class HttpJsonResponse

java.lang.Object
emu.grasscutter.server.http.objects.HttpJsonResponse
All Implemented Interfaces:
express.http.HttpContextHandler

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

    • HttpJsonResponse

      public HttpJsonResponse(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